Mayville is a city in Dodge County, Wisconsin, United States, located along the Rock River and the Horicon Marsh. The population was 5,154 at the 2010 census.
Mayville is located at 43°29′49″N 88°32′52″W (43.497044, -88.547871).
According to the United States Census Bureau, the city has a total area of 3.28 square miles (8.50 km2), of which, 3.17 square miles (8.21 km2) is land and 0.11 square miles (0.28 km2) is water.
As of the census of 2010, there were 5,155 people, 2,172 households, and 1,404 families living in the city. The population density was 1,625.9 inhabitants per square mile (627.8/km2). There were 2,321 housing units at an average density of 732.2 per square mile (282.7/km2). The racial makeup of the city was 96.6% White, 0.2% African American, 0.2% Native American, 0.6% Asian, 1.4% from other races, and 1.0% from two or more races. Hispanic or Latino of any race were 2.7% of the population.
There were 2,172 households of which 30.6% had children under the age of 18 living with them, 49.5% were married couples living together, 9.8% had a female householder with no husband present, 5.4% had a male householder with no wife present, and 35.3% were non-families. 29.7% of all households were made up of individuals and 12.8% had someone living alone who was 65 years of age or older. The average household size was 2.33 and the average family size was 2.87.