Should you invest in real estate or stocks? Both investments have pros and cons you need to understand.
Many, or all, of the products featured on this page are from our advertising partners who compensate us when you take certain actions on our website or click to take an action on their website. However, this does not influence our evaluations. Our opinions are our own. Here is a list of our partners and heres how we make money.
The investing information provided on this page is for educational purposes only. NerdWallet, Inc. does not offer advisory or brokerage services, nor does it recommend or advise investors to buy or sell particular stocks, securities or other investments.
Investing in real estate may seem like a smart financial move, but it may be even smarter to compare it to investing in stocks before making any big decisions.
For years, I’ve been wrestling with this financial dilemma that keeps most of us awake at night: should I buy a house or just invest my money elsewhere? Like many of you, I grew up thinking home ownership was the golden ticket to wealth building. It’s just one of those checkboxes everyone rushes to tick off, right?
But lately I’ve been crunching numbers and questioning everything I thought I knew about this “adult milestone.” Let me share what I’ve discovered when pitting homeownership against investing in the stock market – the results might surprise you as much as they surprised me.
The Traditional Wisdom We’ve All Heard
Before diving into calculations let’s acknowledge what we’ve all been told
- “Renting is throwing money away”
- “Real estate always goes up”
- “A house is the best investment you’ll ever make”
- “You need to get on the property ladder as soon as possible”
Sound familiar? These sayings have been passed down like financial gospel. But when I actually put everything into a spreadsheet, the numbers told a different story
Breaking Down the Numbers: A Real Example
Let me walk you through a scenario based on real numbers from the San Francisco Bay Area (though the principles apply anywhere):
The Housing Scenario:
- House price: $1,100,000
- Down payment: 20% ($220,000)
- Monthly rent equivalent: $3,400
- Mortgage rate: 5.5%
- Property tax: 1.15% annually
- Maintenance costs: 1.7% of home value annually
- Insurance: $1,400 per year
- Closing costs: 5% one-time
- Assumed house appreciation: 5.5% annually
The Investment Alternative:
- Same down payment ($220,000) invested in an index fund
- Plus the difference between mortgage+costs and rent invested monthly
- Assumed annual return: 7% (conservative for S&P 500)
- Assumed inflation: 3% annually
The Shocking Results After 30 Years
When I ran the numbers over a 30-year period, here’s what I found:
Home Ownership Path:
- House value after 30 years: ~$5.5 million
- But after accounting for all costs (mortgage interest, property taxes, maintenance, insurance), the actual earnings were only around $1.8 million
Investment Path:
- Taking the down payment + all the extra monthly expenses that would’ve gone to homeownership and investing them in an index fund
- Subtracting 30 years of rent payments (approximately $2 million)
- The total gain: $5.4 million
That’s a difference of over $3.5 million in favor of investing! Even when I adjusted the mortgage rate down to 3%, the home ownership route still only yielded about $2.3 million.
Why Is This So Counterintuitive?
The reason most people don’t realize this is because we tend to focus only on a few aspects of homeownership:
-
We overvalue appreciation – Yes, homes typically go up in value, but so do stocks (usually at higher rates)
-
We underestimate true costs – When you add up property taxes, insurance, maintenance, and mortgage interest, owning is extremely expensive
-
We forget opportunity costs – The money tied up in your home isn’t working as hard as it could be in the market
-
We discount rent stability – While rent increases over time, fixed mortgage payments become a smaller portion of income as your earnings grow
The Hidden Advantages of Each Option
Homeownership Advantages:
- Forced savings – Your mortgage payment builds equity over time
- Tax benefits – Mortgage interest and property tax deductions
- Stability – No landlord can evict you
- Psychological benefits – Many people feel more secure owning
- Leverage – You control a large asset with a relatively small investment
Investment Advantages:
- Liquidity – Easier to access your money if needed
- Diversification – Not all your eggs in one basket
- Lower transaction costs – Buying/selling stocks is much cheaper than real estate
- No maintenance headaches – No surprise roof repairs or plumbing disasters
- Potentially higher returns – Historically, the stock market outperforms housing
What Most Financial Advisors Won’t Tell You
Here’s the truth: a house you live in isn’t truly an investment – it’s a place to live that might appreciate. When you buy a home, you’re essentially running a small business where you are both the landlord AND the tenant. You’re paying yourself rent, but you’re also responsible for all the costs.
This creates an accidental double-counting problem where people see their home as both shelter AND an investment, when financially it’s more complex than that.
When Buying a House Makes Financial Sense
Despite everything I’ve said, there ARE scenarios where buying wins:
-
When you live in an area with very high rent-to-price ratios – Some markets offer better value for buyers
-
When you plan to stay put for a very long time – The longer you stay, the more the math tilts toward buying
-
When you have stable income and want payment predictability – Fixed-rate mortgages don’t increase with inflation
-
When you want to use real estate as a wealth-transfer vehicle – Passing property to heirs has tax advantages
-
When you’re disciplined enough to invest the savings – If you’d spend rather than invest the difference, buying forces savings
The Non-Financial Considerations
Money isn’t everything, and homeownership provides benefits that are hard to quantify:
- Freedom to renovate – No permission needed to paint or remodel
- Emotional security – Many people simply sleep better knowing they own their home
- Community connection – Homeowners often develop deeper roots in their neighborhoods
- Pride of ownership – There’s something satisfying about owning your own place
How to Decide What’s Right for You
Here’s my framework for making this decision:
Step 1: Run the numbers for YOUR situation
Don’t rely on general rules of thumb. Use a buy vs. rent calculator with your actual numbers.
Step 2: Consider your lifestyle needs
- How long will you stay in one place?
- Do you value flexibility or stability more?
- Do you enjoy home maintenance or hate it?
Step 3: Be honest about your financial discipline
- Will you actually invest the difference if you rent?
- Are you good at saving for large expenses like maintenance?
Step 4: Think about your other financial goals
- Do you need liquidity for other investments or education?
- Are you adequately saving for retirement already?
A Hybrid Approach That Might Work Best
The smartest strategy might be what I call the “Own Where You Live, Invest What You Can” approach:
- Buy a modest home that meets your needs but doesn’t stretch your budget
- Make extra principal payments to build equity faster
- Simultaneously invest in index funds with whatever you can afford
- As your income grows, increase both your home equity and your investments
This balanced approach gives you the security of homeownership while still capturing the superior returns of the market.
After putting everything into a spreadsheet and playing with different scenarios, I’ve come to a surprising conclusion: homeownership is more of a lifestyle choice than an investment strategy.
If building maximum wealth is your primary goal, investing in a diversified portfolio will likely outperform a home purchase in most markets. However, if stability, control, and the intangible benefits of ownership matter more to you, buying might still be the right choice.
The key insight I’ve gained is that the “American Dream” of homeownership isn’t necessarily the best path to wealth. It’s a perfectly valid life choice, but it’s not the financial no-brainer we’ve been led to believe.
Questions to Ask Yourself Before Deciding
- Do I have enough saved for a 20% down payment PLUS an emergency fund?
- Am I planning to stay in this location for at least 5-7 years?
- Would my monthly housing costs (including maintenance) be manageable if my income dropped?
- Could I earn more by investing my down payment elsewhere?
- How much do I value the non-financial benefits of homeownership?
Final Thoughts
The biggest revelation for me was realizing I’d been operating under false assumptions for nearly 40 years of my life. Society pushes homeownership as the “responsible adult” thing to do, but when you look at the cold, hard numbers, it’s not always the wealth-building tool we think it is.
Whether you choose to buy or invest (or some combination), the most important thing is making a conscious, informed decision based on YOUR unique situation rather than blindly following conventional wisdom.
I’m curious: have you done this math for yourself? What did you discover? And how much do the non-financial aspects of homeownership matter to you? This conversation is always evolving, and I’m still refining my own thinking on it.
Remember, the best financial decision is the one that helps you sleep at night – whether that’s under a roof you own or one you rent while your investments grow elsewhere.

