City in Ravalli County, Montana
Hamilton, Montana
5,451 residents · 1 ZIP Code
- County
- Ravalli County
- Population
- 5,451 ▲ 16.3% since 2020 (2025 est.)
- Rank in state
- 26th largest of 154 places
- Land area
- 2.5 sq mi · 2,143 people/sq mi
- Time zone
- Mountain Time
- ZIP Codes
- 59840
- Area code
- 406
What county is Hamilton in?
Hamilton is in Ravalli County, Montana.
What stands out in Hamilton
- The share of residents born abroad is 5.1%, 2.2× the Ravalli County (2.3%).
- The average commute is 12 minutes, 50% lower than Ravalli County (24 minutes).
- The median home value is $310,000, 35% lower than Ravalli County ($476,600).
- The median household income is $49,204, 31% lower than Ravalli County ($71,283).
ZIP Codes in Hamilton
| ZIP Code | City | Population | Median income | Home value | Median age | Share in city |
|---|---|---|---|---|---|---|
| 59840 | Hamilton | 15,679 | $61,752 | $428,100 | 48.3 | 0% of ZIP |
People in Hamilton
Median age51.8
Under 1813.9%
65 and older34.3%
Born abroad5.1%
Moved here in the last year21.7%
Age and sex
MaleAgeFemale
3.1%80+13.0%
4.1%70–794.8%
7.5%60–698.5%
6.1%50–597.0%
6.7%40–498.7%
4.1%30–394.9%
2.5%20–293.9%
6.2%10–193.6%
2.2%0–93.1%
Race and ethnicity
- White93%
- Two or more races2.9%
- American Indian / Alaska Native2.3%
- Hispanic or Latino1.7%
Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.
Households
2,748 households, 1.74 people per household on average, 43.2% family households, and 53.6% people living alone.
Income in Hamilton
Median household income$49,204±$9,323
Per-capita income$38,231
Poverty rate8.8%
Income inequality (Gini)0.440 = equal, 1 = unequal
19%Under $25k
33%$25k–50k
21%$50k–75k
9%$75k–100k
11%$100k–150k
3%$150k–200k
4%$200k+
Housing in Hamilton
Median home value$310,000
Median gross rent$947/mo
Housing units3,101
Median year built1976
Vacant11.4%
Owners and renters
- Owner-occupied 55.7%
- Renter-occupied 44.3%
Types of homes
- Single-family homes 56.2%
- 2–9 unit buildings 18.7%
- 10+ unit buildings 17.1%
- Mobile homes, RVs 8%
Work, commute and education
Mean commute12 minone way
Unemployment rate2%
Labor force participation60%age 16+
Broadband at home84.2%households
How workers get to work
- Drove alone77%
- Carpooled14%
- Public transit1.1%
- Walked3.3%
- Bicycle0.9%
- Worked from home3.4%
Education, adults 25+
- High school or higher92.5%
- Bachelor's or higher30.8%
- Graduate or professional degree16.8%
How Hamilton compares
| Hamilton | Ravalli County | Montana | United States | |
|---|---|---|---|---|
| Median household income | $49,204 | $71,283 | $72,509 | $80,734 |
| Per-capita income | $38,231 | $39,624 | $41,711 | $44,673 |
| Median home value | $310,000 | $476,600 | $375,800 | $332,700 |
| Median gross rent | $947/mo | $1,054/mo | $1,081/mo | $1,413/mo |
| Homeownership rate | 55.7% | 79.4% | 69.2% | 65.2% |
| Median age | 51.8 | 48.7 | 40.4 | 38.9 |
| Bachelor's degree or higher | 30.8% | 28.7% | 35.2% | 35.7% |
| Poverty rate | 8.8% | 8.8% | 11.5% | 12.5% |
| Unemployment rate | 2% | 3.2% | 3.6% | 5.2% |
| Mean commute | 12 min | 24 min | 19 min | 26 min |
| Worked from home | 3.4% | 14.2% | 12.5% | 15.1% |
| Broadband at home | 84.2% | 87.1% | 89.4% | 91% |
| Foreign-born residents | 5.1% | 2.3% | 2.3% | 14.1% |
Places near Hamilton
Area codes in Hamilton
Hamilton phone numbers use area code 406. See every phone prefix, carrier and the local time on Hamilton area codes at AreaCodeExplorer.
Hamilton, MT: questions and answers
What county is Hamilton, MT in?
Hamilton is in Ravalli County, Montana.
What ZIP Codes are in Hamilton?
Hamilton is served by 1 residential ZIP Code: 59840.
What is the population of Hamilton?
The Census Bureau estimates 5,451 residents in Hamilton in 2025.
What time zone is Hamilton in?
Hamilton is in the Mountain Time zone (America/Denver).
What is the area code for Hamilton?
Hamilton uses area code 406.
Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.