Every ZIP code in the United States, with weather, radar, trivia and the numbers behind it. Five digits since 1963!

ZIP stands for Zone Improvement Plan. The codes went live on July 1, 1963.The lowest ZIP code is 00501 — the IRS in Holtsville, New York.The highest ZIP code is 99950, in Ketchikan, Alaska.Type 07734 into a calculator and turn it upside down: hELLO. It is Keansburg, New Jersey.12345 belongs to one company: General Electric in Schenectady, New York.The first digit is a region: 0 is New England and New Jersey, 9 is the West Coast, Alaska and Hawaii.Mr. ZIP, the cartoon mailman, was the mascot that sold the idea to America.ZIP+4 arrived in 1983 and can narrow a ZIP down to one side of one block.A ZIP code is a mail route, not a place: plenty of them cross county and even state lines.Play ZIP Hunt: guess the secret ZIP code of the day in six tries.
zipcodes.pro: ZIP/01731

01731

Updated

ZIP 01731 is Hanscom AFB, Massachusetts, in Middlesex County; Eastern time.

Type
Standard
Time zone
America/New_York
County
Middlesex
Population
2,110
Coordinates
42.4646, -71.2848
☼ Live from 01731 — Hanscom AFB, MA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 01731 is

Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.

People and housing

Population2,110This ZIP2,110
Households680This ZIP680
Housing units680This ZIP680
Median age25.0This ZIP25.0Massachusetts40.0US 38.9
Median household income$104,688This ZIP$104,688Massachusetts$103,960US $80,734
Median gross rent$3,408This ZIP$3,408Massachusetts$1,762US $1,413
Bachelor's degree or higher34.7%This ZIP34.7%
Mean commute23.2 minThis ZIP23.2 min
Population density902.9 / sq miThis ZIP902.9 / sq mi

How 01731 compares

01731 has the youngest population in Middlesex County: 25.0, against 58.7 in 01718 at the top, among 81 ZIP codes ranked.

Its median rent, $3,408, is higher than in 99% of Massachusetts's 460 ZIP codes where people live.

01731 ranked against the ZIP codes where people live in Middlesex County and Massachusetts
Measure 01731 Rank in county Above, in MA
Median household income $104,688 69th of 81 44%
Median gross rent $3,408 2nd of 79 99%
Population 2,110 79th of 81 18%
Median age 25.0 81st of 81 2%
Bachelor's degree or higher 34.7% 75th of 81 26%
People per square mile 903 61st of 81 53%

Rank in county is among the ZIP codes of Middlesex County, 1 being the highest; "Above, in MA" is the share of Massachusetts's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.

Business and tax activity

Business establishments16This ZIP16
Employees168This ZIP168
Annual payroll$17,435,000This ZIP$17,435,000
Tax returns filed730This ZIP730
Total adjusted gross income$59,064,000This ZIP$59,064,000

Land area

Land area2.34 sq miThis ZIP2.34 sq mi
Water area0.01 sq miThis ZIP0.01 sq mi

Other place names in 01731

Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.

Neighbouring ZIP codes compared

The closest ZIP codes where people live, by distance between their centres.

ZIPTownDistance PopulationMedian income Median home
01731 Hanscom AFB, MA (this ZIP) — 2,110 $104,688 —
01730 Bedford, MA 2.4 mi 14,707 $172,400 $898,500
02421 Lexington, MA 2.9 mi 18,080 $227,813 $1,205,700
01773 Lincoln, MA 3.0 mi 4,891 $209,327 $1,200,800
02420 Lexington, MA 3.4 mi 16,215 $245,031 $1,200,300
01742 Concord, MA 4.1 mi 18,448 $195,125 $1,218,100
02451 Waltham, MA 4.7 mi 17,393 $122,335 $753,000

Other ZIP codes nearby

These serve PO boxes, a single organisation or a post office, so they have no residents to compare.

Find every ZIP code within 10 miles of 01731 →

★ Weird and wonderful facts about 01731
  • 🔢 Type 01731 into a pocket calculator and turn it upside down: IELIO — not quite a word, sorry.
  • 🏠 Its numerical neighbours: 01730 (Bedford, MA, 2 mi away) and 01740 (Bolton, MA, 16 mi away).
  • 🧭 Farther north than 79% of all ZIP codes, and farther east than 96%.
  • 🎯1,426 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • ☀Longest day of the year: 15h 18m of daylight. Shortest: 9h 04m.
  • 📏 At 2.3 square miles of land, 01731 is bigger than 13% of ZIP codes — room for about 1.8 Central Parks.
🌙 The sky over 01731 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

Questions about this ZIP code

Where is ZIP code 01731?

01731 is in Hanscom AFB, Massachusetts, in Middlesex County, part of the Boston-Cambridge-Newton, MA-NH metropolitan area. Its published point location is 42.4646, -71.2848.

What county is 01731 in?

01731 lies in Middlesex County.

What time zone is 01731 in?

01731 uses America/New_York.

How many people live in 01731?

About 2,110 people live in ZIP code 01731, in 680 households, at 902.9 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.

What is the median household income in 01731?

$104,688 a year, against $103,960 across Massachusetts.

What ZIP codes are near 01731?

The closest where people live are 01730 (2.4 mi), 02421 (2.9 mi), 01773 (3.0 mi), 02420 (3.4 mi) and 01742 (4.1 mi).

Is 01731 a PO Box ZIP code?

01731 is a standard ZIP code. A normal ZIP code with street delivery.

Download or cite

Cite this page

zipcodes.pro. “01731 ZIP Code: Hanscom AFB, Massachusetts (Middlesex County).” Data release 2026-11-18. Retrieved 2026-12-03. https://zipcodes.pro/zip/01731

Machine-readable version of these facts:

curl https://zipcodes.pro/zip/01731.json

Underlying data is public domain or openly licensed — sources, vintages and licences.