ImportanceThe incidence of early-onset colorectal cancer (CRC), diagnosed younger than 50 years of age, has increased worldwide. Gut dysbiosis throughout the life course is hypothesized as a leading mechanism, yet epidemiologic data are limited.ObjectiveTo prospectively examine the association between birth by cesarean delivery and early-onset CRC among offspring.Design, Setting, and ParticipantsIn this population-based, nationwide case-control study in Sweden, adults diagnosed with CRC between 18 and 49 years of age from 1991 to 2017 were identified through the Epidemiology Strengthened by Histopathology Reports in Sweden (ESPRESSO) cohort. Up to 5 general population control individuals without CRC were matched with each case on age, sex, calendar year, and county of residence. Pathology-confirmed end points were linked with the Swedish Medical Birth Register and other national registers. Analyses were conducted from March 2022 through March 2023.ExposureBirth by cesarean delivery.Main Outcomes and MeasuresThe primary outcome was development of early-onset CRC in the overall population and by sex.ResultsWe identified 564 case patients with incident early-onset CRC (mean [SD] age, 32.9 [6.2] years; 284 [50.4%] male) and 2180 matched controls (mean [SD] age, 32.7 [6.3] years; 1104 [50.6%] male). Compared with vaginal delivery, birth by cesarean delivery was not associated with early-onset CRC in the overall population (adjusted odds ratio [aOR], 1.28; 95% CI, 0.91-1.79) after multivariable adjustment for matching and maternal and pregnancy-related factors. A positive association was found for females (aOR, 1.62; 95% CI, 1.01-2.60), but there was no association for males (aOR, 1.05; 95% CI, 0.64-1.72).Conclusions and RelevanceIn this nationwide, population-based case-control study, birth by cesarean delivery was not associated with early-onset CRC compared with birth by vaginal delivery in the overall population in Sweden. However, females born by cesarean delivery had greater odds of early-onset CRC compared with individuals born through vaginal delivery. This finding suggests that early-life gut dysbiosis may contribute to early-onset CRC in females.