How to Invest Money After Selling Property: 1031 Exchange and Taxes

Once a property closes, you generally have a few months before taxes come due and inflation starts trimming idle cash, so how to invest money after selling property comes down to three choices: defer the tax by rolling proceeds into another investment property through a 1031 exchange, redeploy the cash into financial markets, or park it in an insured, interest-bearing account while you decide. Which one fits depends on what you actually netted, what the IRS expects, and whether you want to stay a real estate owner at all.

Start With Your Net Proceeds, Not the Sale Price

Your investable capital is what’s left on the Closing Disclosure after every deduction, not the price the buyer paid.1Consumer Financial Protection Bureau. What Is a Closing Disclosure? Subtract:

  • The mortgage payoff, including any prepayment penalty.
  • Agent commissions, which currently average roughly 5 to 6 percent of the sale price nationwide, though they vary.
  • State and local transfer taxes and recording fees, which range from negligible to several percent depending on jurisdiction.
  • Prorated property taxes and HOA dues through the closing date.

What remains is the real starting number for every decision that follows.

Know What You’ll Owe Before You Invest

The tax picture depends heavily on whether you sold a primary residence or an investment property.

The Primary Residence Exclusion

If the property was your main home, federal law lets you exclude up to $250,000 in capital gains from income, or $500,000 if you’re married filing jointly.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence You must have owned and used the property as your principal residence for at least two of the five years before the sale. Those two years don’t need to be consecutive; they just need to total 24 months, or 730 days, within that window.3eCFR. 26 CFR 1.121-1 – Exclusion of Gain From Sale or Exchange of a Principal Residence Many sellers of a primary home owe no federal capital gains tax because their profit fits inside the exclusion.

Capital Gains and Cost Basis

Your taxable gain is the sale price minus your adjusted basis, which is the original purchase price plus the cost of capital improvements like a new roof, an addition, or rewired electrical.4Internal Revenue Service. Publication 551, Basis of Assets Receipts for those improvements can shave tens of thousands off the gain.

Property held longer than a year qualifies for long-term capital gains rates.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses For 2026, the federal brackets are:

  • 0 percent on taxable income up to $49,450 for single filers or $98,900 for married couples filing jointly.
  • 15 percent above those thresholds up to $545,500 for single filers or $613,700 for joint filers.
  • 20 percent above those amounts.6Internal Revenue Service. Revenue Procedure 2025-32

Most sellers land in the 15 percent bracket, but your rate depends on total taxable income for the year, not just the sale.

Depreciation Recapture on Rentals

This is the tax that surprises rental owners. If you claimed depreciation while you owned the property, and the IRS treats it as claimed whether you deducted it or not, the portion of your gain attributable to prior depreciation is taxed at a maximum rate of 25 percent, on top of the regular capital gains rate on the rest of the profit.7Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed On a rental you’ve held and depreciated for 15 or 20 years, that recapture bill can be substantial.

Net Investment Income Tax

An additional 3.8 percent surtax applies to net investment income, including capital gains, once your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers.8Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax Those thresholds aren’t indexed to inflation, so they catch more taxpayers each year. A large sale can push a normally moderate earner over the line for a single year.

Option 1: Defer the Entire Tax Bill With a 1031 Exchange

If the property was investment or business real estate and you want to stay in real estate, a 1031 exchange lets you roll proceeds into a new property and defer the entire capital gains tax bill, depreciation recapture included. The IRS treats it as a continuation of the same investment rather than a taxable sale.9Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment

Two boundaries first. A 1031 exchange only works for real property used in a business or held as an investment. Since 2018, the Tax Cuts and Jobs Act has eliminated 1031 treatment for personal property like equipment, vehicles, and artwork.10Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips It also never applies to a primary residence; that’s the Section 121 exclusion instead.

The 45-Day and 180-Day Deadlines

The clock starts the day you close on the old property. You have 45 calendar days to formally identify potential replacement properties in writing, and 180 days from the original sale (or the due date of your tax return for that year, whichever comes first) to close on the replacement.9Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment Miss the 45-day mark by a single day and the exchange fails. No extensions.

The “like-kind” test is broader than it sounds. You can trade an apartment building for vacant land, a retail storefront for a warehouse, or a rental home for a commercial office. Both properties just need to be real property held for investment or business use.

Property Identification Rules

Within the 45-day window, your identification has to follow one of three rules:

  • The three-property rule lets you name up to three replacement properties of any value. Most exchangers use this.
  • The 200-percent rule lets you list more than three so long as their total fair market value doesn’t exceed 200 percent of what you sold.
  • The 95-percent exception saves a list that busts both limits, but only if you actually purchase at least 95 percent of what you identified.

Avoiding “Boot”

To defer the full tax, the replacement must equal or exceed the value of what you sold, and you have to reinvest all the net proceeds. Any cash you keep, or any drop in mortgage debt, becomes “boot” and is taxed immediately.9Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment Sell a $600,000 rental and buy a $500,000 replacement, and the $100,000 gap is taxable. Same logic applies if the old mortgage was $200,000 and the new one is $150,000; that $50,000 reduction is also boot.

