Booming job markets featuring high-paying occupations and popular metro areas with endless amenities make certain housing landscapes desirable and ultimately push sales prices skyward. On an annual basis, PropertyShark pinpoints these ZIP codes where the highest-priced homes are located.

Unsurprisingly, California and New York dominated the list, accounting for just under 90% of the most expensive municipalities and the entire top five. For the average income household, it could take over 100 years to save up for a down payment in some Manhattan and Brooklyn locations, according to a separate study on New York neighborhoods from PropertyClub.

Overall home price gains trended up for most of 2019, with the latest 5.4% annual gain in October rising to a median value of $313,200, according to Redfin. This marked the largest year-over-year jump in 16 months.

That suggests an affordability concern, although it's worth keeping in mind that consumers looking to purchase at the top end of the market should have enhanced buying power.

"Low mortgage rates are propping up homebuyer demand and juicing prices," Daryl Fairweather, Redfin chief economist said in a press release. "However, home sales have been slow to grow since there are so few homes for sale and not many new listings hitting the market, especially affordable ones. The market is split: It's a seller's market for moderately priced homes, but a buyer's market for pricier homes."

From the municipalities surrounding Silicon Valley to New York's concrete jungle, here's a look at the 14 most expensive ZIP codes to buy a home in 2019, according to PropertyShark.

For the analysis, PropertyShark looked at residential sales closed between Jan. 1 and Nov. 5, 2019, inclusive of condos, co-ops, and single- and two-family homes. To make the list, ZIP codes needed to host at least three transactions in that time period.
Newport Beach, Calif.
No. 14 92661 Newport Beach, Calif.
2019 median sale price: $3,140,000
2018 rank: 12
2018 median sale price: $3,150,000
Los Altos, Calif.
No. 13 94024 Los Altos, Calif.
2019 median sale price: $3,150,000
2018 rank: 9
2018 median sale price: $3,254,500
Medina, Wash.
No. 12 98039 Medina, Wash.
2019 median sale price: $3,200,000
2018 rank: 15
2018 median sale price: $3,050,000
Portola Valley, Calif.
No. 11 94028 Portola Valley, Calif.
2019 median sale price: $3,300,000
2018 rank: 8
2018 median sale price: $3,300,000
Marin County, Calif.
No. 10 94957 Ross, Calif.
2019 median sale price: $3,350,000
2018 rank: 23
2018 median sale price: $2,550,000
Los Altos, Calif.
No. 9 94022 Los Altos, Calif.
2019 median sale price: $3,450,000
2018 rank: 7
2018 median sale price: $3,500,000
Soho
No. 8 10013 New York, N.Y.
2019 median sale price: $3,515,000
2018 rank: 4
2018 median sale price: $3,810,000
Palo Alto, Calif.
No. 7 94301 Palo Alto, Calif.
2019 median sale price: $3,522,000
2018 rank: 6
2018 median sale price: $3,755,000
NMN020618-boston.jpg
No. 6 02199 Boston, Mass.
2019 median sale price: $3,669,000
2018 rank: 3
2018 median sale price: $4,722,500
Tribeca
No. 5 10007 New York, N.Y.
2019 median sale price: $3,900,000
2018 rank: 13
2018 median sale price: $3,075,000
Beverly Hills, Calif.
No. 4 90210 Beverly Hills, Calif.
2019 median sale price: $4,080,000
2018 rank: 11
2018 median sale price: $3,212,500
Santa Monica, Calif.
No. 3 90402 Santa Monica, Calif.
2019 median sale price: $4,154,000
2018 rank: 5
2018 median sale price: $3,762,000
Sagaponack, N.Y.
No. 2 11962 Sagaponack, N.Y.
2019 median sale price: $4,300,000
2018 rank: 2
2018 median sale price: $5,500,000
Atherton, Calif.
No. 1 94027 Atherton, Calif.
2019 median sale price: $7,050,000
2018 rank: 1
2018 median sale price: $6,700,000