Is Selling a Leaseback Property Subject to Capital Gains? (w/Examples) + FAQs

Yes, selling a property in a sale-leaseback is absolutely subject to capital gains tax. The “sale” part of the transaction is a taxable event where you must recognize any profit you’ve made.

The primary conflict arises from the “substance over form” doctrine used by the Internal Revenue Service (IRS). This judicial principle allows the IRS to look past the legal labels of “sale” and “lease” to determine the transaction’s true economic reality. If the deal looks more like a loan than a true transfer of ownership, the IRS can recharacterize it, leading to the immediate negative consequence of losing your expected tax deductions for rent payments and facing a completely different, and often much higher, tax liability.  

This strategy is popular because a sale-leaseback can unlock up to 100% of a property’s market value in cash, a significant jump from the 70-80% typically available through traditional mortgage financing. However, navigating the tax implications is critical to realizing this benefit.  

Here is what you will learn to protect yourself and maximize your returns:

  • 💰 Why the IRS might reclassify your sale as a disguised loan and the disastrous tax consequences that follow.
  • ✍️ The precise, step-by-step method for calculating your capital gains tax, including the often-misunderstood “depreciation recapture” tax.
  • 🚫 The single most dangerous lease clause that acts as a red flag for the IRS and can invalidate your entire transaction.
  • 🏢 How your choice of business entity—LLC, S-Corp, or C-Corp—can dramatically alter the final tax bill on your property sale.
  • 🔄 A powerful strategy using a Section 1031 “like-kind exchange” to potentially defer paying any capital gains tax from your sale.

What Exactly Is a Sale-Leaseback and Who Is Involved?

A sale-leaseback is a financial transaction where you sell a property you own to a buyer and, at the exact same time, sign a long-term lease to rent that same property back. This allows you to get cash out of your real estate without having to move or disrupt your business operations. You convert a fixed, illiquid asset into liquid cash.  

This transaction creates two distinct roles for the parties involved. The original property owner becomes the seller-lessee—they sell the property and then become the tenant. The investor who purchases the property becomes the buyer-lessor—they buy the asset and become the landlord.  

The entire deal is governed by two critical legal documents that are negotiated together: the Purchase and Sale Agreement and the Lease Agreement. The terms are deeply connected; for instance, the rent is often calculated as a percentage of the sale price to give the buyer-lessor a specific return on their investment, rather than being based on market rental rates.  

Why You Owe Capital Gains Tax in the First Place

The U.S. tax code treats the “sale” portion of a sale-leaseback as a disposition of property. When you dispose of a capital asset for more than your investment in it, you have a “realized gain,” and that gain is taxable. This profit is known as a capital gain.  

A capital asset includes most property you own for business or investment, like real estate. The tax is calculated using a simple formula: your profit is the amount you get from the sale minus your investment in the property.  

The official formula is:

Capital Gain=Amount Realized−Adjusted Basis

Amount Realized is the total value you receive. It includes the cash sale price, plus any of the seller’s debts (like a mortgage) that the buyer takes over, minus any selling expenses like realtor commissions or legal fees.  

Adjusted Basis is your total investment in the property for tax purposes. It starts with the original purchase price, increases with the cost of major improvements (like a new roof), and decreases by the amount of depreciation you’ve claimed over the years.  

The length of time you owned the property is also crucial. If you owned it for more than one year, your profit is a long-term capital gain, which is taxed at lower, preferential rates (0%, 15%, or 20% federally). If you owned it for one year or less, it’s a short-term capital gain, taxed at your much higher ordinary income tax rates.  

The IRS’s Ultimate Power: Recharacterizing Your Sale as a Loan

The single greatest risk in a sale-leaseback is that the IRS will ignore the labels you’ve used and recharacterize the entire deal as a disguised loan. This power comes from the “substance over form” doctrine, which lets the IRS determine the true economic reality of a transaction.  

The IRS asks one simple question: have the “benefits and burdens of ownership” truly transferred from the seller to the buyer? If it concludes that you, the seller-lessee, still act like the owner and the buyer-lessor acts like a lender, the deal will be reclassified for tax purposes.  

