Sargent County · North Dakota

ZIP Code 58040

Gwinner, ND · 1,030 residents

City (USPS)
Gwinner
Time zone
Central Time
Coordinates
46.1895° N, 97.6850° W
Land area
75.4 sq mi · 14 people/sq mi
98.2°W98.0°W97.8°W97.6°W97.4°W46.2°N46.4°NZIP 58013ZIP 58017ZIP 58032ZIP 58033ZIP 58043ZIP 58053ZIP 58054ZIP 58057ZIP 58060ZIP 58067ZIP 58069ZIP 58441ZIP 58458ZIP 58474ZIP 5849058474580605801758069584905803258067580405 miN
ZIP Code 58040 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 58040 in?

ZIP Code 58040 is in Sargent County, North Dakota.

The Postal Service's default place name for 58040 is Gwinner. By Census boundaries it covers Gwinner (city, 3% of the land). The remaining 97% is unincorporated.

Population1,030±116
Median household income$67,143
Median home value$208,600
Median rent$904/mo
Median age33.0
Households496

What stands out in ZIP 58040

  • The average commute is 8 minutes, 51% lower than Sargent County (16 minutes).
  • The share of residents born abroad is 6.7%, 63% higher than Sargent County (4.1%).
  • The poverty rate is 9.8%, 42% higher than Sargent County (6.9%).
  • The median age is 33.0 years, 27% lower than Sargent County (44.9 years).

People in ZIP 58040

Median age33.0
Under 1826.6%
65 and older15.1%
Born abroad6.7%
Moved here in the last year12.4%

Age and sex

MaleAgeFemale
1.0%80+1.9%
2.9%70–793.1%
5.2%60–695.8%
5.0%50–595.0%
6.5%40–492.6%
7.1%30–396.0%
12.2%20–297.4%
9.6%10–195.9%
3.6%0–99.0%
Share of all residents in each age group

Race and ethnicity

  • White81.9%
  • Black11.3%
  • Hispanic or Latino4%
  • Two or more races1.2%
  • Asian1.1%
  • American Indian / Alaska Native0.6%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

496 households, 2.08 people per household on average, 50% family households, and 38.1% people living alone.

Income in ZIP 58040

Median household income$67,143±$19,768
Per-capita income$41,667
Poverty rate9.8%
Income inequality (Gini)0.380 = equal, 1 = unequal

Median household income ranks 183rd of 271 ZIP Codes in North Dakota. Richest ZIP Codes in North Dakota

7%Under $25k
22%$25k–50k
24%$50k–75k
20%$75k–100k
14%$100k–150k
8%$150k–200k
5%$200k+
Households by annual income

Housing in ZIP 58040

Median home value$208,600
Median gross rent$904/mo
Housing units529
Median year built1989
Vacant6.2%

Owners and renters

  • Owner-occupied 58.1%
  • Renter-occupied 41.9%

Types of homes

  • Single-family homes 53.5%
  • 2–9 unit buildings 10.2%
  • 10+ unit buildings 23.6%
  • Mobile homes, RVs 12.7%

Work, commute and education

Mean commute8 minone way
Unemployment rate2.3%
Labor force participation74%age 16+
Broadband at home92.7%households

How workers get to work

  • Drove alone60.2%
  • Carpooled7%
  • Public transit0%
  • Walked19.5%
  • Bicycle0%
  • Worked from home9.9%

Education, adults 25+

  • High school or higher92.8%
  • Bachelor's or higher15.6%
  • Graduate or professional degree3.5%

How ZIP 58040 compares

ZIP 58040Sargent CountyNorth DakotaUnited States
Median household income$67,143$77,946$76,657$80,734
Per-capita income$41,667$47,355$43,389$44,673
Median home value$208,600$163,200$249,900$332,700
Median gross rent$904/mo$816/mo$954/mo$1,413/mo
Homeownership rate58.1%72.5%62.9%65.2%
Median age33.044.935.938.9
Bachelor's degree or higher15.6%18.2%32.7%35.7%
Poverty rate9.8%6.9%10.8%12.5%
Unemployment rate2.3%0.8%2.8%5.2%
Mean commute8 min16 min18 min26 min
Worked from home9.9%5.8%8.1%15.1%
Broadband at home92.7%88.2%88.7%91%
Foreign-born residents6.7%4.1%4.7%14.1%

ZIP Codes bordering 58040

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
58032Forman769$85,329$160,00049.9S · 7.9 mi
58069Stirum151–$137,50054.1NW · 8.3 mi
58017Cogswell296$61,250$84,50057.3SW · 12.9 mi
58060Milnor1,149$77,143$167,80045.6NE · 13.5 mi
58490Verona265$115,625$121,30042.6NW · 22.6 mi
58474Oakes2,656$72,969$160,70040.0W · 22.7 mi

Cities and communities in 58040

ZIP Code 58040: questions and answers

What county is ZIP Code 58040 in?
ZIP Code 58040 is in Sargent County, North Dakota.
What city is ZIP Code 58040 in?
The Postal Service's default place name for 58040 is Gwinner. By Census boundaries it covers Gwinner (city, 3% of the land). The remaining 97% is unincorporated.
What is the population of ZIP Code 58040?
About 1,030 people live in ZIP Code 58040, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 58040 in?
ZIP Code 58040 is in the Central Time zone (America/Chicago).
What is the median household income in 58040?
The median household income in ZIP Code 58040 is $67,143 (2020–2024 ACS), compared with $77,946 in Sargent County and $76,657 in North Dakota.
Which ZIP Codes border 58040?
58032 (Forman), 58069 (Stirum), 58017 (Cogswell), 58060 (Milnor), 58490 (Verona), and 58474 (Oakes).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.