Skip to content

How Much Tax Do You Pay When You Sell a Rental Property

The gain is taxed in pieces and each has its own rate

When you sell a rental property you pay federal tax on the gain in pieces: 0%, 15% or 20% on long-term gain depending on your taxable income, your ordinary rate capped at 25% on gain equal to the depreciation you took, and a 3.8% net investment income tax once modified adjusted gross income passes $200,000 single or $250,000 joint. A rental held 1 year or less is taxed at ordinary rates. Your state may tax the gain too.

Open the checklist

The pre-listing numbers checklist: 14 items. The first is free on this page.

Updated November 14, 2026 by Private Exchange Group. 5 minute read. Not tax or legal advice.

The short version

  • Your gain is the sale price minus selling costs minus adjusted basis, and the depreciation you deducted over the years makes that basis smaller.
  • For 2026 the 15% rate on long-term gain starts above $49,450 of taxable income for single filers and $98,900 on a joint return.
  • Gain equal to depreciation is taxed at your ordinary rate up to a 25% cap, and the 3.8% tax can stack on top of it.
  • An exchange into other investment real estate defers the tax, but only when it is arranged before your sale closes.

The pieces of the tax and the 2026 federal rates

Owners ask this when they are ready to be done with a property and want to know what the sale will leave them. The federal tax on a rental held more than 1 year has 3 pieces. Gain equal to your depreciation is taxed at your ordinary rate, capped at 25%. The rest of the gain is taxed at 0%, 15% or 20%. A 3.8% net investment income tax applies at higher incomes. State tax is separate.

Which of the 3 long-term rates you pay depends on your taxable income for the year with the gain included. Rev. Proc. 2025-32 sets the 2026 breakpoints in the table below. The IRS says the rate is no higher than 15% for most individuals. A large gain can still lift part of itself into the 20% band in the year of the sale, even for an owner whose salary alone would never get there.

A rental sold after 1 year or less is treated differently. The whole gain is short-term and is taxed as ordinary income at your graduated rates. The net investment income tax is 3.8% of the smaller of 2 amounts: your net investment income, or the amount by which your modified adjusted gross income exceeds $200,000 for a single filer, $250,000 on a joint return or $125,000 if married filing separately.

2026 rate on long-term gainSingle filer taxable incomeJoint return taxable income
0%Up to $49,450Up to $98,900
15%Over $49,450 up to $545,500Over $98,900 up to $613,700
20%Over $545,500Over $613,700

Swipe the table sideways to see every column

From Rev. Proc. 2025-32, section 4.03, for tax years beginning in 2026. For a head of household the 2 breakpoints are $66,200 and $579,600. Gain equal to depreciation is taxed separately at up to 25%.

How the gain is figured

The tax is charged on your gain and the sale price is only where the arithmetic starts. Take the price and subtract your selling costs, such as the commission and your closing charges. That is the amount realized. From it, subtract your adjusted basis: what you paid, plus the cost of improvements, minus the depreciation taken while the property was a rental. What remains is the gain.

Depreciation is the part owners forget. Every year of it lowered your basis, so it returns as gain when you sell, and that slice has its own rate. A rental bought for $300,000 with $80,000 of depreciation behind it has a basis of $220,000 before improvements, and the missing $80,000 is taxable. The page on cost basis for a rental goes through each adjustment.

Before closing or not at all

Three ways a sale stops being an exchange

  1. Touch money. Pay tax.

    If the proceeds are paid to you or to someone acting for you, the sale is taxable. The intermediary has to be in place before the closing.

  2. Day 45 passes

    You have 45 calendar days from the closing to name, in writing, the property you may buy. Weekends and holidays count.

  3. You come out with cash

    Cash you keep, or a loan you pay off and do not replace, is taxed up to the amount of your gain.

See your 2 dates

General rules, not tax or legal advice.

A worked example with 2026 numbers

Here is an example with round, made-up numbers. A married couple filing jointly bought a rental for $300,000, put $40,000 of improvements into it and took $80,000 of depreciation. In 2026 they sell for $575,000 and pay $35,000 in selling costs. Their gain is $280,000. The federal tax on it in this example comes to $59,840, a little over 10% of the sale price.

The example assumes $215,000 of other taxable income and modified adjusted gross income of $250,000 before the sale, a rental held as a passive investment, and no losses to use. Change any of those and the answer moves. At a lower income the depreciation slice is taxed at a lower ordinary rate. At a higher income it reaches the 25% cap, and part of the remaining gain can be taxed at 20%. Put your own figures through the capital gains estimator and take the result to your CPA.

