This study examines the relationship between community violence and obstetric violence in Mexico, where the so-called “War on Drugs” has led to sustained high levels of homicides and one-third of pregnant people report experiencing abusive treatment from healthcare providers during childbirth. We combine unique nationally representative survey data on experiences of obstetric violence for births that occurred between 2016 and 2021 with administrative homicide data at the month-municipality level. Using fixed effects models, we investigate how different manifestations of obstetric violence relate to community violence in the short-, medium-, and long-term. Results suggest that the intensity of community violence matters for obstetric violence. Specifically, we find that sustained high-intensity homicidal violence is associated with an increased risk of mistreatment at childbirth, particularly in the form of physical abuse and non-consensual care. Associations are stronger among adolescent, low-educated, and urban respondents. Addressing obstetric violence requires recognising the structural role of sustained high-intensity community violence and the normalisation of violent behaviour that exposure to such environmental stressors may create.