How Does Selling a Rental Property Affect Capital Gains Tax?
Rental-property sales deserve extra attention because the property's tax basis may have changed during the rental period, especially when depreciation was claimed or could have been claimed. Unlike selling a primary residence, selling a rental property often involves additional tax considerations.
This article explains how selling a rental property affects capital gains tax, what factors can influence the calculation, and why the tax treatment can be different from selling a personal residence.
Selling a rental property can create taxable gain. A simplified starting calculation is:
But rental property can involve additional tax considerations because depreciation and other adjustments may affect the property's tax basis and the character of the gain.
Is Selling a Rental Property Taxable?
Yes, selling a rental property can create a taxable gain. Unlike a primary residence, the federal home-sale exclusion generally does not apply to rental properties in the same way. Rental property sales can involve:
- Capital gains β On the appreciated value of the property.
- Depreciation recapture β On depreciation claimed during the rental period.
- Ordinary income β On certain portions of the gain depending on the circumstances.
Understanding these components is essential before estimating potential tax consequences.
How Is Gain on a Rental Property Calculated?
The basic calculation for gain on a rental property sale uses a similar framework to other property sales:
This is an educational simplified framework and not a substitute for a complete tax return calculation.
What Is Adjusted Basis?
Your adjusted basis is what you've invested in the rental property, adjusted for various factors:
Key components include:
- Original purchase price β What you paid for the property.
- Capital improvements β Major renovations that add value.
- Depreciation β Reduces your basis, which can increase your gain.
- Other adjustments β Certain legal fees, assessments, and other costs.
Why Depreciation Matters
Depreciation is one of the most important factors when selling a rental property. Depreciation claimed during the rental period can reduce the property's adjusted basis, which increases the gain recognized on sale.
Even if you didn't claim depreciation, the IRS may require recapture of allowable depreciation, which can affect your tax liability. Consult current IRS guidance or a qualified professional for specific details.
What Happens to Depreciation When You Sell?
When you sell a rental property, the depreciation you claimed (or could have claimed) is generally "recaptured" and may be taxed differently from ordinary capital gains.
- Depreciation recapture β The portion of your gain attributable to depreciation may be taxed at different rates.
- Unrecaptured Section 1250 gain β A specific federal tax concept that applies to certain depreciable real property.
- Remaining gain β After depreciation recapture, the remaining gain may be taxed at capital gains rates.
Do Improvements Increase Basis?
Yes. Qualifying capital improvements can increase your adjusted basis, which reduces your gain. Examples of improvements that may qualify include:
- Additions β Adding a room, garage, or deck.
- Major renovations β Kitchen or bathroom remodels.
- Structural improvements β New roof, siding, or windows.
- Systems upgrades β HVAC, electrical, or plumbing.
Ordinary repairs and maintenance do not generally increase basis. For more details, see our article on How Do Home Improvements Affect Capital Gains Tax?
Do Selling Expenses Reduce the Gain?
Yes. Applicable selling expenses can reduce the amount realized from the sale, which reduces your gain. Common selling expenses include:
- Real estate commissions β Paid to listing agents and buyer's agents.
- Legal fees β Attorney fees for the closing.
- Closing costs β Title insurance, transfer taxes, and recording fees.
- Advertising costs β Marketing and listing expenses.
Not every closing cost automatically reduces gain. The tax treatment depends on the nature of the expense. For more details, see our article on What Selling Expenses Reduce Capital Gains on a House?
Capital Gain vs Depreciation-Related Gain
It's important to understand that different portions of a rental property gain may receive different tax treatment:
The actual tax treatment depends on the taxpayer's specific circumstances, the nature of the property, and applicable federal and state rules.
Holding Period
The holding period can affect the tax treatment of gain from a rental property sale:
- Long-term (more than 1 year) β May qualify for preferential capital gains rates on the capital gain portion.
- Short-term (1 year or less) β May be taxed at ordinary income rates.
Depreciation recapture may be taxed at ordinary income rates regardless of the holding period. The taxpayer's overall situation can affect the final tax result.
Worked Example
Let's walk through an example to see how rental property gain is calculated.
Scenario: You purchased a rental property for $300,000, made $50,000 in qualifying improvements, claimed $60,000 in depreciation, and sell for $500,000 with $25,000 in selling expenses.
| Step 1: Calculate Amount Realized | |
| Sale Price | $500,000 |
| β Selling Expenses | -$25,000 |
| Amount Realized | $475,000 |
| Step 2: Calculate Adjusted Basis | |
| Purchase Price | $300,000 |
| + Improvements | +$50,000 |
| β Depreciation | -$60,000 |
| Adjusted Basis | $290,000 |
| Step 3: Calculate Estimated Total Gain | |
| Amount Realized | $475,000 |
| β Adjusted Basis | -$290,000 |
| Estimated Total Gain | $185,000 |
What Records Do You Need?
Keep these records to support your rental property sale calculation:
- Original purchase documents β Purchase agreement and closing statement.
- Closing statement β Shows costs and credits in the transaction.
- Improvement receipts β Invoices and permits for qualifying improvements.
- Contractor invoices β Detailed descriptions of work performed.
- Depreciation schedules β Records of depreciation claimed.
- Rental income records β Rental income and expense records.
- Selling expenses β Commissions and other transaction costs.
- Commission records β Real estate commission paid.
- Previous tax returns β Prior returns and depreciation schedules.
- Property tax records β Property tax payments and assessments.
- Relevant rental-property records β Any other documentation.
Federal vs State Tax
Federal treatment and state treatment can differ significantly. State tax treatment varies widely:
- Some states have no capital gains tax (e.g., Texas, Florida, Washington).
- Other states tax capital gains as ordinary income (e.g., California, New York).
- Some states have special rules for rental property sales.
Do not assume every state follows federal rules. Check your state's current rules or consult a qualified professional.
Common Mistakes
Here are some common mistakes to avoid when estimating tax on a rental property sale:
- Forgetting depreciation β Depreciation reduces your basis and affects your gain.
- Using original purchase price as the final basis β Basis can change over time.
- Forgetting improvements β Improvements increase your basis and reduce gain.
- Ignoring selling expenses β Expenses reduce your amount realized.
- Confusing gain with tax owed β Gain is not the same as tax liability.
- Treating rental property like a primary residence β Tax rules differ.
- Ignoring prior rental records β Records support your calculation.
- Losing depreciation schedules β Without records, you may miss important details.
- Using outdated tax rates β Tax rates and brackets can change.
- Ignoring state taxes β State tax can add to your liability.
- Assuming all closing costs are deductible β Not every cost automatically reduces gain.
- Failing to keep the closing statement β The statement shows transaction costs.
How to Estimate Your Rental Property Sale
Before selling a rental property, use this checklist:
- Determine sale price β The total amount from the sale.
- Gather closing statement β Shows all transaction costs.
- Calculate selling expenses β Commissions and closing costs.
- Find original basis β Purchase price and acquisition costs.
- Add qualifying improvements β Receipts and permits for improvements.
- Review depreciation β Depreciation schedules and records.
- Calculate adjusted basis β Original basis + improvements β depreciation.
- Estimate total gain β Amount realized β adjusted basis.
- Review holding period β How long did you own the property?
- Review federal tax treatment β Check current IRS guidance.
- Review state tax treatment β Check your state's rules.
- Gather previous tax records β Prior returns and depreciation schedules.
For a quick estimate, try our Selling Rental Property Tax Calculator.
You may also find these related calculators helpful:
- Capital Gains on Sale of Rental Property Calculator
- Capital Gains Tax Calculator on Sale of Property
- Property Sale Tax Calculator
- Selling Investment Property Tax Calculator
Frequently Asked Questions
Yes, selling a rental property can create a taxable gain. The gain is calculated based on the sale price minus selling expenses and adjusted basis. Depreciation claimed during the rental period can also affect the calculation.
Calculate as: Amount Realized β Adjusted Basis = Gain. Amount Realized = Sale Price β Selling Expenses. Adjusted Basis = Purchase Price + Improvements β Depreciation + Other Adjustments.
Yes. Depreciation reduces your adjusted basis, which increases your gain. Depreciation recapture may also apply, potentially affecting the tax treatment of the gain.
Depreciation claimed during the rental period is generally recaptured when the property is sold. The depreciation-related portion of the gain may be taxed differently from ordinary capital gains.
Yes. Qualifying capital improvements that add value, extend the property's life, or adapt it for new uses increase your adjusted basis, which reduces your gain.
Yes. Selling expenses such as commissions and closing costs reduce your amount realized, which reduces your gain.
No. Depreciation recapture is generally taxed as ordinary income. The remaining gain may be taxed at capital gains rates. The exact treatment depends on the taxpayer's circumstances.
Unrecaptured Section 1250 gain is a federal tax concept that applies to certain depreciable real property. The portion of gain attributable to depreciation may be taxed at different rates. Consult current IRS guidance for specific details.
Yes. If you held the property for more than one year, the capital gain portion may be taxed at long-term capital gains rates. The holding period does not affect depreciation recapture in the same way.
Generally no. The home-sale exclusion is for primary residences. Rental properties are treated differently for tax purposes. If the property was previously a primary residence, additional rules may apply.
If the property was previously your primary residence and later became a rental, additional rules may apply. The home-sale exclusion may apply to the portion of time it was your primary residence, subject to meeting requirements.
Keep: purchase documents, closing statements, improvement receipts, depreciation schedules, rental income records, selling expenses, commission records, and previous tax returns.
Yes. Our Selling Rental Property Tax Calculator can help you estimate gain, depreciation recapture, and tax based on the information you provide. However, calculators provide estimatesβnot official tax determinations.
Yes, in many states. State tax treatment varies widely. Some states have no capital gains tax, while others tax it as ordinary income. Check your state's rules.
Read full disclaimer β