The Qualified Intermediary Rule

You cannot touch the money. Sale proceeds must go directly from the closing table to a Qualified Intermediary who holds the funds until they’re used to buy the replacement. If the money runs through your bank account even briefly, the IRS treats the transaction as a completed sale and the exchange is dead. The intermediary can’t be someone who has acted as your agent within the past two years, such as your attorney, accountant, or real estate broker.

Vacation Homes and Second Homes

A vacation home can qualify, but only if it was genuinely held as a rental. The IRS safe harbor requires that in each of the two years before the exchange (for the property sold) or after the exchange (for the replacement), the home be rented at fair market rates for at least 14 days, with personal use no greater than 14 days or 10 percent of the rental days, whichever is more.11Internal Revenue Service. Revenue Procedure 2008-16 – Safe Harbor for Dwelling Unit Qualification Under Section 1031 You also need to own the property for at least 24 months on each side. A beach house you use every summer and occasionally rent probably won’t clear the bar.

Option 2: Redeploy Into Financial Markets

If you want out of real estate entirely, financial markets let the money keep working without tenants or maintenance calls.

Broad market index funds are the simplest destination and where most financial advisors point first. A single fund tracking the S&P 500 gives you fractional ownership of roughly 500 of the largest U.S. companies, so you’re effectively swapping one building for a slice of the whole economy. Fees are typically a fraction of a percent annually, and over long horizons index funds have historically outperformed most actively managed alternatives.

Exchange-traded funds work similarly but trade throughout the day like individual stocks. They’re useful for targeting a specific sector such as technology, healthcare, or energy, or a specific strategy like dividend income or international exposure.

Individual dividend stocks appeal to former landlords who liked the regular income. Dividend-paying companies distribute a portion of profits to shareholders, usually quarterly. The trade-off: dividends can be cut in a downturn, while a lease guarantees rent for its term.

Real estate investment trusts are a middle path for exposure to real estate without owning property. REITs own income-producing portfolios of apartments, offices, warehouses, and hospitals, and are required to distribute at least 90 percent of taxable income to shareholders as dividends. You can buy publicly traded REITs through any brokerage account.

Option 3: Park It Safely While You Decide

Leaving large proceeds in a checking account earning 0.01 percent is an expensive way to procrastinate. A few short-term options protect your principal and still pay meaningful interest.

High-yield savings accounts currently offer annual percentage yields around 4 percent, roughly seven times the national average for standard savings. Funds stay accessible, and there’s no lockup. The rate moves with the broader interest rate environment.

Certificates of deposit lock the money for a fixed term, from three months to five years, at a fixed rate. You know what you’ll earn regardless of what rates do, but breaking a CD early costs a penalty of several months of interest. A CD ladder, splitting proceeds across staggered maturity dates, gives you periodic access without breaking any single certificate.

Money market funds hold short-term, low-risk debt and aim to keep a stable one-dollar share price. They generally yield more than savings accounts and often allow checks or transfers, which makes them a workable holding tank between decisions.

Insurance Limits to Watch

Holding hundreds of thousands in cash makes federal insurance caps a real concern. FDIC insurance covers $250,000 per depositor, per bank, per ownership category.12FDIC. Deposit Insurance FAQs If your net proceeds exceed that, spread the funds across multiple banks or use different ownership categories (individual, joint, trust) to stay covered. Brokerage accounts carry separate SIPC protection up to $500,000 in securities and cash, with a $250,000 cash sublimit.13SIPC. What SIPC Protects Neither program protects against investment losses; both cover the failure of the institution.

Have the Destination Account Ready Before Closing

One practical step people overlook: open the receiving account before closing day. A brokerage account, a high-yield savings account, or a Qualified Intermediary agreement all need to exist when the wire goes out. You’ll give the escrow or title company routing and account details for the wire.

For a 1031 exchange, the wiring instructions must point to the Qualified Intermediary’s account, not yours. Confirm in advance that the account is set up to receive the wire and that the intermediary will acknowledge receipt. Once funds arrive, check the amount against the net proceeds line on your Closing Disclosure. Discrepancies are much easier to resolve in the first few days than weeks later.

Reporting the Sale to the IRS

Selling property triggers reporting whether or not you owe tax. The closing agent or title company issues a Form 1099-S with the sale price. You report the transaction on Form 8949, which reconciles that price against your cost basis, and carry the totals to Schedule D of Form 1040.14Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets Even if the full gain is excluded under Section 121, the IRS may want documentation when the sale wasn’t reported on a 1099-S or when the gain exceeded the exclusion.

A completed 1031 exchange goes on Form 8824 for the year of the exchange, filed in place of a Schedule D gain.15Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges The form asks for dates, values, and the identity of the Qualified Intermediary for both properties. Keep those records indefinitely; you’ll need the original basis and exchange details when you eventually sell the replacement in a taxable transaction.