20. San Marino, California (91108)
San Marino isn't just a tiny country neighbored by Italy — it's also a wealthy community near Pasadena in Los Angeles County. One of its major attractions are the botanical gardens and art collection at the Huntington Library, which was formerly the mansion of a railroad baron but is now open to the public.
Median sale price: $2,134,000
Median household income: $140,703
19. Pacific Palisades, California (90272)
Pacific Palisades is part of the city of Los Angeles, so it's no surprise that plenty of celebrities choose to call it home. You might find that Rihanna or NBA superstar Blake Griffin is your neighbor.
Median sale price: $2,240,000
Median household income: $159,696
18. Newport Beach, California (92661)
Arguably best known as the setting of TV show "The OC," Newport Beach is one of the most expensive communities in the country. Zip code 92661 covers the Balboa Peninsula in Newport Beach, a small strip of land with some of the most incredible views (and property prices) around.
Median sale price: $2,300,000
Median household income: $90,357
17. Los Altos, California (94024)
Though slightly less expensive than the Los Altos Hills neighborhood, zip code 94024 is equally desirable, with both the Los Altos Golf & Country Club and the Rancho San Antonio Open Space Preserve nearby. Mountain View, the home of Google, is also just a short drive away.
Median sale price: $2,302,500
Median household income: $167,384
next slide will load in 15 secondsSkip AdSkip Ad16. Water Mill, New York (11976)
This Hamptons community is known for quiet and relaxation — not a wild party scene. If you can afford it, you'll have your pick of incredible houses, like this $38 million compound belonging to the late hedge fund tycoon Jack Nash.
Median sale price: $2,337,500
Median household income: $160,536
15. Newport Coast, California (92657)
This Orange County community is located just south of Newport Beach, and bordered by Crystal Cove State Park on one side and the Pacific Ocean on the other. It's ideal for anyone who loves the outdoors — if you can afford it.
Median sale price: $2,349,500
Median household income: $156,440
14. Rancho Santa Fe, California (92067)
Rancho Santa Fe has Bill Gates' stamp of approval. Last year, the billionaire bought an $18 million horse ranch that formerly belonged to Jenny Craig (of the diet empire) and includes a race track, veterinarian's office, and five barns.
Median sale price: $2,350,000
Median household income: $230,952
12. Santa Barbara, California (93108)
Santa Barbara isn't just one of the hardest places to buy a home — it also ranks in the top 10 most expensive cities to rent an apartment. With a mild year-round climate, mountains, and the beach, it's no surprise that it's become a desirable place for wealthy people to live.
Median sale price: $2,400,000
Median household income: $119,539
next slide will load in 15 secondsSkip AdSkip Ad11. Portola Valley, California (94028)
Like the neighboring communities of Menlo Park and Palo Alto, Portola Valley attracts a high-tech, high-spending demographic. In addition to being one of the most expensive areas to buy a home, 94028 is also one of the top zip codes when it comes to Tesla sales.
Median sale price: $2,450,000
Median household income: $161,205
10. Los Altos, California (94022)
Los Altos is the place where Apple began in a garage back in the 70's,and it's remained a haven for tech entrepreneurs. Zip code 94022 includes the prestigious Los Altos Hills neighborhood, home to Google cofounder Sergey Brin.
Median sale price: $2,600,000
Median household income: $165,534
9. Miami Beach, Florida (33109)
8. Newport Beach, California (92662)
In Newport Beach, lifeguards make over $120,000 annually. But that probably won't put them in a position to afford real estate in the town's most expensive zip code, which is exclusive to Balboa Island, a neighborhood connected by ferry and a causeway to the rest of Newport Beach.
Median sale price: $2,675,000
Median household income: $78,750
7. New York, New York (10007)
Just slightly behind is zip code 10007, in lower Manhattan around the World Trade Center site. From there, it's just a short walk to Wall Street, which explains the area's appeal to high-paid traders.
Median sale price: $2,763,711
Median household income: $112,947
next slide will load in 15 secondsSkip AdSkip Ad6. New York, New York (10013)
Zip code 10013 incorporates three neighborhoods in lower Manhattan: Tribeca, Hudson Square, and part of Soho. In addition to views of the Hudson River, perks include having Beyonce and Jay-Z as neighbors.
Median sale price: $2,800,000
Median household income: $83,725
5. Palo Alto, California (94301)
Home prices in Palo Alto have doubled over the last decade, thanks to the infusion of tech industry cash in the area. Mark Zuckerberg owns not just one, but five houses in the Silicon Valley town — in 2013, he bought four of his neighbor's properties in order to preserve his privacy at home.
Median sale price: $2,827,500
Median household income: $122,473
4. Santa Monica, California (90402)
3. Beverly Hills, California (90210)
Arguably the most famous zip code in the country, 90210 doesn't disappoint. The Los Angeles enclave is home to celebrities like Tom Cruise and Manny Pacquiao, who bought his 10,000 square-foot mansion for a package deal of $12.5 million plus four tickets to his fight with Floyd Mayweather.
Median sale price: $3,221,250
Median household income: $132,254
2. Atherton, California (94027)
next slide will load in 15 secondsSkip AdSkip Ad1. Sagaponack, New York (11962)
Beating out some of the most prestigious communities in the country, Sagaponack tops the list of most expensive zip codes in the United States. The Hamptons destination is home to jaw-dropping properties like billionaire Ida Rennert's $248 million mansion, which has 12 chimneys, a two-lane bowling alley, and a 100-car garage.
Median sale price: $5,125,000
Median household income: $106,250