In the municipality are located parts of the megalithic site La Torre-La Janera which is assumed to date back to the 5th millennium BC. The town was seized away from Muslim control in 1240 during the reign of Sancho II of Portugal, and it was donated afterwards to the Order of Santiago. Ayamonte became part of the Crown of Castile in 1263.
