Melville is an affluent hamlet and census-designated place (CDP) in the town of Huntington in Suffolk County on Long Island, New York, in the United States. The population was 18,985 at the 2010 census.