Capital Gains Tax on Investment Property

What Miami investors actually owe when selling commercial or investment real estate, and how the timeline of a sale changes the tax outcome.

The tax bill on selling investment property is not one number, it is a stack: federal capital gains tax on the appreciation, depreciation recapture on what you have written off, and potentially the Net Investment Income Tax layered on top for higher earners. Sellers who only budget for one of these are usually surprised by the closing statement, and the surprise is bigger the longer the hold, because more years of depreciation means a larger recapture bill waiting at the end.

Miami's investment property market covers a lot of ground, from a single office condo in Brickell to a light-industrial building near the airport, and the tax treatment on the sale side is largely the same across asset types once you are past the question of how the property was used.

What Counts as Investment Property for Tax Purposes

The IRS distinction that matters is whether the property was held for investment or business use rather than as a personal residence. A rental condo, an office building, a retail strip, a warehouse, and raw land held for appreciation all fall under investment property tax treatment, meaning no Section 121 exclusion, but eligibility for 1031 exchange deferral if you are staying invested in real estate.

How the Holding Period Changes the Math

Property held more than a year qualifies for long-term capital gains rates, which are meaningfully lower than ordinary income rates. Property flipped within a year is taxed as ordinary income, which is why short-term commercial flips carry a much heavier tax load than a straightforward long-term hold and sale. For an investor deciding whether to sell now or wait a few months to cross the one-year mark, that distinction alone can be worth running the numbers on before signing a contract.

Selling With a Loan Still on the Property

An outstanding mortgage does not reduce your taxable gain, since gain is calculated off sale price and adjusted basis, not equity. A seller who nets relatively little cash after paying off a large loan can still owe tax on the full gain, which catches leveraged investors off guard more often than unleveraged ones. If a 1031 exchange is part of the plan, the debt on the relinquished property generally needs to be replaced with equal or greater debt (or additional cash) on the replacement side to avoid triggering taxable boot.

The Deferral Path for Investors Staying in Real Estate

A 1031 exchange defers the full stack of capital gains tax, depreciation recapture, and the related Net Investment Income Tax exposure, as long as the sale proceeds move into a qualifying replacement property through a qualified intermediary within the 45-day identification and 180-day closing windows. It is not a strategy for an investor planning to cash out and stop owning real estate, since that path pays the tax stack in full. It is built for the investor who wants to trade up, consolidate several smaller Miami properties into one, or shift asset types while keeping the sale proceeds fully working.

Weighing a Sale Against Continuing to Hold

Not every investor should reflexively exchange. Someone close to retirement who wants to simplify their holdings, reduce management responsibilities, or free up capital for something other than real estate may reasonably decide to sell outright and pay the tax, especially if the estimated bill is manageable relative to the proceeds. The stepped-up basis rule for heirs is also worth factoring into that decision, since an investor who plans to hold the property until death and pass it to heirs may avoid the capital gains and recapture question entirely rather than paying it now or deferring it through another exchange.

Running both scenarios, sell-and-pay versus exchange-and-defer, against your actual numbers and goals is the kind of comparison worth doing with a CPA before deciding which direction to take a Miami property sale.

Common 1031 Exchange Questions

Do I owe capital gains tax on the full sale price of investment property?

No. Tax applies to the gain, which is sale price minus adjusted basis, not the full sale price, and adjusted basis is reduced by depreciation claimed over the years of ownership.

Does having a mortgage on the property lower my tax bill at sale?

No. Loan payoff reduces cash proceeds but not taxable gain, which is calculated independently of any financing on the property.

Is there a way to defer tax on investment property without a 1031 exchange?

Installment sales and offsetting capital losses elsewhere in a portfolio can reduce or spread the bill, but a 1031 exchange is the primary tool for full deferral of gain and recapture together.

Does the type of investment property change the tax treatment?

Generally no. Office, retail, industrial, and multifamily investment property are treated similarly for capital gains and 1031 purposes, as long as each is held for investment or business use.

What happens if I sell a leveraged property through a 1031 exchange?

The debt on the relinquished property generally needs to be replaced with equal or greater debt, or added cash, on the replacement property to avoid triggering taxable boot on the exchange.

Ready to organize the exchange file?

Share the dates, property details, and open questions for your Miami exchange.

Start Exchange Review