Sale-Leaseback Tax Treatment: A Full Walkthrough for Sellers and Buyers

A sale-leaseback converts an illiquid building into cash while preserving the seller's right to stay — but the tax math looks very different depending on which side of the transaction you are on.

Illustration for Sale-Leaseback Tax Treatment
Quick AnswerIn a sale-leaseback, the seller (now tenant) recognizes taxable gain on the sale in the year of closing — the transaction is a normal disposition — then deducts rent as an ordinary business expense for the duration of the leaseback. The buyer (now landlord) takes the purchase price as depreciable basis, starts 39-year straight-line depreciation from closing, and reports base rent as rental income. The lease structure is typically NNN, so the tax mechanics closely parallel an NNN investment property acquisition.
IRS RuleA sale-leaseback is respected as a true sale only if it has economic substance — a bona fide change in ownership, arm's-length pricing, and no sham arrangement. IRC §1001 governs gain recognition; IRC §162 governs the rent deduction. If the IRS recharacterizes the transaction as a financing arrangement (seller retains beneficial ownership), the seller loses the rent deduction and the gain is deferred — with interest accrued on the tax deferred — under the loan analysis.

The worked example: a business sells and leases back its headquarters

A manufacturing company owns its 20,000-square-foot production facility in Ohio. It purchased the building in 2010 for $1,200,000 (land: $200,000, building: $1,000,000). After 16 years of depreciation, the adjusted basis is:

Building basis after depreciation: $1,000,000 − ($1,000,000 ÷ 39 × 16 × depreciation factor) ≈ $1,000,000 − $410,256 = $589,744

Land basis: $200,000 (not depreciated)

Total adjusted basis: $789,744

The company sells the building to a real estate investor for $2,500,000 (land: $400,000, building: $2,100,000) on January 1, 2026, and simultaneously signs a 15-year NNN lease at $175,000/year.

Seller-tenant's tax at closing (2026):

Total federal tax at closing (illustrative, 20% LTCG + 3.8% NIIT on §1231 gain, 25% on recapture): ($1,300,000 × 23.8%) + ($410,256 × 25%) = $309,400 + $102,564 = $411,964.

The seller receives $2,500,000 cash, pays roughly $412,000 in federal tax, and nets ~$2,088,000 — plus the right to continue using the building for 15 years. Each year going forward, the $175,000 rent is fully deductible under §162, reducing the company's taxable income by $175,000/year. At a 25% marginal rate, that is $43,750/year in tax savings over 15 years = $656,250 in cumulative future tax savings, partially offsetting the $412K recognized at closing.

Buyer-landlord's tax picture:

Under a true NNN lease, the tenant pays property taxes, insurance, and maintenance directly. The buyer reports only the $175,000 base rent and takes only depreciation and financing costs (if any) as deductions.

The seller's perspective: trading equity for rent deductions

The core appeal of a sale-leaseback for a business is converting a large, illiquid asset into working capital while retaining occupancy. From a tax perspective, the exchange is:

This dynamic is why sale-leasebacks are especially attractive to businesses that have fully or largely depreciated their buildings. Once a building is depreciated down to zero basis, the owner captures no annual tax benefit from ownership and bears all the upside and downside of real estate appreciation. Selling crystallizes the gain, the rent is fully deductible, and the company redeploys the sale proceeds in its core business.

Planning TipAn installment sale structure can spread the seller's gain recognition over multiple years, reducing the immediate tax burden at closing. Under IRC §453, if the seller receives some of the proceeds in a year after the sale, only the payments received in each year are taxable in that year. For a $2.5M sale-leaseback, taking $500,000 at closing and $400,000/year for five years would spread the gain across five years, potentially avoiding the top capital-gains rate bracket in the sale year. The leaseback proceeds are independent — rent is still paid and deducted annually regardless of the installment payment schedule.

The buyer's perspective: NNN income plus depreciation

For the investor, a sale-leaseback acquisition is essentially the same as buying any NNN investment property — except the tenant is the previous owner, who typically has a strong economic incentive to maintain the property and honor the lease (they need the building to run their business). This creditworthiness dynamic often makes sale-leaseback properties more attractive than a typical NNN with a franchise tenant.

