Short answer
When you relocate or downsize, compare renting versus buying in the new place with equal monthly cash flows and after-tax terminal wealth. Selling a qualifying main home may exclude up to $250,000 of gain ($500,000 if married filing jointly). The rent-and-invest path can owe capital gains tax (and sometimes NIIT) when you sell the portfolio. Home prices can rise or fall — model scenarios. There is no universal winner. First-time buyers can use the same frame; the hub’s main path starts from a possible retirement move.
Who this is for
Use this guide if you are deciding whether to rent or buy your next home when you move, downsize, or relocate around retirement — including whether to sell or keep your current place. The same after-tax comparison also works for a first purchase or a later move.
If daily personal-care needs are rising beyond what any house can safely provide, that is a care-needs decision — not automatically a rent-vs-buy spreadsheet. See the daily-support housing guide.
A fair comparison framework
Equal cash flows · after-tax terminal wealth
Hold monthly out-of-pocket roughly equal. On the buy side, track PITI, HOA, insurance, maintenance, and the down payment you could otherwise invest. On the rent side, track rent, renter’s insurance, and invest the difference (including the down payment and closing cash you did not spend). At your horizon, compare: home equity after selling costs and any taxable gain you cannot exclude, versus the after-tax value of the investment account. Label every return, rent-growth, and home-price path as an assumption.
What the old “rent and invest wins on paper” story misses
A pretax 7% compound on the rent-side surplus can look decisive until you tax it — and until you give the buy side a price path and the §121 exclusion.
Investment account taxes
Taxable brokerage gains are generally capital gains when you sell. Assets held more than one year can qualify for long-term rates (often 0%, 15%, or 20% by taxable income). Dividends and interest can create tax drag along the way. Higher-income households may also owe the 3.8% net investment income tax. See IRS Topics 409 and 559.
Primary-home sale exclusion (§121)
If you sell your main home and meet the ownership and use tests (generally owned and lived in as your main home for at least 2 years of the 5 years ending on the sale date), you may exclude up to $250,000 of gain, or $500,000 if married filing jointly and both spouses meet the use test (with ownership met by either spouse). You generally cannot claim the full exclusion if you already excluded gain on another home in the prior two years. Details and exceptions: IRS Topic 701 and Publication 523. The excluded portion of principal-residence gain is generally not subject to NIIT.
Home prices are a scenario, not a promise
Ignoring appreciation on the house while giving the rent-side portfolio a market return is asymmetric. Model flat prices, a modest real gain, and a decline. The FHFA House Price Index shows that local prices rise and fall; some downturns are deep and long. Do not write a plan that only works if prices “always go up.”
Amortization and leverage
Part of each mortgage payment reduces principal — that is forced saving. Leverage magnifies gains if the home’s value rises, and magnifies losses if it falls or if you must sell with thin equity. Closing and selling costs (often modeled as a mid-to-high single-digit percentage round-trip — label your own assumption) need a long enough stay to amortize.
The 5% rule — still useful, no longer the verdict
As a quick screen, unrecoverable owning costs are often sketched as roughly 1% property tax + 1% maintenance + a cost-of-capital slice for interest and forgone returns on equity — sometimes summarized near 5% of price per year. That is a rule of thumb, not a law. Local taxes, insurance, HOA, rates, and down-payment size move the number. Use it to decide whether a full after-tax model is worth your time — not to declare a winner.
Illustrative screen (not a forecast)
A $400,000 home. These figures are labeled assumptions for teaching the frame — not predictions and not advice.
Own · unrecoverable screen
~$20,000/yr
$400,000 × an assumed 5% unrecoverable slice (taxes, maintenance, cost of capital). Principal is not in this slice.
Rent · comparable
$19,200/yr
Assumed $1,600/month rent before rent growth. Roughly a wash on this screen — horizon and taxes decide.
Why the old “$44,300” punchline was incomplete
If rent were $1,400/month, a $3,200/year surplus invested at an assumed 7% for 10 years is about $44,300 pretax. After long-term capital gains tax (and any dividend drag or NIIT), the spendable gap shrinks. On the buy side, even flat home prices still leave amortized equity, and a qualifying §121 sale can shelter a large gain if prices rose. Flip either assumption and the ranking can reverse.
Illustrative math only. Your rent, taxes, returns, selling costs, filing status, and stay length will differ. There is no universal winner.
What changes the answer?
Holding period
Short stays struggle to recover buy and sell costs. Longer stays spread those costs and let amortization and any price path matter more.
Mortgage rate and down payment
Higher rates raise the unrecoverable interest slice. A larger down payment cuts interest but raises opportunity cost on capital that could stay invested.
Local price-to-rent
Your metro’s rents, taxes, and insurance matter more than a national debate. Compare a real rental alternative to the specific house.
Tax filing status
Single vs joint changes the §121 cap. Itemizing may or may not make mortgage interest and property tax deductions valuable after SALT and standard-deduction thresholds — confirm current IRS limits.
Retirement liquidity (45–65)
Home equity is slow to tap. If you need flexible spending in early retirement, a smaller house plus invested assets can beat a large illiquid balance — or not, if housing costs would otherwise spike.
Stability vs mobility
Schools, community, healthcare access, and one-level living are real. Price them honestly instead of hiding them inside “equity builds wealth.”
Practical checklist
- Write down expected years in the home and a forced-sale plan if income drops.
- Build equal-cash-flow columns: buy (PITI, HOA, insurance, maintenance, reserves) vs rent + invest the difference.
- Tax the rent-side portfolio on paper (long-term gain, dividends, possible NIIT).
- Check §121 eligibility before assuming a tax-free home sale.
- Run at least three home-price paths: down, flat, up — using local history as context, not a promise.
- Include buy and sell costs and the months of cash you need after closing.
Watch out for
- <strong>“Rent is throwing money away.”</strong> Interest, taxes, insurance, maintenance, and HOA are unrecoverable on the buy side too.
- <strong>Pretax rent-and-invest charts.</strong> Taxes on the portfolio can erase a paper “win.”
- <strong>Guaranteed appreciation stories.</strong> FHFA data show local declines as well as gains.
- <strong>Stretching to the pre-approval maximum.</strong> Lender approval is not a sustainable budget — see the affordability guide.
- <strong>Ignoring selling friction near retirement.</strong> Listing, repairs, and timing risk matter when you need the cash.
Primary sources
- IRS Topic No. 701, Sale of your home — $250,000 / $500,000 exclusion, ownership and use tests
- IRS Publication 523, Selling Your Home — Eligibility, basis, reporting, partial exclusion
- IRS Topic No. 409, Capital gains and losses — Long-term vs short-term rates; personal-use loss not deductible
- IRS Topic No. 559, Net investment income tax — 3.8% NIIT; excluded principal-residence gain generally not NIIT
- IRS Topic No. 503, Deductible taxes — SALT overall limit (confirm current dollar amounts on the IRS page)
- IRS Publication 936, Home Mortgage Interest Deduction — Acquisition debt limits; itemizing required
- FHFA House Price Index — Repeat-sales index; prices rise and fall by place and time
Rules and figures can change. Confirm on the linked pages before you act.
What should you look at next?
Last updated November 2026. Educational content for U.S. households ages 45–65 and anyone making a housing decision — not tax, legal, or investment advice.