Real Estate vs the S&P 500 Over 25 Years: The Comparison That Surprises People
The "should I buy a house or invest the money?" debate is at peak intensity in 2026. Home prices are at all-time highs. Mortgage rates sit in the 6.5-7.5% range. The S&P 500 just hit new all-time highs in late 2025 before the recent pullback. Both sides have a story, and both stories contain real numbers.
Here is the actual 25-year comparison from Q1 2000 to Q1 2025, with the data that complicates the headline.
The Headline Numbers
| Asset | Q1 2000 Value | Q1 2025 Value | Annualized Return |
|---|---|---|---|
| Median U.S. Home Price | $145,000 | $440,000 | +4.5% |
| S&P 500 (price only) | $1,498 | $5,650 | +5.5% |
| S&P 500 (total return) | $1,498 | $8,920 | +7.4% |
| Inflation (CPI) | 100.0 | 192.0 | +2.6% |
At face value, the S&P 500 with dividends reinvested beat the median home by about 2.9 percentage points per year over 25 years. That spread compounds to a meaningful difference: $100,000 invested in the S&P 500 in Q1 2000 was worth $595,000 by Q1 2025. The same $100,000 invested in real estate (representing the median home appreciation) was worth $303,000.
The Numbers That Change the Story
Real estate has three things going for it that the headline price appreciation does not capture: leverage, imputed rent (or actual rent if you rent out the property), and tax treatment.
Leverage
A home buyer who put 20% down on a $145,000 home in 2000 invested $29,000 in equity to control a $145,000 asset. Twenty-five years later, that asset is worth $440,000. The leveraged return on the $29,000 equity (ignoring mortgage payments and interest) is roughly +1,420%, or 11.5% annualized.
This is the calculation real estate proponents lead with. It is real, but it ignores the cost of the leverage. A 30-year mortgage at 7% on $116,000 produces $278,000 in total payments over 30 years. The effective return after interest costs depends heavily on the rate environment of the time.
Imputed Rent (Or Actual Rent)
A homeowner who would have paid $1,500/month in rent over 25 years avoided $450,000 in lifetime rent payments. That savings is real return on the home, even if it never shows up on a brokerage statement. For the same period, an apartment renter who invested in the S&P 500 had to pay rent out of other income.
Adjusting for imputed rent, the all-in home ownership return runs 2-3 percentage points higher than the price appreciation alone. That largely closes the gap with the S&P 500 total return.
Tax Treatment
Mortgage interest deduction (limited but still meaningful), capital gains exclusion ($250,000 single / $500,000 married on primary residence), and property tax deductions all favor real estate. Investment gains on the S&P 500 in a taxable account incur 15-20% capital gains tax at sale plus ordinary income tax on dividends.
For high-income households the after-tax difference can be 1-2 percentage points per year favoring real estate.
The Costs Real Estate Hides
On the other side, real estate has expenses that price appreciation ignores:
- Property tax: 0.5-2.5% of value annually depending on state
- Maintenance: 1-2% of value annually (rule of thumb)
- Insurance: 0.3-0.8% of value annually
- HOA fees (in applicable areas): $100-$1,000/month
- Transaction costs: 6-8% to sell (agent commission, closing costs)
- Mortgage interest (decades of payments)
Total ongoing costs typically run 2-4% of property value per year. Over 25 years, that is 50-100% of the original purchase price spent in maintenance, taxes, and insurance.
The Apples-to-Apples Comparison
After accounting for leverage, imputed rent, taxes, and ownership costs, the realistic 25-year comparison for a primary residence vs S&P 500 looks roughly like:
- Primary residence: 6.5-9.0% effective annualized return, depending on local appreciation, mortgage rate, and tax situation.
- S&P 500 total return: 7.4% annualized, after dividends. After capital gains tax at sale: 6.0-6.5% effective.
Realistic conclusion: a primary residence and the S&P 500 produced roughly comparable after-tax, all-in returns over the last 25 years for a homeowner who held one home for the full period and made reasonable mortgage decisions. Real estate edge: leverage and tax treatment. Stocks edge: liquidity, low transaction costs, no ongoing carrying costs.
The Geography Question
National median home appreciation hides enormous variance:
- San Francisco median home 2000-2025: +320% (5.9% annualized)
- Austin median home 2000-2025: +290% (5.6% annualized)
- Detroit median home 2000-2025: +60% (1.9% annualized)
- Las Vegas median home 2000-2025: +180% (4.2% annualized)
Buying the right home in the right market produced returns that beat the S&P 500 dramatically. Buying the wrong home in the wrong market produced returns that underperformed cash. The S&P 500 had no such variance; it returned the same to every investor regardless of geography.
Investment Property: A Different Calculation
Investment real estate (rental property) has different math from a primary residence. The key variables: rental yield, tenant turnover, management costs, and tax treatment of rental income.
A median U.S. rental property in 2025 generates 6-9% gross rental yield. After property management (10% of gross), maintenance, taxes, and insurance, net yield typically runs 3-5%. Add the price appreciation (4-5% annualized historically) and total return runs 7-10% before leverage, comparable to the S&P 500 total return. Leverage can push this materially higher for investors who underwrite the cash flow conservatively.
The Bottom Line
Over the last 25 years, the S&P 500 with dividends reinvested produced higher headline returns than median U.S. home appreciation. After accounting for leverage, imputed rent, tax treatment, and ongoing ownership costs, the comparison narrows to roughly a wash on average, with significant variance based on geography, mortgage rate, and individual circumstances.
The trade you cannot execute is "real estate or S&P 500." Most successful long-term investors own both: a primary residence (often leveraged 4:1 with a mortgage) and a meaningful S&P 500 position in a tax-advantaged retirement account. The two assets have complementary characteristics. The S&P 500 is liquid and produces no carrying costs. Real estate is leveraged and tax-favored. Owning only one gives up half the diversification benefit.
For more on long-horizon investing, see our analysis of what happens if you never panic sold and $500 a month for 30 years.