Background and AimsThe onset of the coronavirus disease 2019 (COVID‐19) pandemic was associated with a surge in opioid overdose deaths in Massachusetts, particularly affecting racial and ethnic minority communities. We aimed to compare the impact of the pandemic on opioid overdose fatalities and naloxone distribution from community‐based programs across racial and ethnic groups in Massachusetts.DesignInterrupted time‐series.Setting and CasesOpioid overdose deaths (OODs) among non‐Hispanic White, non‐Hispanic Black, Hispanic and non‐Hispanic other race people in Massachusetts, USA (January 2016 to June 2021).MeasurementsRate of OODs per 100 000 people, rate of naloxone kits distributed per 100 000 people and ratio of naloxone kits per opioid overdose death as a measure of naloxone availability. We applied five imputation strategies using complete data in different periods to account for missingness of race and ethnicity for naloxone data.FindingsBefore COVID‐19 (January 2016 to February 2020), the rate of OODs declined among non‐Hispanic White people [0.2% monthly reduction (95% confidence interval = 0.0–0.4%)], yet was relatively constant among all other population groups. The rate of naloxone kits increased across all groups (0.8–1.2% monthly increase) and the ratio of naloxone kits per OOD death among non‐Hispanic White was 1.1% (0.8–1.4%) and among Hispanic people was 1.0% (0.2–1.8%). After the onset of the pandemic (March 2020+), non‐Hispanic Black people experienced an immediate increase in the rate of OODs [63.6% (16.4–130%)], whereas rates among other groups remained similar. Trends in naloxone rescue kit distribution did not substantively change among any groups, and the ratio of naloxone kits per OOD death for non‐Hispanic Black people did not compensate for the surge in OODs deaths in this group.ConclusionsWith the onset of the COVID‐19 pandemic, there was a surge in opioid overdose deaths among non‐Hispanic Black people in Massachusetts, USA with no compensatory increase in naloxone rescue kit distribution. For non‐Hispanic White and Hispanic people, opioid overdose deaths remained stable and naloxone kit distribution continued to increase.