Miahuatlán de Porfirio Díaz is a town and municipality in Oaxaca in south-eastern Mexico.
The municipality covers an area of 467.4 km², and is situated at an average elevation of 1,600 meters.
[2] The name comes from the Nahuatl Miahuatlán: Miahua (ear of corn) and tlan (place or area).
During the Aztec period the town was known as Miahuapan Miahuatlán, "Canal of the Corn Tassel".
[2] The Battle of Miahuatlán took place near the town on 3 October 1866, an important military action in which the Mexican republican troops defeated a larger force of troops of the Second Mexican Empire.