Hamburg is a city in Carver County, Minnesota, United States. The population was 513 at the 2010 census.