Breast milk is of great benefit to both infants and mothers. Due to occupational barriers, female physicians are at high risk of unintentionally discontinuing breastfeeding. However, evidence among anesthesiologists was limited. The purpose of this study was to investigate occupational factors associated with time to breastfeeding discontinuation among female anesthesiologists following maternity leave in China. We conducted a nationwide survey of female anesthesiologists who had given birth since January 1, 2015. A 60-item anonymous questionnaire was developed to collect information regarding breastfeeding practices and related factors. The questionnaire was revised based on the recommendations of 15 experts and feedback from the pilot survey. The survey was distributed by the Chinese Society of Anesthesiology. The completion rate was 57.9%. In total, 1364 responders were analyzed from all 31 provinces of Mainland China. In total, 1311 (96.1%) responders reported a reduction in breast milk supply on returning to work. Among the 1161 responders who discontinued breastfeeding, 836 (72.0%) did not achieve desired goals due to occupational factors. The median [interquartile range] of maternity leave length and breastfeeding duration were 5 [4-6] months and 10 [7-12] months, respectively. The following occupational factors were associated with longer time to breastfeeding discontinuation after adjusting for confounding effects of personal factors: length of maternity leave (hazard ratio [HR] per month 0.44; 95% confidence interval [CI], 0.36-0.54; P < .001), pumping breast milk during work time (HR, 0.04; 95% CI, 0.02-0.08; P < .001), support from colleagues (HR, 0.92; 95% CI, 0.86-0.99; P = .032), and additional nonclinical activities (HR, 0.87; 95% CI, 0.77-0.98; P = .022). Trainees under supervision (HR, 1.20; 95% CI, 1.06-1.43; P = .005) and the need to remain in the operating room during cases (HR, 2.59; 95% CI, 1.09-6.12; P = .031) were associated with shorter time to breastfeeding discontinuation. Approximately 899 (65.9%) responders pumped breast milk during work time. Among them, reduction in pumping frequency (HR, 1.17; 95% CI, 1.00-1.36; P = .049) and difficulty in finding opportunities for pumping (HR, 2.34; 95% CI, 1.36-4.03; P = .002) were associated with shorter time to breastfeeding discontinuation. We identified modifiable occupational factors associated with time to breastfeeding discontinuation. These findings underscored the necessity of facilitating breastfeeding in the workplace, including encouraging longer maternity leave and breastfeeding breaks, considering the feasibility of pumping in daily case assignments, establishing supportive culture, providing lactation rooms, and offering nonclinical activities.