Objective To compare incidence rates of selected opportunistic infections among children with and children without juvenile idiopathic arthritis (JIA). Methods Using US national Medicaid administrative claims data from 2000 through 2005, we identified a cohort of children with JIA based on physician diagnosis codes and dispensed medications. We also identified a non-JIA comparator cohort of children diagnosed as having attention deficit hyperactivity disorder (ADHD). We defined 15 types of opportunistic infection using physician diagnosis or hospital discharge codes; criteria for 7 of these types also included evidence of treatment with specific antimicrobial agents. We calculated infection incidence rates. The rates in the ADHD comparator cohort were standardized to the age, sex, and race distribution of the JIA cohort. We calculated incidence rate ratios (IRRs) with 95% confidence intervals (95% CIs) to compare infection rates. Results The JIA cohort included 8,503 children with 13,990 person-years of followup. The ADHD comparator cohort included 360,362 children with 477,050 person-years of followup. When all opportunistic infections were considered together as a single outcome, there were 42 infections in the JIA cohort (incidence rate 300 per 100,000 person-years; IRR 2.4 [95% CI 1.7-3.3] versus ADHD). The most common opportunistic infections among children with JIA were 3 cases of Coccidioides (incidence rate 21 per 100,000 person-years; IRR 101 [95% CI 8.1-5,319] versus ADHD), 5 cases of Salmonella (incidence rate 35 per 100,000 person-years; IRR 3.8 [95% CI 1.2-9.5]), and 32 cases of herpes zoster (incidence rate 225 per 100,000 person-years; IRR 2.1 [95% CI 1.4-3.0]). Conclusion Opportunistic infections are rare among children with JIA. Nevertheless, children with JIA had a higher rate of opportunistic infections, including an increased rate of Coccidioides, Salmonella, and herpes zoster compared to children with ADHD. Copyright © 2013 by the American College of Rheumatology.