Real estate vs. stocks: Which makes more money?
There are lots of metrics you can look at when figuring out if investing in real estate or stocks will make you more money. If youre going to attempt to answer that question you have to decide what type of real estate youre comparing to which stocks. The average stock market return, as measured by the S&P 500 index, is about 10% per year. Some years are up, some years are down, but over time, if you invested in an S&P 500 index fund, youd average about 10% minus inflation.
From 1972 to 2019, REITs, on average, returned an 11.8% total annual return compared to the S&Ps 10.6%Morningstar . Time for a Second Look at REITs. Accessed May 20, 2024.View all sources. Thats not to say that REITs always perform better than the S&P 500. Each investment you make should be examined closely and taken into consideration with the rest of your investment portfolio. And, if you invested in an S&P 500 index fund and a REIT, you would have more diversification than if you invested in one or the other.
The pros
- Investing in real estate is easy to understand. While the homebuying journey can be complicated, the basics are simple: Purchase a property, manage upkeep (and tenants, if you own additional properties beyond your residence), and attempt to resell for a higher value. Also, owning a tangible asset can make you feel more in control of your investment than buying slivers of ownership in companies through shares of stocks.
- Investing with debt is safer with real estate. Also known as your “mortgage,” you can invest in a new property with a 20% down payment or less and finance the rest of the property’s cost. Investing in stocks with debt, known as margin trading, is extremely risky and strictly for experienced traders.
- Real estate investments can serve as a hedge against inflation. Real estate ownership is generally considered a hedge against inflation, as home values and rents typically increase with inflation.
- There can be tax advantages to property ownership. Homeowners may qualify for a tax deduction for mortgage interest paid on up to the first $750,000 in mortgage debt. There also are tax breaks when you sell a principal residence, such as an exclusion that may allow you to avoid capital gains taxes on net proceeds of $250,000 if you’re single (or $500,000 if you’re married and filing jointly). If you own and sell commercial property, you may be able to avoid capital gains through a 1031 exchange (if you reinvest proceeds in a similar type of property). And investment properties can earn tax breaks through depreciation, or writing off wear and tear on the property. Learn more about tax breaks related to homeownership in this tax guide.
» Ready to start investing? Check out the best real estate crowdfunding platforms
Which Investment Makes More MONEY? House or S&P 500
FAQ
Is it better to buy a house or invest in the market?
Investments typically provide better long term returns than a home. Equity is more often built by paying down a mortgage, not by home value increases, so the rate of gain for an outright purchase is slow.
How much will $10,000 invested be worth in 10 years?
The table below shows the present value (PV) of $10,000 in 10 years for interest rates from 2% to 30%. As you will see, the future value of $10,000 over 10 years can range from $12,189.94 to $137,858.49.
What if I invest $1000 a month for 5 years?
If you would have invested ₹1,000 per month for 5 years at a conservative 10% p.a. return, you could have accumulated around ₹77,437 today. If you would have consistently invested ₹1,000 per month for 10 years, you could have accumulated a corpus of around ₹2,04,845 today (assumed returns of 10% p.a.).
What salary to afford a $400,000 house?
To afford a $400,000 house, you typically need an annual income between $100,000 to $125,000, which translates to a gross monthly income of approximately $8,333 to $10,417, based on a $400,000 home price. However, this is a general range, and your specific circumstances will determine the exact income required.