Objective  To determine whether vaccines, particularly those for hepatitis B (HepB) and human papillomavirus (HPV), increase the risk of MS or other CNS ADS.

Design, Setting, and Participants  A nested case-control study was conducted using data obtained from the complete electronic health records of Kaiser Permanente Southern California (KPSC) members. Cases were identified through the KPSC CNS ADS cohort between 2008 and 2011, which included extensive review of medical records by an MS specialist. Five controls per case were matched on age, sex, and zip code.

Exposures  Vaccination of any type (particularly HepB and HPV) identified through the electronic vaccination records system.

Main Outcomes and Measures  All forms of CNS ADS were analyzed using conditional logistic regression adjusted for race/ethnicity, health care utilization, comorbid diseases, and infectious illnesses before symptom onset.

Results  We identified 780 incident cases of CNS ADS and 3885 controls; 92 cases and 459 controls were females aged 9 to 26 years, which is the indicated age range for HPV vaccination. There were no associations between HepB vaccination (odds ratio [OR], 1.12; 95% CI, 0.72-1.73), HPV vaccination (OR, 1.05; 95% CI, 0.62-1.78), or any vaccination (OR, 1.03; 95% CI, 0.86-1.22) and the risk of CNS ADS up to 3 years later. Vaccination of any type was associated with an increased risk of CNS ADS onset within the first 30 days after vaccination only in younger (<50 years) individuals (OR, 2.32; 95% CI, 1.18-4.57).

Conclusions and Relevance  We found no longer-term association of vaccines with MS or any other CNS ADS, which argues against a causal association. The short-term increase in risk suggests that vaccines may accelerate the transition from subclinical to overt autoimmunity in patients with existing disease. Our findings support clinical anecdotes of CNS ADS symptom onset shortly after vaccination but do not suggest a need for a change in vaccine policy.