Dakota County is the third-most populous county in the U.S. state of Minnesota. As of 2010, 398,552 people lived there. The county seat is Hastings.