IMPORTANCE The use of medical imaging has sharply increased over the last 2 decades. Imaging rates during pregnancy have not been quantified in a large, multisite study setting. OBJECTIVE To evaluate patterns of medical imaging during pregnancy. DESIGN, SETTING, AND PARTICIPANTS A retrospective cohort study was performed at 6 US integrated health care systems and in Ontario, Canada. Participants included pregnant women who gave birth to a live neonate of at least 24 weeks' gestation between January 1, 1996, and December 31, 2016, and who were enrolled in the health care system for the entire pregnancy. EXPOSURES Computed tomography (CT), magnetic resonance imaging, conventional radiography, angiography and fluoroscopy, and nuclear medicine. MAIN OUTCOMES AND MEASURES Imaging rates per pregnancy stratified by country and year of child's birth. RESULTS A total of 3 497 603 pregnancies in 2 211 789 women were included. Overall, 26% of pregnancies were from US sites. Most (92%) were in women aged 20 to 39 years, and 85% resulted in full-term births. Computed tomography imaging rates in the United States increased from 2.0 examinations/1000 pregnancies in 1996 to 11.4/1000 pregnancies in 2007, remained stable through 2010, and decreased to 9.3/1000 pregnancies by 2016, for an overall increase of 3.7-fold. Computed tomography rates in Ontario, Canada, increased more gradually by 2.0-fold, from 2.0/1000 pregnancies in 1996 to 6.2/1000 pregnancies in 2016, which was 33% lower than in the United States. Overall, 5.3% of pregnant women in US sites and 3.6% in Ontario underwent imaging with ionizing radiation, and 0.8% of women at US sites and 0.4% in Ontario underwent CT. Magnetic