This recharacterization has devastating tax consequences. The “sale” is ignored, so you don’t report a capital gain. Instead, the cash you received is treated as a loan, and your “rent” payments are reclassified as non-deductible loan principal repayments with a tiny sliver of deductible interest.  

| Transaction Aspect | “True Sale” Treatment | “Disguised Financing” Treatment | |—|—| | Initial Cash Received | Sale Proceeds | Loan Proceeds | | Tax on Your Profit | Capital Gains Tax is Due | No Gain Recognized, No Tax Due | | Your “Rent” Payments | Fully Deductible Business Expense | Mostly Non-Deductible Principal Repayment | | Depreciation | You Stop Claiming It | You Continue to Claim It | | Tax Ownership | Transfers to Buyer-Lessor | Stays with You (Seller-Lessee) |

Red Flags: How to Avoid Having Your Deal Recharacterized

The IRS looks at the total facts and circumstances, but certain lease terms are well-known red flags that invite scrutiny. Avoiding them is critical to ensuring your transaction is respected as a true sale.

  • A Bargain Repurchase Option: This is the most significant red flag. If your lease gives you the right to buy back the property for a price far below its expected future market value (e.g., for $1), the IRS will argue you never intended to give up ownership. The economic pressure to exercise the option is so strong that it shows you retained your equity in the property.  
  • Automatic Reversion of Title: Any clause that automatically gives you ownership back at the end of the lease term is a clear sign that no real sale occurred.  
  • Off-Market Numbers: A sale price or rent payments that don’t align with fair market value are suspicious. If the “sale price” is based on your financing needs instead of an appraisal, and the “rent” is calculated to pay that amount back with interest, it looks exactly like a loan.  
  • Buyer Has No Real Risk: In a typical sale-leaseback, the tenant pays for taxes, insurance, and maintenance (a “triple-net lease”). But if the agreement goes further and insulates the buyer-lessor from all economic risks, like a decline in property value, the buyer starts to look more like a secured lender than a property owner.  

Frank Lyon Co. v. United States: The Supreme Court’s Guiding Precedent

The most important court case on this topic is Frank Lyon Co. v. United States. In this case, a bank (Worthen) was blocked by regulations from owning its new headquarters. It arranged for Frank Lyon Co. to buy the building and lease it back to them. The IRS attacked the deal as a disguised financing.  

The Supreme Court sided with Frank Lyon, upholding the sale-leaseback. The Court established a key test: a transaction will be honored for tax purposes if it is a “…genuine multiple-party transaction with economic substance which is compelled or encouraged by business or regulatory realities… and is not shaped solely by tax-avoidance features…”  

Crucially, the Court found that Frank Lyon, the buyer, took on real economic risk. It was personally liable for the mortgage and stood to lose its own cash investment if the bank defaulted. This transfer of genuine risk was the deciding factor and remains the core principle for structuring a defensible sale-leaseback today.  

Calculating Your Tax Bill: A Step-by-Step Guide

Figuring out your capital gains tax requires a careful, multi-step calculation. Let’s walk through an example.

Imagine your company bought a warehouse 15 years ago.

Step 1: Find Your Adjusted Basis

Your adjusted basis is your net investment in the property for tax purposes.

  • Original Purchase Price: $2,000,000
  • Acquisition Costs (e.g., legal fees): +$50,000
  • Capital Improvements (e.g., new roof): +$450,000
  • Accumulated Depreciation Claimed: -$700,000
  • Adjusted Basis: $1,800,000

Step 2: Calculate Your Amount Realized

This is the total value you get from the sale, minus your selling costs.

  • Cash Sale Price: $4,000,000
  • Mortgage Assumed by Buyer: +$1,000,000
  • Selling Expenses (e.g., commissions): -$200,000
  • Amount Realized: $4,800,000

Step 3: Calculate Your Total Gain

This is the simple part of the math.

  • Amount Realized ($4,800,000) – Adjusted Basis ($1,800,000) = Total Gain of $3,000,000

Step 4: Account for Depreciation Recapture (The Hidden Tax)

