alt=Main Street, Hartley, Iowa 1900|thumb|Main Street, Hartley, Iowa 1900

Hartley is a city in O'Brien County, Iowa, United States. The population was 1,605 in the 2020 census.

History

Hartley got its start around 1880, following construction of the Chicago, Milwaukee & St. Paul Railway through that territory. Hartley was named for a railroad official John Hartley.

Geography

According to the United States Census Bureau, the city has a total area of , all land.

Major highways

{|

|----- valign="top"

|

  • 20px U.S. Route 18

|}

Demographics