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/87540

87540

ZIP 87540 is Lamy, New Mexico, in Santa Fe County; area code 505; Mountain time.

Type
Standard
Time zone
America/Denver
County
Santa Fe
Metro area
Santa Fe, NM
Population
1,117
Coordinates
35.4069, -105.8735
☼ Live from 87540 — Lamy, NM

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 87540 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.

★ Weird and wonderful facts about 87540
  • 🔢 Type 87540 into a pocket calculator and turn it upside down: OhSLB — not quite a word, sorry.
  • ➕ As a number, 87,540 = 2 × 2 × 3 × 5 × 1459. Its digits add up to 24, a total 2,425 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 10101010111110100
  • 🏠 Its numerical neighbours: 87539 (La Madera, NM, 68 mi away) and 87543 (Llano, NM, 50 mi away).
  • 🔄 Backwards, 87540 becomes 04578 — and that is a real ZIP code: Wiscasset, ME, 1,995 miles away.
  • 👥 57 other ZIP codes are made of exactly the same digits (04578, 04758, 04785, 05478, 05487, 05748, …). The farthest-flung twin is 04758 in Mars Hill, ME, 2,103 miles away.
  • 🧭 Farther south than 72% of all ZIP codes, and farther west than 83%.
  • 🎯502 miles southwest of the geographic center of the Lower 48, near Lebanon, Kansas.
  • 🌏 Dig straight through the Earth from 87540 and you would come out at 35.41°S, 74.13°E — 983 miles from Port-aux-Français, French Southern Territories, the nearest big city to that spot.
  • ☀Longest day of the year: 14h 33m of daylight. Shortest: 9h 46m.
  • 📏 At 163.6 square miles of land, 87540 is bigger than 88% of ZIP codes — room for about 124 Central Parks.
🌙 The sky over 87540 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population1,117This ZIP1,117
Households632This ZIP632
Housing units692This ZIP692
Median age63.1This ZIP63.1New Mexico39.4US 38.9
Median household income$52,500This ZIP$52,500New Mexico$64,059US $80,734
Median home value$729,700This ZIP$729,700New Mexico$248,100US $332,700
Median gross rent$1,039This ZIP$1,039New Mexico$1,067US $1,413
Bachelor's degree or higher44.9%This ZIP44.9%
Mean commute24.6 minThis ZIP24.6 min
Population density6.8 / sq miThis ZIP6.8 / sq mi

Business and tax activity

Business establishments22This ZIP22
Employees32This ZIP32
Annual payroll$2,495,000This ZIP$2,495,000
Tax returns filed560This ZIP560
Total adjusted gross income$89,060,000This ZIP$89,060,000

Land area

Land area163.62 sq miThis ZIP163.62 sq mi
Water area0.03 sq miThis ZIP0.03 sq mi

Other place names in 87540

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

ZIP codes near 87540

ZIPCityDistance
87508 Santa Fe, NM 8.9 mi
87509 Santa Fe, NM 10.0 mi
87592 Santa Fe, NM 10.0 mi
87594 Santa Fe, NM 10.0 mi
87562 Rowe, NM 12.3 mi
87535 Glorieta, NM 13.1 mi
87505 Santa Fe, NM 14.7 mi
87010 Cerrillos, NM 15.0 mi
87056 Stanley, NM 17.0 mi
87502 Santa Fe, NM 19.7 mi

Find every ZIP code within 10 miles of 87540 →

Questions about this ZIP code

Where is ZIP code 87540?

87540 is in Lamy, New Mexico, in Santa Fe County, part of the Santa Fe, NM metropolitan area. Its published point location is 35.4069, -105.8735.

What county is 87540 in?

87540 lies in Santa Fe County.

What area code is 87540?

Lamy uses area code 505, from NANPA's telephone records.

What time zone is 87540 in?

87540 uses America/Denver.

How many people live in 87540?

About 1,117 people live in ZIP code 87540, in 632 households, at 6.8 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 87540?

$52,500 a year, against $64,059 across New Mexico.

What ZIP codes are near 87540?

The closest are 87508 (8.9 mi), 87509 (10 mi), 87592 (10 mi), 87594 (10 mi) and 87562 (12.3 mi).

Is 87540 a PO Box ZIP code?

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

Download or cite

Cite this page

zipcodes.pro. “87540 ZIP Code — Lamy, New Mexico (Santa Fe County).” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/zip/87540

Machine-readable version of these facts:

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

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