This is the step most people miss. The tax code doesn’t let you get a double benefit by reducing your ordinary income for years with depreciation and then paying a lower capital gains rate on that same amount when you sell. The IRS “recaptures” the tax benefit from depreciation.  

For real estate, the portion of your gain that is equal to the straight-line depreciation you claimed is called “unrecaptured Section 1250 gain.” This portion is taxed at a special, higher federal rate of up to 25%.  

In our example:

  • Total Gain: $3,000,000
  • Total Depreciation Claimed: $700,000
  • Unrecaptured Section 1250 Gain: $700,000 (This is the portion of the gain that will be taxed at 25%).

Step 5: Calculate the Final Tax Liability

Now, you apply the different tax rates to the different parts of your gain.

  • Tax on Depreciation Recapture:
    • $700,000 (Unrecaptured Gain) x 25% = $175,000
  • Tax on Remaining Capital Gain:
    • $2,300,000 (Remaining Gain) x 20% (assuming highest bracket) = $460,000
  • Total Estimated Federal Tax:
    • $175,000 + $460,000 = $635,000

This calculation does not include the 3.8% Net Investment Income Tax (NIIT) or any state and local taxes, which could add a significant amount to the final bill.

Strategic Planning: How to Defer or Reduce Your Tax Bill

The high tax cost of a sale-leaseback makes strategic planning essential. The most powerful tool available is a Section 1031 like-kind exchange.

Using a 1031 Exchange to Defer Your Taxes

Section 1031 of the tax code allows you to sell an investment property and defer paying all capital gains and depreciation recapture taxes, as long as you reinvest the proceeds into a “like-kind” replacement property.  

For real estate, “like-kind” is very broad. You can exchange an office building for raw land or an apartment complex. Crucially, IRS regulations state that a leasehold interest with 30 or more years remaining (including renewal options) is considered “like-kind” to owning property outright.  

This rule allows you to combine a sale-leaseback with a 1031 exchange. You can sell your property, lease it back to continue your operations, and use the sale proceeds to buy a different investment property, deferring the entire tax bill from the original sale. This requires using a Qualified Intermediary and following strict timelines: you must identify replacement properties within 45 days and close on the new property within 180 days.  

The 30-Year Lease Trap: A Critical Mistake to Avoid

The 30-year rule is a double-edged sword. Section 1031 is mandatory, not optional. If a transaction meets the definition of a like-kind exchange, you cannot recognize a gain or a loss.  

This creates a major pitfall. If you sell a property at a loss and sign a leaseback for 30 years or more, the IRS will recharacterize it as an involuntary like-kind exchange. Your intended tax loss will be disallowed, as established in the case Crowley, Milner & Co. v. Commissioner.  

Therefore, the lease term is a critical tax planning decision. If you want to recognize a tax loss, you must ensure the lease term, including all renewal options, is less than 30 years.

Your Business Structure Matters—A Lot

The legal entity you use to own your property has a massive impact on your final tax bill. This decision, often made years earlier, can be the single biggest factor in determining your after-tax cash.

C-Corporations: The Double Taxation Trap

A C-corporation is a separate legal entity from its owners, which creates two layers of tax on the sale of an appreciated property.  

  1. Corporate-Level Tax: The C-corp first pays a flat 21% federal corporate tax on the capital gain.  
  2. Shareholder-Level Tax: When the corporation distributes the after-tax proceeds to its shareholders, those shareholders pay tax again on the dividends, at rates up to 23.8% (20% for qualified dividends plus the 3.8% NIIT).  

This two-tiered system can consume a huge portion of the sale proceeds. For this reason, holding appreciating real estate in a C-corp is often considered a major tax planning mistake.  

S-Corporations and LLCs/Partnerships: The Pass-Through Advantage

S-corporations and LLCs taxed as partnerships are “pass-through” entities. They don’t pay tax at the company level. The capital gain from the sale “passes through” to the owners’ personal tax returns and is taxed only once at their individual capital gains rates.  

This single layer of tax is a huge advantage over C-corps. While both S-corps and partnerships offer this benefit, partnerships/LLCs are often superior for holding real estate. This is because a partner can include their share of the partnership’s debt in their tax basis, allowing them to deduct larger “paper losses” from depreciation, a benefit not available to S-corp shareholders.  

