Hastings is a city in Dakota and Washington counties, in the U.S. state of Minnesota, near the confluence of the Mississippi and St. Croix Rivers. The population was 22,172 at the 2010 census. It is the county seat of Dakota County, which contains most of the city; a small part extends into Washington County. The city is named for the first elected governor of the state of Minnesota, Henry Hastings Sibley.
The advantages of Hastings's location that led to its original growth are that it is well-drained, provides a good riverboat port, and is close to a hydropower resource at the falls of the Vermillion River. Other sites closer to the river confluence are either too swampy (Dakota County) or too hilly (Washington County and Pierce County, Wisconsin).