The hepatitis B vaccine is administered as an intramuscular injection, usually in the upper arm for adults and older children, and in the thigh for infants. The typical schedule involves three doses given at 0, 1, and 6 months. Some accelerated schedules are also available for people who need rapid protection.