By immunising all children with measles vaccine. This is usually given at 9 months and again at 18 months. Measles vaccine is a highly effective and has resulted in the disappearance of measles in many communities. Measles, mumps and rubella vaccines (MMR) are often combined and given together.
Clinical measles can be prevented in an unimmunised child if measles vaccine is given within 12 hours of exposure to a child with measles.