Deciding what to do with home sale equity comes down to a sequence: reserve what you owe in taxes, park a cash cushion for the move and the months after it, erase any high-interest debt, size the down payment on your next place, and invest the rest. Do it in that order and the windfall does real work. Skip a step and you can end up putting moving expenses on a credit card three weeks after paying one off.
First, Figure Out What the IRS Will Take
Under Section 121 of the Internal Revenue Code, you can exclude up to $250,000 of gain on the sale of your primary residence from federal income tax. Married couples filing jointly can exclude up to $500,000. To qualify, you must have owned the home and lived in it as your main residence for at least two of the five years before the sale, and you can’t have claimed the exclusion on another home sale within the prior two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence You do not have to buy another home to keep the exclusion. That rule ended in 1997. The exclusion applies automatically once you meet the ownership and use tests, whatever you do with the proceeds.
Your taxable gain isn’t just the sale price minus what you paid. Start with your adjusted cost basis: the original purchase price plus permanent improvements like a new roof, a kitchen remodel, or added square footage. Receipts for those projects directly shrink the gain.2Internal Revenue Service. Publication 551 – Basis of Assets Broker commissions and legal fees at closing reduce the gain too, though they don’t reduce the gross proceeds figure on the Form 1099-S your closing agent files with the IRS.3Internal Revenue Service. Instructions for Form 1099-S
Anything above the exclusion is taxed at long-term capital gains rates, assuming you owned the home for more than a year. For 2026, most sellers pay 0% if their total taxable income falls below roughly $49,450 (single) or $98,900 (joint), 15% in the middle brackets, and 20% only at the top.4Internal Revenue Service. Topic No. 409 – Capital Gains and Losses A retired couple with modest pension income and a gain slightly above their $500,000 exclusion can end up owing nothing in federal capital gains tax.
The 3.8% Surtax for Higher Earners
A 3.8% net investment income tax kicks in when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). Those thresholds aren’t indexed for inflation, so they catch more taxpayers every year. Gain excluded under Section 121 doesn’t count toward the surtax, but any recognized gain above the exclusion does. In a year with a large taxable home-sale gain, this can push your effective rate on that gain to 18.8% or 23.8%.5Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The IRS walks through a home-sale example on its FAQ page.6Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
If You Sold Before the Two-Year Mark
Sell before hitting two years and you may still qualify for a reduced exclusion if you moved because of a job relocation (generally at least 50 miles farther from the home), a health issue, or an unforeseeable event like a natural disaster, divorce, or the birth of multiples. The calculation takes the number of days you lived in the home, divides by 730, and multiplies by $250,000 (or $500,000 for joint filers). Fifteen months of residence before a qualifying job transfer works out to roughly a $156,000 exclusion as a single filer.7Internal Revenue Service. Publication 523 – Selling Your Home
Depreciation Recapture From a Home Office or Rental Use
If you claimed depreciation on part of your home because you used it as a home office or rented out a portion, you owe tax on those deductions at sale. The gain attributable to prior depreciation is taxed at a maximum rate of 25%, separate from your capital gains rate, and the Section 121 exclusion does not shield it.8eCFR. 26 CFR 1.453-12 – Allocation of Unrecaptured Section 1250 Gain One exception: if you used the simplified home office deduction (the flat $5-per-square-foot method), you never claimed actual depreciation, so there is nothing to recapture.9Internal Revenue Service. Simplified Option for Home Office Deduction
Reporting and Estimated Payments
Even if your entire gain is excluded, you must report the sale on your federal return if you received a Form 1099-S or if your gain exceeds the exclusion.10Internal Revenue Service. Topic No. 701 – Sale of Your Home Reporting flows through Form 8949 and Schedule D.11Internal Revenue Service. Instructions for Form 8949 If you’ll owe tax on the gain, don’t wait for April. The IRS expects you to pay through the year, and a large mid-year gain usually means making an estimated payment with Form 1040-ES to avoid an underpayment penalty.12Internal Revenue Service. Large Gains, Lump Sum Distributions, Etc. One boundary worth knowing: if you sold at a loss on a personal residence, that loss isn’t deductible.13Internal Revenue Service. What if I Sell My Home for a Loss
Build the Cash Reserve Before Anything Else
Set aside enough liquid cash to cover three to six months of living expenses before you commit money elsewhere. A high-yield savings account or money market account keeps it accessible while earning something. FDIC insurance covers up to $250,000 per depositor, per insured bank, for each ownership category, so a joint account at one bank is insured up to $500,000.14FDIC. Deposit Insurance At A Glance If your proceeds exceed those limits, spread deposits across multiple insured banks.
The reserve absorbs what comes right after a sale: movers, repairs on the new place, temporary housing when timelines don’t line up, and the appliance that dies the week you move in. Unlike money in a brokerage account, cash reserves don’t drop on a bad market day and don’t create a tax event when you spend them. Getting this in place first is what prevents the scramble where a surprise expense ends up on a credit card and undoes the debt payoff you’re about to make.
Wipe Out High-Interest Debt
If you carry credit card balances at 20% or more, no savings account or investment reliably beats the guaranteed return of eliminating that interest. The “return” equals whatever rate you were paying, and it’s risk-free.
Before sending money, ask each lender for a payoff statement showing the exact amount owed through your planned payment date. The number on your monthly statement will be lower because interest keeps accruing daily. Auto loans and personal loans at rates above what savings accounts pay are worth targeting too, though the math is less dramatic than with cards. Once those monthly payments disappear, the freed-up cash flow can rebuild reserves or feed retirement contributions.
Size the Down Payment on Your Next Home
A larger down payment lowers your loan-to-value ratio, which affects both your interest rate and whether you pay for private mortgage insurance. Lenders generally require PMI when the down payment is less than 20% of the purchase price, so clearing that threshold from your sale proceeds eliminates a cost that builds no equity.15Consumer Financial Protection Bureau. CFPB Provides Guidance About Private Mortgage Insurance Cancellation and Termination
A lower loan balance also means less lifetime interest. On a 30-year loan, the difference between putting 10% down and 25% down can easily exceed $100,000 in total interest on a median-priced home, and lenders often quote slightly better rates to borrowers with more equity in the deal. The tradeoff is liquidity. Money locked in the walls of a house isn’t available for emergencies, so don’t drain your entire proceeds into the down payment at the expense of your reserve and debt payoff.
Invest What’s Left
With taxes reserved, cash cushion in place, debt cleared, and the down payment set, remaining proceeds can go into investment accounts. If you have earned income, a traditional or Roth IRA is a tax-efficient first stop. The 2026 annual contribution limit is $7,500, or $8,600 if you’re 50 or older.16Internal Revenue Service. Retirement Topics – IRA Contribution Limits Those limits are small next to most home sale windfalls. If you have a 401(k) or similar workplace plan, you can crank up your payroll deferrals and live off the sale proceeds in the meantime, effectively routing more into a tax-advantaged account than the IRA limit alone allows.
Anything past tax-advantaged capacity goes into a standard brokerage account. No contribution limit, no upfront tax break, but full flexibility to withdraw without penalty. Spreading the money across a mix of index funds, bonds, and other asset classes gets you out of the concentration risk of having your entire net worth in one house. Just keep money you’ll need in the next few years out of the market and in cash.