Mayville is a city in Traill County, North Dakota in the United States. The population was 1,858 at the 2010 census, which makes Mayville the largest community in Traill County. Mayville was founded in 1881.
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°29′59″N 97°19′32″W / 47.49972°N 97.32556°W / 47.49972; -97.32556 (47.499830, -97.325545).