NNN Sale-Leaseback Tax Treatment: Worked Example for Sellers and Buyers

A sale-leaseback converts a commercial building into cash while keeping the seller in occupancy as a NNN tenant. The seller triggers a taxable gain, loses the depreciation deduction, and starts deducting rent. The buyer receives a fully depreciated new cost basis, NNN income, and a potential cost segregation windfall. This guide walks both sides through a full numeric case.

Illustration for NNN Sale-Leaseback Tax Treatment
Quick Answer: In a NNN sale-leaseback, the seller recognizes gain (and depreciation recapture) in the year of sale and can then deduct NNN rent as a business expense going forward. The buyer takes a fresh cost basis, begins 39-year depreciation (or shorter lives after cost segregation), and collects passive NNN income. A 1031 exchange is not available to the seller because no replacement property is acquired.
IRS Rule: Sale-Leaseback as a Taxable Sale The IRS and courts generally treat a true sale-leaseback as a bona fide sale in the year of closing — the seller's gain is fully realized under IRC §1001, and all accumulated depreciation (§1245 for personal property; unrecaptured §1250 for the building) is recognized. The leaseback does not convert the transaction into a financing arrangement unless the lease term substantially covers the building's remaining useful life or the seller retains effective ownership rights inconsistent with a true sale.

Full worked example — the numbers from both sides

A regional restaurant chain owns a free-standing 4,000-square-foot building on its own land. After a cost segregation study when the property was placed in service 8 years ago, the chain had:

Adjusted basis at sale: $400,000 (land) + ($1,100,000 − $225,641) (building) + $0 (§1245) = $1,274,359

The chain sells the building to a net-lease investor for $2,100,000 and simultaneously signs a 20-year NNN leaseback at $168,000 per year base rent ($14,000/month), with options to extend. The tenant (chain) pays property taxes, insurance, and maintenance directly.

Seller's (chain's) tax calculation at sale:

Amount realized (sale price)$2,100,000
Less: adjusted basis($1,274,359)
Total realized gain$825,641
§1245 recapture (fully depreciated personal property)$200,000 — ordinary income
Unrecaptured §1250 gain (building depreciation taken)$225,641 — max 25% rate
Remaining §1231 gain (long-term capital)$399,000 — max 20% + 3.8% NIIT

Note: The §1245 recapture ($200,000) is taxed as ordinary income regardless of how long the asset was held. The unrecaptured §1250 gain ($225,641) is taxed at a maximum federal rate of 25%. The remaining §1231 gain ($399,000) is long-term capital gain, subject to a maximum 20% rate plus the 3.8% NIIT if applicable.

Seller's post-sale annual tax benefit (rent deduction): The chain now deducts $168,000 in NNN rent per year as an ordinary business expense — replacing the annual depreciation deduction of approximately $28,205 ($1,100,000 ÷ 39) it previously took on the building. The effective tax benefit of the rent deduction is larger than the depreciation it lost, since rent is fully deductible while depreciation was only 1/39 of cost per year.

Buyer's (net-lease investor's) tax picture:

Purchase price / new cost basis$2,100,000
Land allocation (appraised, assumed 20%)$420,000 — not depreciable
Depreciable building basis$1,680,000
Annual MACRS depreciation (39 years, mid-month)≈ $43,077 per year
Annual NNN income$168,000 (base rent only; no gross-up for expenses)
Approximate year-1 taxable income before cost segregation$168,000 − $43,077 = $124,923

If the buyer commissions a cost segregation study and reclassifies 15% of the building cost into 5-year components ($252,000) and 5% into 15-year components ($84,000), and the building was placed in service after January 19, 2025 (100% bonus depreciation restored):

Year-1 taxable income: $168,000 − $353,231 = ($185,231) passive loss. This loss is typically suspended under the passive-activity rules until offset by other passive income or the property is sold. For a real estate professional with material participation, it may be fully deductible. At a minimum, it defers tax on a substantial amount of income.

Why sellers do sale-leasebacks — and the hidden tax cost

Corporations and owner-operators use sale-leasebacks to monetize illiquid real estate at full market value, freeing capital for core business investment. The appeal is that the sale proceeds may exceed what a mortgage would provide, and the rent payment replaces a capital cost with a fully deductible operating expense.

The hidden tax cost is immediate: gain recognition and depreciation recapture hit in year one, with no deferral mechanism (unlike a 1031 exchange). Over a 20-year leaseback, the seller deducts rent totaling $168,000 × 20 = $3,360,000 — far more than the original purchase price — but those deductions come slowly, while the tax on the gain comes all at once. A seller must model the present value of the future rent deductions against the current-year tax cost of recognition to determine whether the transaction creates or destroys after-tax value.

Planning Tip: If the seller cannot absorb a large gain in one year, an installment sale structure can spread recognition over multiple years. Under IRC §453, the seller takes a purchase-money note from the buyer, and each year's principal payment triggers gain proportionally. The §1245 recapture component must still be recognized in year one, but the §1231 and long-term capital gain portions can be deferred. The tradeoff: the seller does not receive all cash upfront, and interest on the note is ordinary income. Installment leaseback notes also create credit risk if the buyer defaults on the note while the seller remains a tenant.

