May 11, 2026 · 8 min read

S&P 500 vs. Real Estate: Which Asset Class Actually Wins Over 30 Years?

The question sounds deceptively simple: over 30 years, does the stock market beat real estate?

The honest answer is usually yes — and by more than most people expect. But the comparison is almost always done wrong, which is why the result keeps surprising people.

Here is the full picture, with the math done properly.

Setting the Terms

To compare two asset classes fairly, you need to measure the same things on both sides:

  • Total return, not just price appreciation. Stocks generate dividends. A home you live in generates no cash yield — only deferred equity. Comparing stock price appreciation to home appreciation already stacks the deck against stocks.
  • Net of holding costs. A Vanguard total market ETF charges 0.03% per year. A home charges 2–3% of its value annually in property taxes, insurance, and maintenance before a single improvement.
  • Inflation-adjusted. A 4% nominal return in a 3% inflation environment is a 1% real gain. Both asset classes must be measured in the same real dollars, or the comparison is meaningless.

Most "real estate beat the stock market" arguments fail at least one of these tests.

The Stock Market's 30-Year Record

The S&P 500, measured as a total return index with dividends reinvested, has returned approximately 10% per year in nominal terms over the past 30 years — a figure remarkably consistent across most long-run historical windows.

After inflation, the real annual return has been approximately 7.5%.

What that means in practice: $10,000 invested in an S&P 500 index fund in 1994 grew to roughly $175,000 by 2024. That figure assumes dividends reinvested and taxes deferred — exactly what happens inside a 401(k) or Roth IRA.

Critically, this return cost almost nothing to earn. No maintenance bills, no property tax assessments, no calls from a tenant at midnight. The expense ratio on a total market fund is effectively zero.

Real Estate's 30-Year Record

The Case-Shiller U.S. National Home Price Index tracks the price of the same homes over time, controlling for quality improvements — the cleanest apples-to-apples measure of home price appreciation.

From 1994 to 2024, U.S. home prices appreciated at roughly 4% per year nominally. After inflation, that is approximately 1.5% per year in real terms.

And this was a strong period. It includes two of the largest housing booms in modern history: 2003–2006 and 2020–2022. Yale economist Robert Shiller's full dataset going back to 1890 shows the long-run inflation-adjusted appreciation rate is closer to 0.6% per year — barely above zero in real terms.

The recent 30-year window has been unusually favorable for real estate. The historical long run has not been.

The Cost Drag That Closes the Gap

Here is where the comparison becomes decisive.

Owning a $400,000 home in 2026 costs roughly:

  • Property taxes: ~$4,400/year at the national average effective rate of 1.1%
  • Homeowner's insurance: ~$2,000/year (national average, up more than 40% over the past five years)
  • Maintenance and repairs: $4,000–$8,000/year, using the commonly cited 1–2% rule — and skilled labor costs in 2026 are pushing this toward the higher end in most markets

That is $10,000–$14,000 per year just to hold the asset — before any mortgage payment. As a percentage of value, this cost drag runs 2.5–3.5% annually.

Now add the cost to exit: a traditional real estate transaction runs 5–6% of the sale price in agent commissions, title fees, and closing costs. On a $600,000 home, that is $30,000–$36,000 off the top before you net a dollar.

A home that appreciated 4% per year for 10 years earns a gross return of 48%. Subtract 3% per year in carrying costs (30% over the decade) and 6% in selling costs, and the net return collapses to roughly 12% total — or about 1.1% per year.

The S&P 500 returned roughly 13% per year over the 10 years ending in 2024.

Where Real Estate Has a Genuine Edge

This is not a one-sided contest. Real estate has real advantages that raw return comparisons cannot capture.

Leverage amplifies gains. A $400,000 home purchased with $80,000 down earns 17.5% on invested equity when the home appreciates 3.5% in a year ($14,000 gain on $80,000 of capital). No brokerage offers that kind of leverage on index funds without margin call risk. In a rising market, this leverage is extraordinary.

The capital gains exclusion. Selling a primary residence excludes up to $250,000 of profit from federal capital gains tax ($500,000 for married couples). An equivalent gain in a taxable brokerage account would be taxed at 15–20%. For long-held homes in appreciating markets, this is a meaningful advantage.

Forced savings. A mortgage payment builds equity every month whether the homeowner feels disciplined or not. Research consistently shows homeowners accumulate more wealth than comparable-income renters — partly because the mortgage functions as an automated savings plan that requires no willpower.

Utility. You live in your real estate investment. It provides housing — a real consumption good — simultaneously with investment exposure. That dual-use nature doesn't appear in any return spreadsheet, but it is real value.

The Numbers Side by Side

Assume two people in 1994, each with $80,000 to deploy:

Person A buys a $400,000 home with $80,000 down. The home appreciates 3.5% per year. They pay property taxes, insurance, and maintenance averaging $12,000 per year. After 30 years, the mortgage is paid off. They sell at 6% transaction cost.

Net equity: approximately $700,000 – $750,000 depending on local cost variations. (The home is worth roughly $1.1M; after selling costs, they net around $1.04M; minus the paid-off loan balance, the net position is roughly in this range.)

Person B invests $80,000 in an S&P 500 index fund at 10% per year for 30 years with dividends reinvested. Zero carrying costs. Zero transaction costs to exit.

End value: approximately $1,400,000.

This comparison does not yet account for the monthly cost difference between renting and owning. If rent is cheaper than the total carrying cost of homeownership — common in high-priced coastal markets — Person B also invests that gap each month, compounding the advantage further over 30 years.

That additional variable — the "invest the difference" scenario — is exactly what the rent vs. buy calculator models. Adjust the appreciation rate, the S&P 500 return, and your time horizon, and the breakeven year shifts accordingly.

What This Actually Means

The historical data favors the stock market as a pure investment vehicle. The returns are higher, the costs are lower, and the liquidity is far better.

But homeownership is not a pure investment. It is a combination of investment, housing consumption, leverage, and behavioral savings mechanism. Stripping it down to a return comparison misses part of what makes ownership valuable — especially for people who value stability, who struggle to save voluntarily, or who are in a market where leverage genuinely magnifies returns.

The right question is not "which asset class wins in the abstract?" It is: given your down payment, your local market, your rent vs. ownership costs, and your time horizon — which path builds more wealth for you specifically?

The historical data gives you the baseline. Your actual numbers give you the answer.


Disclaimer: This article is for educational purposes only and does not constitute financial advice. Historical return figures are approximate long-run averages and are not guarantees of future performance.