Phoenix lead the nation with a 23 percent gain.
The recovery in the housing market is getting stronger.
Home prices in the top 20 markets rose nearly seven-percent last year. That was the largest yearly gain in the S&P/Case-Shiller index since 2006. New York was the only market where home prices actually dropped in 2012, but only by about a half-percent.
Phoenix led the way with a 23-percent gain, followed by San Francisco with 14-and-a-half percent. Record low mortgage rates and a smaller supply of homes for sale helped drive up prices last year.
Here is how home prices performed in each market in 2012, compared to 2011, in the S&P/Case-Shiller index:
Las Vegas +12.9%
Los Angeles +10.2%
New York -0.5%
San Diego +9.2%
San Francisco +14.4%
Washington, DC +5.8%