The buyer's tax treatment is straightforward:

The buyer should also confirm that the lease term and structure survive a potential insolvency of the seller-tenant. A sale-leaseback where the seller-tenant later files bankruptcy can expose the landlord to lease rejection risk — a real concern for smaller businesses using the leaseback as emergency liquidity.

Can the seller use a 1031 exchange to defer the gain?

In a pure sale-leaseback, the seller receives cash — not real property — in exchange for the building. Because the seller does not acquire like-kind real property as replacement, there is no 1031 exchange on the sale itself. The gain is fully recognized at closing.

However, the seller can combine a sale-leaseback with a 1031 exchange if they simultaneously identify and acquire other like-kind real property with the sale proceeds. For example, a company that owns two buildings could sell both in a simultaneous transaction, leaseback one (needing the operational continuity), and use the other building's proceeds to acquire a 1031 replacement property. The gain on the leased-back building is recognized; the gain on the other building is deferred.

The buyer in a sale-leaseback transaction can also use the acquisition as 1031 replacement property, deferring gain from the sale of their prior property. From the buyer's perspective, a sale-leaseback target is simply a commercial property acquisition — a qualifying like-kind replacement.

Common MistakeRelated-party sale-leasebacks — a business selling its building to a family member, a trust it controls, or a commonly owned entity — face heightened IRS scrutiny under the economic-substance doctrine and IRC §267 (related-party losses). If the IRS determines the transaction lacks a genuine business purpose, the sale is recharacterized as a continuing ownership interest, the rent deduction is disallowed, and no step-up in basis is allowed. Use fair market value pricing and arms-length lease terms, and document the business rationale for the transaction (liquidity, capital deployment, risk reduction) before closing.

State tax considerations

Most states follow federal treatment for gain recognition at sale and rent deductibility — but the allocation of the sale price between land and building, state depreciation conformity, and bonus depreciation addback rules vary. Several states do not conform to accelerated federal bonus depreciation and require the buyer to depreciate the full purchase price over 39 years at the state level, recovering the difference over time. Some states also impose a real estate transfer tax on the sale itself, which the parties should negotiate in the purchase contract (typically paid by seller, but negotiable).

For multi-state businesses, the sale of a building in State X while operating in State Y may apportion the gain under State X's nonresident rules. The rent deduction reduces apportioned income in both states proportionally. Work with a state-and-local tax advisor before closing on a sale-leaseback involving an out-of-state property.

Frequently asked questions

Does a sale-leaseback trigger a taxable gain?

Yes, in most cases. The seller recognizes gain (or loss) on the sale in the year of closing — it is a normal IRC §1001 disposition. The character of the gain depends on how long the building was held and how much depreciation was taken: depreciation is recaptured as unrecaptured §1250 gain (25% rate), and the balance is §1231 long-term capital gain.

Can a seller-tenant do a 1031 exchange to defer the gain?

Not on a pure sale-leaseback — the seller receives cash, not like-kind real property, so there is no exchange. The seller can combine the transaction with a simultaneous 1031 acquisition of other real property, deferring gain on that portion. The buyer can use the acquisition as 1031 replacement property.

How does the buyer-landlord depreciate a sale-leaseback property?

The buyer depreciates the building allocation of the purchase price over 39 years (nonresidential real property, mid-month convention). Basis equals the purchase price allocated to the building. A cost segregation study can reclassify shorter-life components for accelerated deductions.

Are the rent payments deductible for the seller-tenant?

Yes. Rent paid to use business property is deductible under IRC §162 as an ordinary and necessary business expense. The deduction is taken in full each year the rent is paid, with no spread over the lease term. Related-party and non-arm's-length transactions face scrutiny on whether the rent is at fair market value.

What are the tax risks if a sale-leaseback is recharacterized?

If the IRS determines the transaction is actually a financing arrangement, the seller loses the rent deduction, the sale is treated as a loan, and the gain is deferred while the seller retains beneficial ownership. Courts look at whether ownership risks transferred, whether the sale price was at fair market value, and whether the arrangement has economic substance beyond tax benefits.

Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.

Related