The hepatitis B vaccine is a safe and effective vaccine that is recommended for all infants at birth and for children up to 18 years. The hepatitis B vaccine is also recommended for adults living and those at high risk for infection due to their jobs, lifestyle, living situations, or country of birth. Since everyone is at some risk, all adults should seriously consider getting.