A sale-leaseback transaction can unlock significant equity from your dental or medical building while allowing you to continue operating in the same space. But before signing a letter of intent, you need to understand the tax treatment — because the tax consequences of a sale-leaseback can materially affect your net proceeds. This guide explains exactly how the IRS treats these transactions and what strategies can reduce your tax liability.
Note: This article provides general educational information about sale-leaseback tax treatment. Always consult a qualified CPA or tax attorney before entering any real estate transaction.
How the IRS Classifies a Sale-Leaseback Transaction
For federal tax purposes, a sale-leaseback is treated as two separate transactions: a sale of real property and a lease of that same property. The IRS does not treat the leaseback as a financing arrangement or loan — it is a true sale with the seller becoming a tenant. This classification has significant implications for how gain is recognized and taxed.
The sale component triggers gain recognition in the year of closing unless a specific deferral mechanism (such as an installment sale election) is used. The lease payments going forward are treated as ordinary business expenses — fully deductible rent payments that can actually improve your after-tax cash flow compared to owning the property.
Capital Gains Tax in a Sale-Leaseback
When you sell your building, the gain is calculated as the sale price minus your adjusted tax basis (original cost plus improvements, minus accumulated depreciation). This gain is typically divided into two components:
- Long-term capital gain: If you have owned the property for more than one year, the portion of gain above your original purchase price is taxed at long-term capital gains rates — currently 0%, 15%, or 20% depending on your income level, plus the 3.8% Net Investment Income Tax if applicable.
- Depreciation recapture: The portion of gain attributable to depreciation taken during your ownership period is subject to Section 1250 recapture, taxed at a maximum federal rate of 25%. This is a separate calculation from capital gains and often surprises sellers who have owned property for many years.
For example: a dentist who purchased a building for $800,000 in 2010, took $200,000 in cumulative depreciation, and sells for $1,500,000 in 2026 would have $200,000 of depreciation recapture (taxed at up to 25%) and $700,000 of long-term capital gain (taxed at 15–20%). State taxes would apply on top of federal liability.
Depreciation Recapture: Section 1250 and What to Expect
Section 1250 depreciation recapture applies to real property that has been depreciated over time. The recapture amount equals the total depreciation taken during your ownership period. It is taxed as ordinary income (unrecaptured Section 1250 gain) at a maximum federal rate of 25% — higher than long-term capital gains rates.
The longer you have owned the property and the more depreciation you have taken, the larger this component of your tax liability will be. This is an important factor in timing a sale-leaseback — selling earlier in your ownership period means less accumulated depreciation and a lower recapture bill.
Cost segregation studies can accelerate depreciation deductions during ownership, which has the effect of increasing the recapture amount at sale. If you have done a cost segregation study, work with your CPA to model the full impact on your sale-leaseback tax treatment before proceeding.
Is a Sale-Leaseback Eligible for Installment Sale Treatment?
Yes, in most cases. An installment sale election under Section 453 allows you to spread your gain recognition over multiple years rather than recognizing it all in the year of sale. This can be particularly valuable if receiving a large lump sum in one year would push you into a higher tax bracket or trigger the Net Investment Income Tax.
To structure an installment sale, the buyer pays you over time (typically 5–15 years) rather than in a lump sum at closing. Each payment you receive includes a return of basis (non-taxable), capital gain (taxed at capital gains rates), and interest income (taxed as ordinary income). The installment method does not apply to depreciation recapture — that gain is recognized in full in the year of sale regardless of payment structure.
Important limitation: installment sales require the buyer to actually make payments over time. Not all buyers are willing to structure transactions this way, and it introduces counterparty risk for the seller.
Can You Use a 1031 Exchange with a Sale-Leaseback?
This is one of the most common questions about sale-leaseback tax treatment, and the answer is nuanced. A straight sale-leaseback is generally not eligible for 1031 exchange treatment because you are retaining use of the property as a tenant — the IRS has held that the leaseback arrangement means the property is not entirely relinquished for exchange purposes.
However, there are structured approaches that may allow partial 1031 treatment or combination strategies. For example, you might sell your building in a true arm’s-length transaction, execute a 1031 exchange into a different investment property, and lease back your original building from the new owner. This is complex and requires careful structuring. Always engage a qualified intermediary and tax counsel before attempting this approach.
Tax Strategies to Reduce Your Sale-Leaseback Liability
Several strategies can meaningfully reduce the tax impact of a sale-leaseback transaction:
- Timing the transaction: Closing in a year when your other income is lower reduces the marginal rate applied to capital gains. If you are planning to retire or reduce your practice income, timing the sale-leaseback to coincide with lower-income years can reduce your effective tax rate.
- Installment sale election: As discussed above, spreading gain recognition over multiple years can keep you in lower tax brackets and defer federal and state income tax liability.
- Qualified Opportunity Zone reinvestment: If the property is in or near a Qualified Opportunity Zone, reinvesting capital gains into a Qualified Opportunity Fund can defer and partially exclude gain. This requires specific structuring and is time-sensitive.
- Charitable remainder trust: High-net-worth sellers sometimes contribute the appreciated property to a charitable remainder trust before the sale, eliminating immediate capital gains recognition while generating an income stream and charitable deduction. This is a complex strategy suitable only for certain situations.
- Retirement plan contributions: Maximizing contributions to SEP-IRA, defined benefit, or 401(k) plans in the year of sale can offset ordinary income, including depreciation recapture.
How Perch Equity Group Structures Transactions for Tax Efficiency
At Perch Equity Group, we work closely with practice owners and their CPAs to structure sale-leaseback transactions that maximize net after-tax proceeds — not just gross sale price. Understanding your tax basis, depreciation history, and overall income picture before structuring the deal allows us to present terms that optimize your outcome.
If you own your dental building or medical facility and are exploring a sale-leaseback, we encourage you to start with a confidential conversation about your specific situation. Visit our dental building sale page to get in touch.
Frequently Asked Questions
What is the tax treatment of a sale and leaseback?
A sale-leaseback is treated as a true sale for tax purposes. The gain — the difference between your sale price and adjusted tax basis — is subject to capital gains tax (long-term rates on appreciation) and depreciation recapture (taxed at up to 25% on the recaptured depreciation). The leaseback portion creates ongoing deductible rent expense. An installment sale election can spread gain recognition over multiple years if the buyer pays over time.
Is a sale-leaseback subject to capital gains tax?
Yes. The sale portion of a sale-leaseback triggers capital gains tax in the year of closing. Long-term gains (property held more than one year) are taxed at 0%, 15%, or 20% depending on your income, plus the 3.8% Net Investment Income Tax in many cases. Depreciation recapture is taxed separately at a maximum 25% federal rate. State income taxes also apply.
How is depreciation recapture calculated in a sale-leaseback?
Depreciation recapture equals the total depreciation deductions taken on the property during your ownership period. It is taxed as unrecaptured Section 1250 gain at a maximum federal rate of 25%. This amount is recognized in full in the year of sale — it cannot be deferred through an installment sale election or 1031 exchange.
Can I defer taxes on a sale-leaseback transaction?
Yes, partially. An installment sale election can defer the capital gain portion of your proceeds by spreading recognition over multiple years. However, depreciation recapture must be recognized in the year of sale. 1031 exchange treatment is generally not available for a traditional sale-leaseback, though complex hybrid structures may achieve partial deferral in specific circumstances.
Should I consult a CPA before a sale-leaseback?
Absolutely. The tax implications of a sale-leaseback are significant and highly specific to your situation — your tax basis, depreciation history, income level, and state of residence all affect your liability. A CPA with real estate transaction experience should model your full tax scenario before you sign any agreements. The cost of good tax advice is a fraction of what poor planning can cost you in a large transaction.


