San Pedro Ocopetatillo is a town and municipality located in the state of Oaxaca in southwestern Mexico. It is situated within the Teotitlán District, which lies in the northern portion of the Cañada Region.
The municipality serves as a local administrative division within the broader geographical landscape of Oaxaca. It is characterized by its position in the rural highlands of the region.