Mayville is a city in Traill County, North Dakota, United States. The population was 1,854 at the 2020 census. which makes Mayville the largest community in Traill County. Mayville was founded in 1881. The city's name remembers May Arnold, the first white child born in the immediate area.
Mayville is often grouped with the neighboring city of Portland. The two towns are sometimes given the name May-Port. Mayville State University is located in Mayville.
Mayville is located at (47.499830, −97.325545).
Mayville sits in the fertile Red River Valley on the banks of the Goose River. The Valley was once a part of glacial Lake Agassiz. As the glacier receded, it left the land very flat, but also very rich. The area around Mayville is prime agricultural land.
According to the United States Census Bureau, the city has a total area of , all land.
In the summer of 2006, the community celebrated the city's 125th anniversary.
As of the census of 2010, there were 1,858 people, 773 households, and 384 families living in the city. The population density was . There were 872 housing units at an average density of . The racial makeup of the city was 94.2% White, 1.8% African American, 0.6% Native American, 0.2% Asian, 0.1% Pacific Islander, 0.9% from other races, and 2.2% from two or more races. Hispanic or Latino of any race were 2.0% of the population.
There were 773 households, of which 19.3% had children under the age of 18 living with them, 41.4% were married couples living together, 6.1% had a female householder with no husband present, 2.2% had a male householder with no wife present, and 50.3% were non-families. 39.2% of all households were made up of individuals, and 17.8% had someone living alone who was 65 years of age or older. The average household size was 2.03 and the average family size was 2.74.
The median age in the city was 37.9 years. 15.3% of residents were under the age of 18; 23.2% were between the ages of 18 and 24; 17% were from 25 to 44; 22.1% were from 45 to 64; and 22.4% were 65 years of age or older.