Hartley is a census-designated place in Hartley County, Texas, United States. The population was 540 at the 2010 census.