The §467 rental agreement rule and leaseback rents

When a leaseback agreement has aggregate rents exceeding $250,000, IRC §467 may apply to determine when rent is deducted by the tenant and when it is included in income by the landlord. §467 concerns itself with timing mismatches — rents that are prepaid, deferred, or not proportional to the period of use.

For most plain-vanilla NNN sale-leasebacks with level annual rent, §467 simply confirms that the rent is deductible and includible in each year as it accrues and is paid — no reallocation needed. The rule becomes more complex when:

Parties structuring a sale-leaseback between related entities (a parent selling to a subsidiary, or partners selling to their own partnership) must review §467 carefully before finalizing rent terms. A disproportionate rent schedule in a related-party leaseback is restructured by the IRS into proportional rent — which may alter the tax deductions both parties expected.

§1239 ordinary income risk in related-party sale-leasebacks

Under IRC §1239, gain on the sale of depreciable property between related parties — including a shareholder and a more-than-50%-owned corporation — is recharacterized as ordinary income rather than capital gain, to the extent the property is depreciable by the buyer. Because the building in a sale-leaseback is depreciable by the buying investor, related-party transactions can convert what would otherwise be §1231 capital gain into ordinary income at full rates.

For unrelated parties — a true arm's-length sale to an independent investor — §1239 does not apply, and the §1231 gain retains its preferential long-term capital gain character. This is one reason most sale-leasebacks are structured with unrelated institutional buyers: the tax character of the gain is significantly better.

Common Mistake: Sellers sometimes assume that because the leaseback rent is "replacing" their mortgage payment, the after-tax cost is similar. It is not. Mortgage interest is a deductible expense, but mortgage principal is a return of basis that reduces future gain — not a current deduction. All NNN rent is fully deductible. But the seller also gave up the building's stepped-up basis at sale, lost all future depreciation deductions, and may no longer benefit from future appreciation. These differences compound over a long lease term and must be modeled carefully before closing.

Seller's basis in the new leasehold interest

Once the sale closes, the seller no longer has an ownership interest in the building — only a leasehold interest (the right to occupy under the leaseback lease). Leasehold interests are not depreciable by the tenant unless the tenant itself makes improvements. The seller/tenant can depreciate any leasehold improvements it subsequently makes to the space (qualified improvement property, 15-year MACRS) but cannot depreciate the building or land it no longer owns. The original building's tax story ended at the sale; the rent-deduction story begins on day one of the leaseback.

Frequently asked questions

Does a sale-leaseback qualify for a 1031 exchange?

No. The seller in a sale-leaseback gives up ownership and immediately becomes a tenant, so no like-kind replacement property is acquired. A 1031 exchange requires reinvestment in replacement property held for investment, which the seller does not have. The buyer could do a 1031 on a later sale of the leased property.

Can the seller deduct rent paid in a sale-leaseback?

Yes, if the rent is an ordinary and necessary business expense. The seller/tenant deducts NNN rent as a business expense on its operating return — the base rent plus any operating costs it pays directly under the triple-net structure. The deduction replaces the depreciation deduction the seller gave up when it sold the building.

What is the §467 rental agreement rule in a sale-leaseback?

IRC §467 applies when a lease has total rent exceeding $250,000 and rent is deferred or prepaid. It requires that rent be allocated under the lease agreement's payment schedule (or an accrual rule if the lease is a "disqualified leaseback"). Sale-leasebacks between related parties automatically trigger the stricter proportional-rental-accrual rule, which can override the payment schedule for tax purposes.

How does a sale-leaseback affect the buyer's depreciation?

The buyer starts depreciation on the full purchase price as a fresh cost basis. For a commercial NNN building, that is 39-year straight-line MACRS from the month of purchase. A cost segregation study can reclassify personal property and land improvements into shorter lives, with 5-, 7-, and 15-year components eligible for 100% bonus depreciation (for property placed in service after January 19, 2025).

Is a sale-leaseback between related parties respected for tax purposes?

It may be, if it reflects genuine economic substance — a true transfer with market-rate rent. The IRS looks at whether the buyer has actual ownership burdens and benefits, whether rent is at fair market value, and whether the lease term covers the property's remaining useful life. Related-party transactions also face §467 and may trigger §1239 ordinary income on the seller's gain.

Can a sale-leaseback gain be reported on the installment method?

Yes, if the buyer pays over time. Under IRC §453, the seller reports gain as payments are received — but §1245 depreciation recapture must be fully recognized in year one. Only the §1231 or long-term capital-gain portion can be deferred through installment reporting.

What happens to depreciation recapture in a sale-leaseback?

All accumulated depreciation on §1245 components is recaptured as ordinary income in the year of sale. The building's unrecaptured §1250 gain is taxed at a maximum 25% rate. The leaseback structure does not reduce or defer recapture — it hits the same year as the sale proceeds.

Does the seller's gain in a sale-leaseback produce NIIT exposure?

Yes. The gain is net investment income under IRC §1411 and subject to the 3.8% NIIT to the extent MAGI exceeds $200,000 ($250,000 MFJ). NNN rent paid going forward is a deductible operating expense for the seller's business — it reduces net investment income only if the rental is part of a non-passive trade or business in which the seller materially participates.

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

Related