ZipCodesToGo
Montana ZIP Codes
Ravalli County
Hamilton, MT
59840
59840 ZIP Code — Hamilton, MT
Ravalli County, Montana
ZIP code 59840 is located in
Hamilton ,
Montana ,
within Ravalli County .
It covers approximately 537.36 square miles and serves a population of
14,625 residents.
This is a standard ZIP code in the Mountain (MT) timezone,
served by area code 406 .
About ZIP code 59840
The housing stock consists of predominantly single-family detached homes. Most homes were built in the pre-1940, giving the area an established character. Median home value is $355,700. Owner-occupancy sits near the national average at 69%.
Median household income is $62,576. 43% of households receive Social Security income, suggesting a notable retiree or disability population.
The dominant occupation class is management, business, and professional, with education and healthcare as the leading industry. The average commute of 14 minutes is near the national average.
Educational attainment is near the national average, with 30% of residents holding a bachelor's degree or higher.
59840 ZIP code map
View map of 59840
Cities in ZIP code 59840
Below are the cities the US Postal Service accepts for ZIP code 59840. Using any city not on this list may result in mail delivery delays.
Nearby ZIP codes
Demographics
updated 06/2026
Population
Total population
14,625
Population density
27 / sq mi
State FIPS
30
County FIPS
081
Geography
Land area
537.36 sq mi
Water area
1.61 sq mi
Latitude
46.1701
Longitude
-114.1384
Timezone
Mountain (MT)
Area code
406
Economics
updated 06/2026
Household income
Income range
This ZIP
County avg
State avg
Under $50k
50.9%
45.4%
44.2%
$50k – $100k
33.9%
32.9%
32.0%
$100k – $200k
12.6%
17.2%
19.2%
Over $200k
2.5%
4.6%
4.7%
Demographics & statistics
$62,576
Median household income
$355,700
Median home value
29.7%
Bachelor's or higher
Age distribution
Age summary
Group Count %
Under 18 2,569 17.6%
18 and over 12,056 82.4%
65 and over 3,905 26.7%
Median age 49.0 years
Race & ethnicity
American Indian / Alaska Native
0.3%
Group Count %
White 13,668 90.1%
Two or more races 850 5.6%
Hispanic or Latino 548 3.6%
Asian 56 0.4%
American Indian / Alaska Native 39 0.3%
Other race 12 0.1%
Household income
Income range
This ZIP
County avg
State avg
Under $50k
50.9%
45.4%
44.2%
$50k – $100k
33.9%
32.9%
32.0%
$100k – $200k
12.6%
17.2%
19.2%
Over $200k
2.5%
4.6%
4.7%
Range % of households
Under $10k 4.9%
$10k–$15k 5.2%
$15k–$25k 8.7%
$25k–$35k 13.3%
$35k–$50k 9.5%
$50k–$75k 20.2%
$75k–$100k 15.3%
$100k–$150k 12.3%
$150k–$200k 5.8%
$200k+ 4.9%
Median income $62,576
Housing
Housing overview
Metric Value
Median home value $355,700
Median rent / month $936
Owner occupied 69.4%
Renter occupied 30.6%
Vacant 9.4%
Single-family detached 72.7%
Large apartment buildings 4.6%
Mobile homes 5.4%
Median rooms 5.3
Avg household size (owned) 2.33
Year built
Era %
2020 or later 0.8%
2010–2019 7.0%
2000–2009 14.6%
1990–1999 17.2%
1980–1989 10.0%
1970–1979 14.5%
1960–1969 7.9%
1950–1959 6.6%
1940–1949 3.5%
1939 or earlier 17.9%
Bedrooms
Size % of units
No bedroom (studio) 1.5%
1 bedroom 12.9%
2 bedrooms 27.4%
3 bedrooms 47.1%
4 bedrooms 7.4%
5+ bedrooms 3.7%
Vehicles per household
Vehicles % of households
No vehicle 8.6%
1 vehicle 31.3%
2 vehicles 33.0%
3 or more 27.2%
Heating fuel
Fuel type %
Utility gas 52.7%
Electricity 19.9%
Propane / LP gas 14.0%
Fuel oil 0.4%
Wood 11.9%
Solar 0.4%
Households & families
Household type Count %
Married-couple family 3,311 50.5%
Cohabiting couple 350 5.3%
Male householder, no spouse 832 12.7%
Female householder, no spouse 2,061 31.4%
Households with children under 18 1,454 22.2%
Households with seniors (65+) 2,903 44.3%
Average household size 2.19
Marital status
Status Male Female
Never married 23.0% 19.8%
Married 63.2% 50.6%
Separated 0.7% 0.5%
Widowed 2.7% 12.8%
Divorced 10.5% 16.3%
Education
Some college, no degree
22.5%
Graduate / professional
13.2%
Metric %
HS diploma or higher 92.5%
Bachelor's or higher 29.7%
School enrollment (ages 3–17)
Type Count %
Nursery / preschool 88 3.7%
Kindergarten 133 5.6%
Elementary school 1,113 46.8%
High school 666 28.0%
College / grad school 379 15.9%
Employment
Industry of employment
Education & healthcare
24.7%
Professional & management
11.0%
Arts, food & hospitality
8.2%
Finance & real estate
7.4%
Transportation & utilities
5.3%
Agriculture & mining
4.7%
Public administration
2.4%
Occupation
Category %
Management, business & arts 36.4%
Service 16.6%
Sales & office 25.8%
Natural resources & construction 11.6%
Production & transportation 9.6%
Employment type
Type %
Private sector 71.4%
Government 13.6%
Self-employed 14.7%
Unpaid family workers 0.2%
Commute
Method %
Drive alone 74.2%
Carpool 10.4%
Public transit 0.3%
Walk 5.0%
Work from home 7.5%
Other means 2.5%
Avg commute (minutes) 13.8
Poverty
Married-couple families
0.6%
Female-led households
31.4%
Income support
Source % of households
Social Security 43.1%
Retirement income 27.8%
Supplemental Security 5.2%
Cash public assistance 4.5%
Food stamps / SNAP 9.5%
Health indicators
Condition %
Obesity 30.7%
High blood pressure 34.0%
High cholesterol 35.8%
Diabetes 11.4%
Heart disease 8.6%
Stroke 4.0%
Asthma 10.1%
Arthritis 32.4%
Kidney disease 3.7%
Pulmonary disease 8.7%
Cancer 8.6%
Behavior / access %
Smoking 17.7%
Binge drinking 18.2%
No physical activity 21.6%
Less than 7 hrs sleep 31.6%
Depression 23.3%
Fair or poor health 15.3%
Poor mental health 13.0%
Poor physical health 12.5%
No health insurance 12.6%
Visited doctor (checkup) 72.4%
Visited dentist 60.3%
Cholesterol screening 89.3%
Teeth loss 14.8%
Veterans & disability
Veterans Count %
Civilian veterans 1,016 8.4%
Disability %
Any disability 17.9%
Under 18 3.9%
18–64 years 13.1%
65 and over 37.6%
Health insurance coverage
Type %
Private insurance 56.5%
Public insurance 50.1%
No insurance 11.5%
Uninsured under 19 7.0%
Language & origin
Language spoken at home (age 5+)
Language Count %
English only 13,934 95.3%
Spanish 74 0.5%
Other Indo-European 58 0.4%
Asian & Pacific Islander 16 0.1%
Other languages 0 0.0%
Place of birth & citizenship
Origin Count %
Native born (US) 14,085 96.3%
Born in same state 13,836 94.6%
Born in different state 5,143 35.2%
Foreign born 249 1.7%
Naturalized citizen 540 3.7%
Not a US citizen 385 71.3%
Ancestry
Ancestry Count %
French 2,195 15%
Italian 1,477 10.1%
Polish 866 5.9%
Arab 603 4.1%
English 310 2.1%
Ancestry Count %
Dutch 275 1.9%
German 247 1.7%
Irish 70 0.5%
Norwegian 22 0.2%
Technology access
Metric % of households
Computer access 44.8%
Internet access 93.6%
Source: U.S. Census Bureau, American Community Survey 2025 estimates.
Frequently asked questions about ZIP code 59840
What city is ZIP code 59840 in?
ZIP code 59840 is primarily assigned to Hamilton, Montana.
What county is ZIP code 59840 in?
ZIP code 59840 falls within Ravalli County, Montana.
Does ZIP code 59840 have an older population?
27% of residents in ZIP code 59840 are 65 or older, above the national average of ~17%.
Does ZIP code 59840 have a large retiree population?
43% of households in ZIP code 59840 receive Social Security income, suggesting a significant retiree or disability population.
What is the typical home value in ZIP code 59840?
The median home value in ZIP code 59840 is $355,700.
What is the population of ZIP code 59840?
ZIP code 59840 has an estimated population of 14,625 residents, with a density of 27 people per square mile.
What timezone is ZIP code 59840 in?
ZIP code 59840 observes the MST timezone.
Need the complete ZIP code database?
Download all 42,000+ US ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →