Juan Miguel de Esparza (1712–1766) was a Spanish military man, merchant and politician, who had a long career as a colonial official of the Viceroyalty of Peru, where he held the honorary positions of alcalde and regidor. He took part in numerous military expeditions aimed at controlling the Indigenous advance in the Province of Buenos Aires. He also served as lawyer, treasurer and Alférez real in charge of carrying the Royal Standard during the day of Saint Martin of Tours.