How To Handle Taxes When Selling A Rental After Depreciation
Are we ready to face the tax consequences of selling a rental property after years of depreciation?
We open with that question because many landlords treat depreciation as a bookkeeping victory—lower taxable income year after year—without fully reckoning with what happens when the property is sold. Depreciation lowers our cost basis, and that reduction creates taxable consequences at sale: depreciation recapture and capital gains. This article explains the rules, walks us through the math, compares common options to reduce or defer tax, and gives practical steps to help us make a sound decision—especially if speed is important, as it often is for FastCashVA.com readers.
Why depreciation matters when we sell
Depreciation is a tax benefit we claim while the rental is in service. For residential rental property, the IRS generally allows us to depreciate the building (not the land) over 27.5 years under MACRS. Each year’s depreciation lowers our adjusted basis in the property. When we sell, that accumulated depreciation becomes a key driver of tax liability.
Put plainly: the more depreciation we claimed, the lower our basis, and the larger the gain we may report at sale. Part of that gain—amount attributable to depreciation—is subject to “recapture” and taxed at a special rate.
Key tax concepts in plain terms
We will define the most important terms before we walk through examples and planning steps.
- Adjusted basis: What we paid for the property plus capital improvements, minus accumulated depreciation. This is our starting point for calculating gain.
- Amount realized: Sale price minus selling costs (commissions, closing costs, seller-paid concessions).
- Realized gain: Amount realized minus adjusted basis. This is the total gain on the sale.
- Depreciation recapture: Portion of realized gain equal to the total depreciation we claimed (or could have claimed) that is taxed as ordinary income up to a capped rate (historically up to 25% for real property).
- Capital gain: Any realized gain above the amount of depreciation recapture. Long-term capital gains rates typically apply (0/15/20% federal tiers), plus possible state tax and the net investment income tax (NIIT) of 3.8% if applicable.
- Section 1031 exchange: A tax-deferred swap of like-kind investment property that can defer both recapture and capital gains if structured correctly.
- Installment sale: Spreads gain (and tax) over multiple years by receiving payments over time; depreciation recapture may still be taxed at sale depending on tax rules.
How to calculate the tax hit — step by step
We will now walk through the arithmetic. Keeping good records is essential; without those records we will be guessing—usually to the IRS’s favor.
-
Determine original cost basis
- Purchase price for the property (including acquisition fees) plus capital improvements.
- Exclude land value for depreciation; only the building and tangible improvement basis are depreciable.
-
Subtract accumulated depreciation
- Sum all depreciation deductions claimed or allowable over the holding period. This gives us adjusted basis = original basis − accumulated depreciation.
-
Calculate amount realized
- Sale price minus selling expenses (broker commissions, closing costs, legal fees). If we credit repairs or concessions to buyer, subtract those too.
-
Compute realized gain
- Amount realized − adjusted basis.
-
Separate gain into recapture and capital gain
- Depreciation recapture amount = lesser of accumulated depreciation or realized gain.
- Taxed at unrecaptured Section 1250 rate (up to 25% federal) for real estate depreciation.
- Any remaining realized gain (after recapture) is capital gain, subject to long-term capital gains rates if we held the property more than one year.
-
Add surtaxes and state taxes
- NIIT (3.8%) may apply if our modified adjusted gross income exceeds thresholds.
- State income taxes vary by jurisdiction; we’ll provide state-specific notes below.
Example table to illustrate (simplified):
| Item | Amount |
|---|---|
| Purchase price (building) | $200,000 |
| Capital improvements | $20,000 |
| Accumulated depreciation | $60,000 |
| Adjusted basis (200k+20k−60k) | $160,000 |
| Sale price | $350,000 |
| Selling costs | $25,000 |
| Amount realized (350k−25k) | $325,000 |
| Realized gain (325k−160k) | $165,000 |
| Depreciation recapture (≤60k) | $60,000 |
| Remaining capital gain (165k−60k) | $105,000 |
Tax implications (federal, rough):
- Recapture taxed up to 25%: $60,000 × 25% = $15,000
- Capital gain taxed at long-term rate (assume 15%): $105,000 × 15% = $15,750
- NIIT (if applicable) at 3.8% applied to net investment income: 3.8% × $165,000 = $6,270 (subject to MAGI thresholds)
Total federal tax before state ≈ $37,020 (plus state tax).
This gives us a sense of how meaningful depreciation becomes at sale.
Depreciation recapture — the central villain
Depreciation recapture is the IRS mechanism that prevents us from getting permanent tax relief from depreciation when we realize a gain. For residential rental property, recaptured depreciation is generally taxed up to 25% as “unrecaptured Section 1250 gain.” That’s less favorable than long-term capital gains rates for many taxpayers, and much worse than the ordinary tax shelter we enjoyed each year.
Important points:
- Recapture equals the lesser of accumulated depreciation or realized gain.
- The IRS treats recapture as ordinary income for earlier tax law purposes, but for buildings (Section 1250) it’s taxed at a maximum of 25% (special rate), not at ordinary marginal rates.
- If we sold at a loss, there is no recapture. If realized gain is less than accumulated depreciation, recapture equals realized gain and there is no capital gain beyond recapture.
We must prepare to pay this tax when we sell—unless we choose an allowed deferral strategy.
Common strategies to reduce or defer tax
We are often selling because we need speed or simplicity—FastCashVA’s audience. But if we want to minimize tax pain, these are the main paths.
1. 1031 Exchange (Like-Kind Exchange)
A properly executed Section 1031 exchange lets us defer both depreciation recapture and capital gains by acquiring another qualifying investment property.
Key rules:
- Property must remain investment or business property; owner-occupancy breaks the exchange.
- Identification period: 45 days to identify replacement property.
- Exchange period: 180 days to acquire the replacement.
- Replacement property must be equal or greater in value to fully defer tax (or we pay tax on any boot).
- We must use a qualified intermediary and avoid direct receipt of sale proceeds.
Pros: Full deferral of tax if rules satisfied; continues depreciation schedule on new property.
Cons: Complexity, deadlines, reinvestment cold feet, and limited to investment property. Not suitable if we need cash now.
2. Installment Sale
We can sell on an installment basis and report gain as payments are received, spreading tax liability over multiple years.
Nuances:
- Depreciation recapture is not fully avoidable via installment sale. Historically, the portion attributable to depreciation may be taxed in the year of sale (recapture rules require recognition up front) though capital gain portion can be deferred across payments.
- Installment sales can help with cash flow management and may reduce bracket creep in high-earning years.
- Not ideal if buyer seeks clear title quickly, or if market conditions favor lump-sum.
3. Convert to Primary Residence (Partial Exclusion)
If we live in the rental for at least 2 of the 5 years before sale, we might qualify for the Section 121 exclusion ($250,000 single / $500,000 married filing jointly) for capital gain. However, depreciation recapture remains taxable: the exclusion does not eliminate recapture.
Important: We must carefully document use, dates, and any prior rental periods. Converting solely to avoid tax can be risky without meeting occupancy rules.
4. Offset gains with losses and tax attributes
- Capital losses from other investments can offset capital gains.
- Passive activity loss carryforwards from the property (if any) may be used in the year of disposition of the activity in a fully taxable disposition.
- Net operating losses and other tax attributes may reduce taxable income and thus tax on gain in some cases. Consult our CPA.
5. Hold and plan depreciation schedules or cost segregation
- Cost segregation accelerates depreciation into shorter-lived categories (personal property, land improvements), which increases current depreciation deductions—but that increases future recapture. Cost segregation is a planning tool often used at acquisition, not a post-sale cure.
- Sometimes we may decide not to claim certain depreciation (allowed vs allowable rules). Note: The Tax Cuts and Jobs Act and subsequent guidance limit elective choices; we must consult a CPA before attempting to forgo or change depreciation.
State-specific considerations for the DMV area
We serve homeowners in Virginia, Maryland, DC, and West Virginia. Each jurisdiction has its own tax rates and rules; these change periodically, so we should confirm current rates with a state tax advisor. Briefly:
- Virginia: State income tax on ordinary income and capital gains at graduated rates (up to about 5.75% historically). No special lower rate for capital gains.
- Maryland: Progressive state income tax (rates vary by county), plus local county income tax; capital gains taxed as ordinary income at state/local rates.
- District of Columbia: Progressive rates with capital gains included in taxable income.
- West Virginia: Flat-ish structure with brackets; capital gains taxed as ordinary income.
We must also consider local filing requirements and estimated tax payments if the sale produces significant tax liabilities.
Documentation checklist — what we must gather
When we prepare to sell, assemble these records so our CPA can produce an accurate tax computation and filing:
- Original closing statement (HUD-1 or Closing Disclosure) from purchase.
- Receipts and invoices for capital improvements (add to basis).
- Annual tax returns showing depreciation schedules (Form 4562 filings).
- Records of any casualty losses, insurance reimbursements or dispositions.
- Closing statement from the sale (HUD-1 or Closing Disclosure).
- Records of selling costs (commissions, legal fees).
- Records supporting cost segregation studies (if applicable).
- Lease history and dates of occupancy/use if we plan to claim any primary residence exclusion.
- Estimated tax payment records (we may need to make an estimated payment at year-end).
Good records reduce the risk of errors and poorly valued depreciation amounts.
Practical comparison: Sell fast for cash vs. sell on market vs. do a 1031
We must choose among competing priorities: speed, net proceeds, and tax planning. Here is a practical comparison.
| Objective | Sell for cash (fast) | Traditional market sale | 1031 exchange |
|---|---|---|---|
| Speed | Excellent — days to weeks | Moderate — weeks to months | Moderate — must meet 45/180 day rules |
| Net cash after sale | Often lower because buyer discounts | Potentially highest sale price | Depends — may avoid tax but requires reinvestment |
| Tax deferral | No (unless structured) | No | Yes — full deferral if valid |
| Complexity | Low | Moderate | High — needs intermediary and strict compliance |
| Good for sellers who need | Quick exit, cash | Market exposure and higher price | Want to remain invested and defer tax |
If we need cash now (a common FastCashVA scenario), selling for cash may be preferable despite tax consequences. If tax deferral is important and we intend to continue investing in real estate, a 1031 exchange may be best—if we have the time and appetite for complexity.
Timing and estimated tax payments
Selling a rental can create tax liabilities significantly higher than our normal withholding or estimated payments. We should:
- Estimate the tax liability before closing so we know the net proceeds we will receive and can plan for withholding or estimated payments.
- If the buyer is a brokered cash buyer, there may not be withholding requirements on a regular sale, but we remain responsible for estimated taxes.
- For sales involving non-resident sellers or certain dispositions, buyers may be required to withhold under FIRPTA or state laws; verify if this applies.
- Consider increasing withholding or making estimated payments to avoid underpayment penalties.
When depreciation rules get tricky
There are several nuances that often create confusion:
- Prior owners’ depreciation: If we inherited the property, the basis might be stepped up and prior depreciation irrelevant. If we purchased from another owner, we only consider depreciation we claimed (or could have claimed) while we owned it.
- Section 179 and bonus depreciation: These election items affect basis and recapture differently. For residential rental real estate, Section 179 is rarely used because buildings are not eligible. Bonus depreciation typically applies to personal property components.
- Partial dispositions: If we sold a building component separately (e.g., land sale), separate tax computations are required.
- Selling part of an entity: Selling membership interest in an LLC vs. selling the property itself has significant tax differences—this is an advanced topic requiring professional counsel.
Sample numerical walkthrough (detailed)
Let’s work a realistic, slightly more detailed example so we see year-by-year implications and what we might owe if we take a cash offer.
Assumptions:
- Purchase price: $250,000 land $50,000, building $200,000
- Capital improvements over years: $30,000
- Depreciation method: Straight-line residential over 27.5 years
- Years owned: 10 years
- Annual depreciation (building only): $200,000 / 27.5 ≈ $7,273
- Accumulated depreciation after 10 years: $72,727
- Adjusted basis: (building+improvements $230,000) − $72,727 = $157,273
- Sale price: $400,000
- Selling costs: $30,000
- Amount realized: $370,000
- Realized gain: $370,000 − $157,273 = $212,727
- Depreciation recapture: $72,727 (taxed up to 25%)
- Remaining capital gain: $140,000 (taxed at long-term rates)
Estimated federal tax (approximate):
- Recapture tax: $72,727 × 25% = $18,182
- Capital gain tax: $140,000 × 15% = $21,000
- NIIT (if applicable): 3.8% × $212,727 ≈ $8,085
Total federal ≈ $47,267 (plus state tax).
This example demonstrates how depreciation recapture and capital gains combine to create a significant liability even when the sale is profitable and cash proceeds are attractive.
Questions to ask before we sell
Before accepting any offer, we should ask:
- Can we document the total depreciation taken during ownership?
- Do we need to defer taxes or take cash now?
- Are we eligible and willing to do a 1031 exchange?
- Do we have passive activity loss carryforwards that can offset gain?
- Have we consulted a tax professional who understands real estate dispositions in our state?
- If we accept a cash offer from a buyer like FastCashVA, what will our net proceeds be after both closing costs and estimated taxes?
Answering these will help us choose the right path.
Working with professionals
Taxes on rental sales are specialized. We recommend we:
- Engage a CPA who specializes in real estate to run tax projections.
- Use a real estate attorney for 1031 exchange documentation (and a qualified intermediary).
- Ask our broker or cash buyer for clear closing cost statements and timeline.
- If our situation involves trusts, estates, or partnerships, bring in counsel experienced with the relevant entity.
We should be candid about our priorities—speed, simplicity, or tax-deferral—so professionals can tailor solutions.
Practical checklist for sellers (actionable steps)
- Gather documentation: Purchase closing docs, improvement receipts, depreciation schedules, prior tax returns.
- Request a net proceeds estimate from the buyer that deducts selling costs but not tax.
- Get a preliminary tax estimate from a CPA based on likely selling price and timing.
- Decide whether to pursue a 1031 exchange or sell outright.
- If choosing a 1031, secure a qualified intermediary before closing and begin property identification immediately after sale.
- If selling for cash, plan for estimated tax payments to avoid underpayment penalties.
- Keep funds available to cover tax liability at year-end or when filing.
- File final tax forms accurately: Report sale on Form 4797/8949/1040 Schedule D as appropriate, and include Form 6252 for installment sales if used.
Final considerations and a realistic mindset
We must remember that tax planning is just one part of the sale decision. For many FastCashVA.com readers the real priorities are speed, certainty, and emotional closure. Taxes are important, but they rarely outweigh an urgent need for a fast sale. If we need cash quickly and cannot or will not do a 1031 exchange, we accept the tax bill and plan for it.
A few closing thoughts in the spirit of Dorothy Parker’s incisive clarity—tempered by our professional voice:
- Depreciation was a gift in the years we took it; recapture is the IOU that arrives at sale. Recognize it, quantify it, and plan for it.
- Fast sales trade some tax and price levers for speed; that trade-off can be sensible—but only when we know the size of the tax cost.
- The best outcome combines realistic timing with prudent tax planning: know your numbers before you sign.
Frequently asked questions (brief)
Why is depreciation taxed again when I sell?
- Because depreciation reduced our tax basis during ownership. When we sell, the IRS recaptures the tax benefit by taxing the depreciation portion of the gain.
Can depreciation recapture be avoided?
- Not permanently, unless we accomplish a like-kind (1031) exchange or some other allowed deferral. Converting to a primary residence may exclude some gain, but not recapture.
Will the IRS tax me at ordinary income rates on the recapture?
- For residential real estate, recapture is generally taxed at the special unrecaptured Section 1250 rate (up to 25%), not at our ordinary marginal rate, but rules can be complex.
Should we sell to a cash buyer to avoid complexity?
- A cash buyer offers speed and certainty; tax consequences remain. If time is paramount, cash sale can be the right choice—we only need to plan for the tax bill.
Is consulting a CPA necessary?
- Highly recommended. Real estate tax rules and state nuances can materially affect the outcome.
Our recommended next steps
- Assemble our documentation now—don’t wait until closing.
- Get a preliminary tax estimate from a CPA using realistic sale scenarios.
- If we plan to use a 1031, contact a qualified intermediary and plan timing carefully.
- If we need cash quickly, request a detailed net proceeds estimate and set aside funds for the tax liability.
- Make estimated tax payments if the sale will generate a large tax bill.
We will sometimes prefer speed over tax savings. That is an honest decision. The responsible thing is to make it armed with the numbers so we are surprised by nothing at tax time.
If we want, we can prepare a simple spreadsheet with purchase price, improvements, accumulated depreciation, and an expected sale price. That quick calculation often clarifies whether the tax cost changes our decision.
We understand the pressure of urgent life changes—foreclosure, relocation, inheritance, or simply a desire to stop managing a rental. Taxes are part of the equation, and facing them early makes the rest of the process smoother. If we need guidance tailored to our property and state—Virginia, Maryland, DC, or West Virginia—let us consult a qualified local tax advisor who works with real estate sales.
We will handle the paperwork, the math, and the deadlines if we choose to—calmly, professionally, and with our eyes open.
Ready to sell your house fast in Virginia? FastCashVA makes it simple, fast, and hassle-free.
Get your cash offer now or contact us today to learn how we can help you sell your house as-is for cash!
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

