The tetanus vaccine is administered via intramuscular injection. In infants and young children, it is typically injected into the vastus lateralis muscle on the outer thigh, while in adults, it is injected into the deltoid muscle of the upper arm.