Winder fought with distinction in Mexico, winning brevet promotions to major on August 20, 1847 (for his conduct at the Battle of Contreras and for the Battle of Churubusco), and to lieutenant colonel on September 14 (for the Battle for Mexico City.) He was wounded in an encounter near the Belén Gate when a piece of bone from the skull of one of his men scratched him in the face.