Vaccination is the most effective way to avoid getting the measles. Studies show that two doses of measles, mumps and rubella (MMR) vaccine are about 97% effective against measles and that protection is long lasting. Most people receive MMR vaccine as a child. The CDC recommends children receive two doses of the vaccine. The first dose is recommended at ages 12 to 15 months and the second dose at ages 4 to 6 years.
A person has a high level of protection against measles if they’ve had two doses of the MMR vaccine or were born before 1957, which was prior to the vaccine when most people had measles as children and developed immunity.