Middlesex County · Massachusetts
ZIP Code 01731
Hanscom Afb, MA · 2,110 residents
- County
- Middlesex County
- City (USPS)
- Hanscom Afb
- State
- Massachusetts
- Time zone
- Eastern Time
- Coordinates
- 42.4646° N, 71.2848° W
- Land area
- 2.3 sq mi · 903 people/sq mi
What county is 01731 in?
ZIP Code 01731 is in Middlesex County, Massachusetts.
The Postal Service's default place name for 01731 is Hanscom Afb. By Census boundaries it covers Hanscom AFB (community, 38% of the land) and Lexington (community, 11% of the land). The remaining 50% is unincorporated.
What stands out in ZIP 01731
- The share of adults with a bachelor's degree is 34.7%, 42% lower than Middlesex County (59.5%).
- The median age is 25.0 years, 36% lower than Middlesex County (38.9 years).
- The median rent is $3,408 a month, 55% higher than Middlesex County ($2,201 a month).
- The average commute is 23 minutes, 22% lower than Middlesex County (30 minutes).
People in ZIP 01731
Age and sex
Race and ethnicity
- Hispanic or Latino37%
- White34.4%
- Asian21.1%
- Two or more races3.7%
- Other3.5%
- Black0.2%
Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.
Households
680 households, 2.98 people per household on average, 78.5% family households, and 15.6% people living alone.
Income in ZIP 01731
Median household income ranks 280th of 496 ZIP Codes in Massachusetts. Richest ZIP Codes in Massachusetts
Housing in ZIP 01731
Owners and renters
- Renter-occupied 100%
Types of homes
- Single-family homes 50.3%
- 2–9 unit buildings 49.7%
Work, commute and education
How workers get to work
- Drove alone71.7%
- Carpooled4.8%
- Public transit2%
- Walked0.2%
- Bicycle0.5%
- Worked from home20.8%
Education, adults 25+
- High school or higher100%
- Bachelor's or higher34.7%
- Graduate or professional degree23.2%
How ZIP 01731 compares
| ZIP 01731 | Middlesex County | Massachusetts | United States | |
|---|---|---|---|---|
| Median household income | $104,688 | $130,847 | $103,960 | $80,734 |
| Per-capita income | $36,720 | $69,556 | $57,897 | $44,673 |
| Median gross rent | $3,408/mo | $2,201/mo | $1,762/mo | $1,413/mo |
| Homeownership rate | 0% | 61.3% | 62.5% | 65.2% |
| Median age | 25.0 | 38.9 | 40.0 | 38.9 |
| Bachelor's degree or higher | 34.7% | 59.5% | 47.3% | 35.7% |
| Poverty rate | 0% | 7.7% | 10% | 12.5% |
| Unemployment rate | 0.7% | 4.4% | 5.2% | 5.2% |
| Mean commute | 23 min | 30 min | 29 min | 26 min |
| Worked from home | 20.8% | 24.7% | 18.6% | 15.1% |
| Broadband at home | 99.3% | 94.7% | 92.8% | 91% |
| Foreign-born residents | 22.5% | 23.1% | 18% | 14.1% |
ZIP Codes bordering 01731
Cities and communities in 01731
ZIP Code 01731: questions and answers
What county is ZIP Code 01731 in?
What city is ZIP Code 01731 in?
What is the population of ZIP Code 01731?
What time zone is 01731 in?
What is the median household income in 01731?
Which ZIP Codes border 01731?
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.