BackgroundFor patients with opioid use disorder (OUD), primary care can serve as a pathway to medication for OUD (MOUD). No community-based studies have examined whether people with OUD engaged in primary care are more likely to a) initiate or b) continue MOUD. MethodsData were collected 2014–2020 from two subsamples of the AIDS Linked to the Intravenous Experience (ALIVE) cohort, a community-recruited cohort of people from Baltimore who have injected drugs: 1) people who reported past-six-month illicit opioid use and no MOUD (360 participants, 789 study visits), and 2) people who reported MOUD and no illicit opioid use in the past six months (561 participants, 2027 visits). Logistic regression was used to estimate associations of past six-month self-reported primary care engagement, respectively, with a) initiating MOUD, b) continuing MOUD, and c) cessation from illicit opioid use without initiating MOUD. ResultsAmong 360 persons not on MOUD treatment (28 % female, 26 % under 50, 59 % actively injecting drugs), primary care engagement was not associated with either cessation from illicit opioid use or initiating MOUD. Similarly, among persons on MOUD (40 % female, 22 % under 50, 6 % actively injecting drugs) primary care engagement was not associated with continued treatment. ConclusionsOur findings implicate missed opportunities to initiate and maintain buprenorphine treatment in primary care settings.