Whitley City is an unincorporated community and census-designated place (CDP) in McCreary County, Kentucky, United States.
Whitley City is located in central McCreary County.
U.S. Route 27 passes through the east side of Whitley City, leading north 30 miles (48 km) to Somerset and south 18 miles (29 km) to Oneida, Tennessee.
There were 516 housing units at an average density of 223.7 per square mile (86.4/km2).
31.9% of all households were made up of individuals, and 12.2% had someone living alone who was 65 years of age or older.