| Entity Type | Tax on Property Gain | Tax on Cash Distribution | Overall Tax Burden | |—|—|—| | C-Corporation | Yes (at corporate level) | Yes (at shareholder level) | Double Taxation | | S-Corporation | No (passes through to owner) | No (generally tax-free) | Single Taxation | | LLC/Partnership | No (passes through to owner) | No (generally tax-free) | Single Taxation |

State and Local Tax Nuances

Federal taxes are only part of the story. You must also consider state and local taxes, which can vary dramatically.

Most states have their own capital gains tax, which is levied on top of the federal tax. States like California, New York, and New Jersey have high income tax rates that apply to capital gains, significantly increasing the total tax burden. Other states, such as Florida, Texas, and Nevada, have no state income tax at all.

Furthermore, states may have different rules for depreciation, which can affect your property’s adjusted basis and the amount of gain you recognize. Local jurisdictions may also impose real estate transfer taxes on the sale, adding another layer of cost to the transaction.  

It is worth noting that other countries have entirely different approaches. In the United Kingdom, for example, a sale-leaseback is often treated as a “part-disposal” for tax purposes, where only a portion of the gain is recognized, a stark contrast to the U.S. system.  

Do’s and Don’ts for a Bulletproof Sale-Leaseback

Do’sDon’ts
Do get a third-party appraisal to establish a fair market value for the sale price.Don’t set the price based on your financing needs or an arbitrary number.
Do research comparable properties to set a fair market rental rate for the lease.Don’t inflate the rent to give the buyer a guaranteed, above-market return.
Do ensure any repurchase option is for the property’s fair market value at the time of exercise.Don’t ever include a fixed-price or nominal ($1) bargain repurchase option.
Do make sure the buyer-lessor assumes genuine economic risks of property ownership.Don’t structure the deal to completely insulate the buyer from any potential loss.
Do consult with experienced tax and legal professionals before signing any agreements.Don’t assume the labels “sale” and “lease” will protect you from IRS scrutiny.

Export to Sheets

Pros and Cons of a Sale-Leaseback

ProsCons
Immediate Liquidity: Frees up 100% of the equity tied up in your real estate.Loss of Appreciation: You give up any future increase in the property’s value.
Operational Control: You continue to use the asset without interruption.Loss of Ownership: You become a tenant and lose ultimate control over the property.
Tax Benefits: Lease payments are fully deductible as a business expense.Capital Gains Tax: You must pay taxes on the profit from the sale in the current year.
Alternative Financing: Can be an option when traditional loans are restrictive or unavailable.Long-Term Obligation: You are locked into a long-term lease with fixed payments.
Improved Balance Sheet: Converts a fixed asset into cash, which can improve financial ratios.Recharacterization Risk: An improperly structured deal can lead to severe negative tax consequences.

Export to Sheets

Frequently Asked Questions (FAQs)

Q1: What happens if I sell a property in a sale-leaseback at a loss? Yes, you can generally deduct the loss. However, the loss is disallowed if the leaseback term is 30 years or more, or if the sale is to a related party under Section 267.  

Q2: Can I use a sale-leaseback for my primary residence? No, this is highly discouraged. It can create “nonqualified use” of the property, which may reduce or eliminate the valuable $250,000/$500,000 capital gains exclusion you are entitled to when selling your main home.  

Q3: How does the accounting treatment (ASC 842) differ from the tax treatment? Yes, they are very different. Accounting rules (ASC 842) focus on “control” to determine if a sale occurred, while tax rules focus on “benefits and burdens of ownership.” A transaction can be a sale for accounting but a loan for tax purposes.  

Q4: What is depreciation recapture and how does it affect my taxes? Yes, it is an extra tax. The portion of your gain that comes from depreciation deductions you took in the past is “recaptured” and taxed at a higher federal rate of up to 25%.  

Q5: Are there different rules if I sell to a company I own? Yes. Under Section 267 of the tax code, you cannot deduct a loss on a sale to a “related party,” which includes a corporation you control. The rules are designed to prevent manufactured tax losses.