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

Updated

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.

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

How 87540 compares

87540 has the lowest median household income in Santa Fe County: $52,500, against $101,565 in 87508 at the top, among 11 ZIP codes ranked.

87540 has the most valuable homes in Santa Fe County: $729,700, against $233,200 in 87522 at the other end, among 12 ZIP codes ranked.

87540 has the oldest population in Santa Fe County: 63.1, against 32.0 in 87567 at the other end, among 12 ZIP codes ranked.

87540 ranked against the ZIP codes where people live in Santa Fe County and New Mexico
Measure 87540 Rank in county Above, in NM
Median household income $52,500 11th of 11 46%
Median home value $729,700 1st of 12 99%
Median gross rent $1,039 9th of 11 65%
Population 1,117 11th of 12 46%
Median age 63.1 1st of 12 89%
Bachelor's degree or higher 44.9% 7th of 12 86%
People per square mile 6.8 10th of 12 40%

Rank in county is among the ZIP codes of Santa Fe County, 1 being the highest; "Above, in NM" is the share of New Mexico'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 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.

Neighbouring ZIP codes compared

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

ZIPTownDistance PopulationMedian income Median home
87540 Lamy, NM (this ZIP) — 1,117 $52,500 $729,700
87508 Santa Fe, NM 8.9 mi 18,518 $101,565 $561,200
87562 Rowe, NM 12.3 mi 569 $116,402 $205,000
87535 Glorieta, NM 13.1 mi 1,467 $59,688 $434,000
87505 Santa Fe, NM 14.7 mi 32,092 $78,247 $507,800
87010 Cerrillos, NM 15.0 mi 1,135 $60,000 $473,600
87056 Stanley, NM 17.0 mi 1,084 $76,563 $238,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 87540 →

★ Weird and wonderful facts about 87540
  • 🔢 Type 87540 into a pocket calculator and turn it upside down: OhSLB — not quite a word, sorry.
  • 🏠 Its numerical neighbours: 87539 (La Madera, NM, 68 mi away) and 87543 (Llano, NM, 50 mi 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.
  • ☀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.

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 where people live are 87508 (8.9 mi), 87562 (12.3 mi), 87535 (13.1 mi), 87505 (14.7 mi) and 87010 (15.0 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-11-18. Retrieved 2026-12-06. 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.