Madrid is the primary hamlet and a census-designated place (CDP) in the town of Madrid in St. Lawrence County, New York, United States.
At the 2020 census, it had a population of 736, out of 1,735 in the entire town of Madrid.
The community is in northern St. Lawrence County, south of the center of the town of Madrid.
New York State Route 310 runs through Madrid, leading northeast 20 miles (32 km) to Massena and southwest 11 miles (18 km) to Canton.
State Route 345 crosses NY 310 south of the center of the hamlet.