Hamlin is a census-designated place in Monroe County, New York, United States. The population was 5,521 at the 2010 census.