Agua Prieta (Opata: Bachicuy) is a town in Agua Prieta Municipality in the northeastern corner of the Mexican state of Sonora (31°19′33″N109°32′56″W). It stands on the U.S.–Mexico border, adjacent to the town of Douglas, Arizona, USA. The municipality covers an area of 3,631.65 km² (1,402.2 sq mi). In the 2010 census the town had a population of 79,138 people, making it the seventh-largest community in the state, and a literacy rate of 96.3%. 89% of the homes in the city have electricity, 94% have running water, and 86% are connected to the sewer system. The city's most important economic activities, in descending order, are industry, commerce and farming. The city is the location of the CFE Agua Prieta power plant.