LineAmountHow it is figured
Sale price$575,000The contract price
Selling costs$35,000Subtracted from the price, leaving an amount realized of $540,000
Adjusted basis$260,000$300,000 cost plus $40,000 improvements minus $80,000 depreciation
Gain$280,000$540,000 minus $260,000
Tax on the depreciation slice$19,200$80,000 at the couple's 24% ordinary rate, which is under the 25% cap
Tax on the rest of the gain$30,000$200,000 at 15%
Net investment income tax$10,6403.8% of $280,000
Federal total$59,840$19,200 plus $30,000 plus $10,640
State taxDepends on the stateAdded by states that tax income

Swipe the table sideways to see every column

Hypothetical example for illustration. 2026 rates and brackets from Rev. Proc. 2025-32. It is not a prediction of any owner's tax.

What changes the number before you sell

The tax is set by facts you can still change before a sale: when you close, what else lands in that tax year, how you are paid, and whether you sell at all. Once the sale closes, most of those choices are gone. Each choice below is a rule in the tax code with a cost of its own. Paying the tax and moving on is a reasonable choice too.

The page on how to avoid capital gains tax on a rental sets these next to each other in more detail. It also covers moving into the property before you sell, which shelters less of the gain than most owners expect.

Hold past 1 year
A rental sold after more than 1 year of ownership gets the long-term rates. At 1 year or less the whole gain is taxed as ordinary income.
Choose the tax year
The 0%, 15% and 20% rates follow taxable income. A sale that closes in a year with less other income can leave more of the gain in a lower band.
Use losses you have
Capital losses offset capital gains. Ask your CPA what you are carrying forward from earlier years before you agree to a closing date.
Take payments over time
If at least 1 payment arrives after the year of the sale, the installment method reports gain as you are paid. Depreciation recapture that is ordinary income is still reported for the sale year.
Exchange the property
A 1031 exchange into other real estate held for investment or business use defers the gain. The exchange must exist on paper before your closing date.
Keep the property
No sale means no gain to tax. If your complaint is the work and the building is sound, a property manager may cost less than the tax.

The option that has to be set up before closing

A lot of owners who ask about the tax are worn out by one building and would still like to own real estate. For them the tax code has an option many are never told about. Under Section 1031 you can trade a rental for other real estate held for investment or business use and recognize no gain at the time. The condition that catches people is timing: the exchange has to be in place before your sale closes.

In an exchange the sale money goes to an exchange account set up through a qualified intermediary. You identify the property you intend to buy within 45 days, and you close on it within 180 days or by the due date of your tax return for the year of the sale, extensions included, whichever comes first. If the money reaches you first, the IRS treats the transaction as a sale, and buying afterward does not change that. To go over your own sale before the property is listed, request a consultation.

The tax is deferred, not forgiven. Your old basis carries into the new property and the gain waits there until a later taxable sale. An exchange is the wrong choice if you want the cash, are finished with real estate or have a small gain. If it might fit, the 1031 exchange calculator shows what a replacement purchase would need to look like. The checklist at the end of this page lists what to gather before you list.

The numbersWhat a sale costs in every stateFederal tax, state tax and transfer tax on a $1 million to $10 million investment property sale, worked out for every state and checked against each state's sources.

Questions people ask

What percentage do you pay in taxes when you sell a rental house?

There is no single percentage. For a rental held more than 1 year, the federal rate is 0%, 15% or 20% on most of the gain, your ordinary rate up to 25% on the part equal to depreciation, and 3.8% more once modified adjusted gross income passes $200,000 for a single filer or $250,000 on a joint return. Every one of those percentages is applied to the gain and never to the full price. State tax is extra.

Is the money from selling a rental property counted as income?

Only the gain is counted as income, and the sale price itself is not. The gain is added to your other income for the year. On a rental held more than 1 year it is taxed at the capital gains rates and the depreciation rate. A big gain raises your taxable income for that one year, which can push part of it into a higher band and bring in the 3.8% net investment income tax.

Do I pay more tax if I sell a rental I owned for less than a year?

Yes. IRS Topic 409 treats gain on property held 1 year or less as short-term, and net short-term gain is taxed as ordinary income at graduated rates. The 0%, 15% and 20% rates apply only after more than 1 year of ownership. A house bought to fix and resell is a separate problem. It is held for sale, so it cannot go into a 1031 trade however long you own it.

Does paying off the mortgage at closing lower the tax on my rental sale?

No. The loan payoff comes out of your proceeds, but it is not a selling cost and it does not reduce the gain. Gain is the sale price less selling costs less adjusted basis, and the mortgage balance appears nowhere in that formula. An owner who refinanced and took cash out years ago can owe more tax than the sale leaves in hand. Ask your CPA for the tax figure and the net cash figure as 2 separate numbers.

Know where you stand before you close

Tell us when the sale closes and what you own. You will hear where you stand and what has to happen first.

  • Whether the property qualifies
  • Your 2 deadlines on a calendar
  • What your closing agent needs

By sending this you agree that PEG may call or text you about your request. Your details stay with PEG and are never sold.

Asking commits you to nothing. It keeps the option open.

Call