Notes  /  Guide
Guide

1031 exchange: sell your Miami property without paying the capital gains tax now

Carlos Balart · 2026-07-13 · 7 min read

You bought an investment property in Miami. It appreciated, and now you want to sell. Then you run the numbers and the federal capital gains tax takes a large bite out of the gain you built over the years. The sale that looked like a win suddenly looks like a smaller one, and you start wondering whether it's even worth doing.

There is a legal way to sell and not pay that tax now: the 1031 exchange. It won't erase the tax, but it lets you defer it — indefinitely, if you keep reinvesting — by rolling your gain into another property. This note explains how it works, the strict deadlines, and the one extra step that matters if you are a foreign seller.

What is a 1031 exchange?

A 1031 exchange takes its name from Section 1031 of the U.S. Internal Revenue Code. In plain terms, it lets you sell an investment property and reinvest the proceeds into another "like-kind" property without recognizing the capital gain at the time of sale. For real estate, "like-kind" is broad: you are exchanging real property for real property. A Brickell condo you rent out can be exchanged for a duplex, a small retail building, or land held for investment — the IRS treats them as like-kind because they are all real property held for productive use in a trade or business or for investment. (IRS — Like-Kind Exchanges)

How it works: defer, don't eliminate

This is the point people misunderstand. A 1031 exchange does not make the tax disappear. It defers it. Your original cost basis follows you into the replacement property, so the built-in gain is still there — you simply don't pay tax on it in the year you sell, as long as you reinvest under the rules. The IRS is explicit: in a proper like-kind exchange "you are not required to recognize a gain or loss under Internal Revenue Code Section 1031." (IRS)

Investors use this to keep their capital working: instead of losing a chunk of equity to tax on every sale, they compound the full amount into the next, larger property. If you never sell for cash — if you keep exchanging — the deferral can continue for a very long time.

The timing rules: 45 days and 180 days

The deferral comes with deadlines that the IRS does not bend. Two clocks start the day you close the sale of your old property, and they run at the same time:

There are no weekend or holiday extensions. Miss the 45-day window and the exchange fails; the whole gain becomes taxable.

You cannot touch the money: the qualified intermediary

A 1031 exchange is not "sell, pocket the cash, then buy something." If you take possession of the proceeds — even for a day — the exchange is dead and the sale is fully taxable. IRS regulations require a qualified intermediary (QI): an independent party who holds the sale proceeds in escrow, handles the identification paperwork, and uses the funds to buy your replacement property. (IRS Fact Sheet FS-2008-18) Lining up the QI before you close the sale is essential — it cannot be added afterward.

Equal or greater value

To defer all of the gain, your replacement property must be of equal or greater value, and you must reinvest all of the net proceeds. If you buy something cheaper or pull cash out, the leftover — the IRS calls it "boot" — is taxable. As the IRS puts it, if you also receive "other (not like-kind) property or money, you must recognize a gain to the extent of the other property and money received." (IRS) In practice: trade up, don't trade down, and don't take money off the table if the goal is full deferral.

The nuance for foreign sellers: 1031 and FIRPTA

If you are a non-U.S. resident selling Miami real estate, there is a second layer: FIRPTA (the Foreign Investment in Real Property Tax Act). Under FIRPTA, the buyer must generally withhold 15% of the gross sale price and send it to the IRS — because the seller is foreign. (IRS — FIRPTA Withholding)

Here is the trap: that 15% withholding can still apply even when you are doing a 1031 exchange. If 15% of the sale price gets sent to the IRS, that's cash pulled out of your exchange — money you needed to buy the equal-or-greater replacement property. The fix is to apply, before closing, for a withholding certificate on Form 8288-B, which lets you request reduced or zero withholding when the transaction qualifies for nonrecognition. (IRS — FIRPTA Withholding) This has to be coordinated tightly with your qualified intermediary and a tax advisor; the timing is unforgiving. If you want the full picture on the foreign-seller withholding on its own, see our note on FIRPTA when selling your Miami property as a foreigner.

What does not qualify

A 1031 exchange is a specific tool with hard edges. It does not cover:

How to start: the valuation comes first

Before any of the mechanics, you need one number: what your Miami property is actually worth in today's market. A 1031 exchange only makes sense if the sale price, the gain, and the replacement target line up — and that math starts with a real valuation, not a guess. That's the first step I can give you at no cost: a market valuation of your property using public-record data and real comparables from your building.

From there, if the numbers support it, the sequence is straightforward: engage a qualified intermediary before you list, plan the replacement property so you can meet the 45-day identification window, and — if you're a foreign seller — get the FIRPTA withholding certificate moving early. I coordinate the whole process for international owners, remotely and in your language.

One caveat, said plainly: this note is general information, not tax advice. The specifics of your exchange should be confirmed with a qualified intermediary and your tax advisor before you sign anything.

Frequently asked questions

What is a 1031 exchange?

It's a provision of the U.S. tax code (Section 1031) that lets you defer the federal capital gains tax when you sell an investment property and reinvest the proceeds into another like-kind property — real estate for real estate. The tax is deferred, not erased; it rolls into the new property.

What are the 45-day and 180-day rules?

After you sell, you have 45 days to identify the replacement property in writing and a total of 180 days to close on it. Both clocks start at the sale and run at the same time, with no weekend or holiday extensions.

Does FIRPTA still apply if a foreign seller does a 1031 exchange?

Yes. The 15% FIRPTA withholding on the sale price can still apply. To keep that cash inside your exchange, a foreign seller typically files Form 8288-B before closing to request reduced or zero withholding, coordinated with the qualified intermediary and a tax advisor.

Does a 1031 exchange work for my primary residence?

No. Section 1031 covers only property held for business or investment. Your home does not qualify — a different tax rule governs the sale of a primary residence.

Selling a Miami investment property?

A 1031 is won before closing, not after. Tell me what you're selling and when you close, and I'll tell you whether the exchange works for you and what deadlines you're facing.

More notes worth reading