ImportanceHigh-risk infants, defined as newborns with substantial neonatal-perinatal morbidities, often undergo multiple procedures and require prolonged intubation, resulting in extended opioid exposure that is associated with poor outcomes. Understanding variation in opioid prescribing can inform quality improvement and best-practice initiatives.ObjectiveTo examine regional and institutional variation in opioid prescribing, including short- and long-acting agents, in high-risk hospitalized infants.Design, Setting, and ParticipantsThis retrospective cohort study assessed high-risk infants younger than 1 year from January 1, 2016, to December 31, 2022, at 47 children’s hospitals participating in the Pediatric Health Information System (PHIS). The cohort was stratified by US Census region (Northeast, South, Midwest, and West). Variation in cumulative days of opioid exposure and methadone treatment was examined among institutions using a hierarchical generalized linear model. High-risk infants were identified by International Statistical Classification of Diseases and Related Health Problems, Tenth Revision codes for congenital heart disease surgery, medical and surgical necrotizing enterocolitis, extremely low birth weight, very low birth weight, hypoxemic ischemic encephalopathy, extracorporeal membrane oxygenation, and other abdominal surgery. Infants with neonatal opioid withdrawal syndrome, in utero substance exposure, or malignant tumors were excluded.ExposureAny opioid exposure and methadone treatment.Main Outcomes and MeasuresRegional and institutional variations in opioid exposure.ResultsOverall, 132 658 high-risk infants were identified (median [IQR] gestational age, 34 [28-38] weeks; 54.5% male). Prematurity occurred in 30.3%, and 55.3% underwent surgery. During hospitalization, 76.5% of high-risk infants were exposed to opioids and 7.9% received methadone. Median (IQR) length of any opioid exposure was 5 (2-12) cumulative days, and median (IQR) length of methadone treatment was 19 (7-46) cumulative days. There was significant hospital-level variation in opioid and methadone exposure and cumulative days of exposure within each US region. The computed intraclass correlation coefficient estimated that 16% of the variability in overall opioid prescribing and 20% of the variability in methadone treatment was attributed to the individual hospital.Conclusions and RelevanceIn this retrospective cohort study of high-risk hospitalized infants, institution-level variation in overall opioid exposure and methadone treatment persisted across the US. These findings highlight the need for standardization of opioid prescribing in this vulnerable population.