Residential delivery area · Montana
ZIP Code 59840: Hamilton, MT
ZIP code 59840 uses the postal name Hamilton, Montana and lies entirely in Ravalli County (Census 2020 ZIP-county file). About 16,000 people live there (Census Bureau, ACS 2020-2024). Median household income is $61,752 (Census Bureau, ACS 2020-2024). By Census place, its land lies in Hamilton (under 1%) and Charlos Heights (under 1%); more than 99% is outside any Census place.
- ACS2020-24
- Census2020
- FHFA2025
- ZBP2023
- IRS2022
- Town
- Hamilton · its only residential ZIP
- County
- Ravalli County
- Census places
- Hamilton (under 1%); Charlos Heights (under 1%) census-designated place
- House district
- MT-1 119th Congress
- State
- Montana
- Time zone
- Mountain
- Land area
- 537.4 sq mi · 29 people per sq mi
Where is ZIP code 59840?
59840 centers on 46.167°, -114.105° and covers 537.4 square miles of land plus 1.6 of water. It borders 7 ZIP codes: 59841, 59828, 59875, 59871, 59829, 59858, 83539.
The map draws ZIP code areas only. For the streets inside 59840, open its center on OpenStreetMap.
Source: U.S. Census Bureau, 2020 ZCTA cartographic boundaries and the 2023 Gazetteer (2020 ZCTAs); ZIP-to-county shares, Census places and House districts (119th Congress) from the Census 2020 relationship files (shares of land); metro area from the OMB delineation (July 2023); town name and time zone from simplemaps US ZIP Codes (CC BY 4.0).
How does 59840 compare with the rest of Ravalli County?
| Measure | 59840 | In Ravalli County | In MT |
|---|---|---|---|
| People (ACS 2020-2024) | 15,679 | 1st of 9 | 19th of 369 |
| Median household income | $62k | 6th of 6 | 71st of 104 |
| Median home value | $428k | 6th of 6 | 38th of 120 |
Its median household income is higher than in 32% of U.S. residential ZIP codes, and it is denser than 32% of all U.S. residential ZIP codes. ZIP codes at the ACS caps ($250,000 or more for household income, $2,000,000 or more for home value) share the top rank.
Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01003, B19013, B25077); ranks by PlainZIP over residential ZIP codes (ZCTAs).
How many people live in 59840?
The 2020 Census counted 14,466 people in 59840; the ACS, which samples households over 2020-2024, estimates 15,679. Its boundary changed between the 2010 and 2020 censuses, so the two counts are not compared.
- People, ACS 2020-2024
- 15,679
- 2020 Census count
- 14,466
- Households
- 6,682
- Median age
- 48.3
Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01003, B01002, B11001); 2020 Census (DHC P1); 2010 Census (SF1 P1).
Who lives in 59840?
Of the 15,679 people the ACS estimates in 59840, 17.7% are under 18 and 27.5% are 65 or older. The largest group by race and Hispanic origin is White (not Hispanic) (91.3%).
- Under 1817.7%
- 18 to 6454.8%
- 65 and older27.5%
- White, not Hispanic91.3%
- Other or two or more5.8%
- Hispanic or Latino2.9%
- Black, not Hispanic0.0%
- Asian, not Hispanic0.0%
Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01001 age by sex, B03002 Hispanic or Latino origin by race); shares of the estimated population, small ZIP codes carry wide margins.
What do households in 59840 earn?
Median household income is $61,752 (ACS 2020-2024), the 6th highest of the 6 ranked ZIP codes in Ravalli County.
- Median household income
- $61,752±$10,899
- Income per person
- $37,276
- Below the poverty line
- 8.6%
- Unemployed (of the labor force)
- 1.5%
- Adults 25+ with a bachelor's degree
- 31.2%
- Adjusted gross income per tax return, 2022
- $84,8167,420 returns; wages 46% of AGI (IRS)
Source: U.S. Census Bureau, ACS 2020-2024 and 2015-2019 5-year estimates (B19013, B19301, B17001, B23025, B15003; 2015-2019 dollars converted with the BLS CPI-U, 1.22699); IRS Statistics of Income, ZIP code data, tax year 2022 (adjusted gross income per return, filed under the address on the return).
What are homes worth in 59840?
FHFA's house price index for 59840, built from repeat sales and appraisals of the same homes, rose 133% from 2015 to 2025 and rose 68% from 2020 to 2025, and moved −4.7% in 2025.
- Median home value (owners' estimate)
- $428,100
- Median gross rent
- $1,033
- Homes owned by their occupants
- 70.3%
- Housing units
- 7,640
Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B25077, B25064, B25003, B25001); FHFA House Price Index, annual five-digit ZIP, updated 2026-03-31.
What businesses are in 59840?
749 business establishments had a location in this ZIP code in 2023, 45 more than in 2018; the most are in construction (ZIP Code Business Patterns).
- Construction113
- Retail trade105
- Health care and social assistance98
- Other services (except public administration)71
- Professional, scientific, and technical services69
- Accommodation and food services48
Source: U.S. Census Bureau, ZIP Code Business Patterns 2023 and 2018 (establishments with paid employees, by the business's ZIP code).
Which ZIP codes are next to 59840?
| ZIP | Town | People | Household income | Distance |
|---|---|---|---|---|
| 59841 | Pinesdale | 833 | $67k | 12.9 mi |
| 59828 | Corvallis | 5,827 | $80k | 13.1 mi |
| 59875 | Victor | 3,764 | $63k | 20.2 mi |
| 59871 | Sula | 289 | $32k | 23.5 mi |
| 59829 | Darby | 2,148 | $64k | 29.0 mi |
| 59858 | Philipsburg | 1,494 | $57k | 31.6 mi |
| 83539 | Kooskia, ID | 2,427 | $58k | 36.0 mi |
| 59827 | Conner | 371 | $66k | 19.0 mi (near) |
| 59870 | Stevensville | 12,506 | $80k | 24.2 mi (near) |
Source: PlainZIP from the Census 2020 ZCTA boundaries (shared edges) and internal points; figures ACS 2020-2024.