Vaccines have made encephalitis from some diseases much less common. These diseases include measles, mumps, rubella (German measles), polio, varicella (chicken pox), and pertussis (whooping cough). There are also vaccines for rabies, bacterial meningitis, Japanese encephalitis, Human Papillomavirus (HPV), and some other diseases that can cause encephalitis.