The 20 most expensive ZIP codes in America
The most expensive ZIP code in America isn't in Silicon Valley.
Over the past year, homes in the area, part of the Hamptons, sold for a median price of over $5 million.
The list of most expensive ZIP codes was compiled by the data team at real estate listings site Property Shark, which calculated the median sale price for each ZIP code based on closed sales that took place between January 2014 and June 2015.
They found that the most expensive places to buy a house are on either coast, with New York, Florida, and California dominating the list.
Here's what the most exclusive communities in the country look like.
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
More from Business Insider:
The tragically powerful story behind the lone German who refused to give Hitler the Nazi salute
What it's like to stay on a Greek island during the debt crisis, where the only ATM is empty
How to watch Venus and Jupiter come together in a rare close encounter that won't happen again for nearly a decade