The rebound in the real estate market has attracted a great deal of attention this year. With the help of historically low interest rates and inventory levels, home prices have surged in many parts of the country.

In June, home prices across the nation jumped an average of 12.1 percent according to the S&P/Case-Shiller composite index of 20 metropolitan areas, which is a three-month average. All 20 cities posted gains on a monthly and annual basis. Home prices are still 23 percent below their bubble peak but have bounced back nearly 50 percent since the March 2009 low. "National home prices rose more than 10 percent annually in each of the last two quarters," David M. Blitzer, chairman of the Index Committee at S&P Dow Jones Indices, said in a press release. "The Southwest and California have consistently led the recovery, with Las Vegas, Los Angeles, Phoenix, and San Francisco posting at least 15 months of gains. Looking at the cities, New York recorded its highest monthly return since 2002."

As they say in Real Estate 101, it's all about location. Here are the top 10 real estate markets by city, according to yearly price gains from S&P/Case-Shiller.

10. Seattle
12-month change: 11.8 percent

9. Portland, Ore.
12-month change: 11.8 percent

8. Miami
12-month change: 14.8 percent

7. Detroit
12-month change: 16.4 percent

6. Atlanta
12-month change: 19 percent

5. San Diego
12-month change: 19.3 percent

4. Phoenix
12-month change: 19.8 percent

3. Los Angeles
12-month change: 19.9 percent

2. San Francisco
12-month change: 24.5 percent

1. Las Vegas
12-month change: 24.9 percent

More from Wall St. Cheat Sheet...