Background Patients with opioid use disorder (OUD) who are hospitalized for serious infections requiring prolonged intravenous antibiotics may face barriers to discharge, which could prolong hospital length of stay (LOS) and increase financial burden. We investigated differences in LOS, discharge disposition, and charges between hospitalizations for serious infections in patients with and without OUD. Methods and findings We utilized the 2016 National Inpatient Sample-a nationally representative database of all discharges from US acute care hospitals. The population of interest was all hospitalizations for infective endocarditis, epidural abscess, septic arthritis, or osteomyelitis. The exposure was OUD, and the primary outcome was LOS until discharge, assessed by using a competing risks analysis to estimate adjusted hazard ratios (aHRs). Adjusted odds ratio (aOR) of discharge disposition and adjusted differences in hospital charges were also reported. Of 95,470 estimated hospitalizations for serious infections (infective endocarditis, epidural abscess, septic arthritis, and osteomyelitis), the mean age was 49 years and 35% were