Harvard is a city located in McHenry County, Illinois, approximately 7 miles south of the Illinois/Wisconsin border. The population was 9,447 at the 2010 census. The city is 63 miles from the Chicago Loop, and it is the last stop on the Union Pacific/Northwest Line.