Fintrix Consulting LLC

Accounting standards

Selling your building and leasing it back: sale or loan?

November 19, 2026 · 10 min read

← All articles
Green and white metal-clad industrial building against a blue sky
Photo via Pexels

Quick answer

Under ASC 842-40, a sale-leaseback counts as a sale only if control of the building passes to the buyer under ASC 606, the leaseback is an operating lease, and you don't hold a repurchase option (for real estate, practically any repurchase option fails the test). If it's a sale, you remove the building, book the full gain and record a normal lease. If it fails, it's a financing: the building stays on your books, the cash is a loan, and there's no gain.

You bought your building years ago. It's worth far more now than you paid, and the business could use the cash. An investor offers to buy it at full appraisal and lease it straight back to you for ten years. You keep operating exactly where you are, with a seven-figure check in the bank.

Commercially, that's a sale-leaseback. In your financial statements, it might not be a sale at all. Depending on the terms, US GAAP can treat the whole thing as a loan secured by the building, with no gain and a large new liability on the balance sheet. That difference shows up in your profit, your debt ratios and possibly your loan covenants.

This post explains the test under ASC 842-40, walks through a worked example both ways, and lists the terms that tip a deal from sale to loan.

What is ASC 842-40 actually testing?

One question: did you really sell the building, or did you borrow against it?

As KPMG puts it, the gating question is whether a sale of the underlying asset has occurred under ASC 606, the revenue standard. That means a contract exists and control of the building passes to the buyer. Keeping use of the building through the lease is the point of the deal, so that alone doesn't make it a loan. Specific terms in the contract do.

ASC 842-40 then adds two hard stops on top of the general control test:

  1. The leaseback can't be a finance lease (from your side) or a sales-type lease (from the buyer's side). If it is, sale treatment is automatically precluded.
  2. You can't hold an option to buy the building back, unless the price is fair value at the time you exercise it and substantially the same assets are readily available in the market. KPMG notes the transfer may still qualify as a sale with such an option only if the asset isn't real estate. Buildings are unique, so for a building the exception essentially never applies.
Sale or financing: what decides it

Gain booked

Counts as a sale

  • Control passes to the buyer under ASC 606
  • Leaseback is an operating lease
  • No repurchase option for you
  • Building comes off your balance sheet
  • Lease recorded like any other operating lease

No gain

Failed sale (financing)

  • Leaseback would be a finance lease
  • You hold a repurchase option on the building
  • Building stays on your books and keeps depreciating
  • Cash received is a financial liability
  • Rent payments split into interest and principal

When does the leaseback become a finance lease?

The same classification test you'd use for any lease applies here. Our post on ASC 842 for small businesses covers it in full, but in a sale-leaseback these are the usual tripwires:

  • The lease transfers ownership back to you at the end.
  • You have a purchase option you're reasonably certain to exercise, such as a bargain price in year 10.
  • The lease term is a major part of the building's remaining economic life. A 25-year leaseback on a building with 30 years left will usually get there.
  • The present value of the payments is substantially all of the fair value. If the rent is high enough that you're effectively paying the buyer back the full price plus interest, it looks like a loan.
  • The asset is so specialized that it has no other use to the buyer at the end of the lease.

Residual value guarantees and renewal options you're reasonably certain to exercise count in the term and payments, so they can push a lease over the line too.

What happens when it counts as a sale?

You take the building off the balance sheet, record the cash, and book a gain or loss for the full difference between the sale price and the building's carrying amount. KPMG notes this is a real difference from IFRS, which only recognizes part of the gain. Under US GAAP, you get all of it at once.

Then you account for the leaseback as a normal lease: a right-of-use asset and a lease liability at the present value of the rent, with straight-line lease expense if it's an operating lease.

What happens when it fails?

The transaction is accounted for as a financing. You:

  • Keep the building on your books at its existing carrying amount and keep depreciating it
  • Record the cash received as a financial liability (in effect, a loan from the buyer)
  • Split each rent payment between interest expense and repayment of that liability
  • Record no gain

There's a technical rule about the interest rate on that liability (ASC 842-40-30-6), designed to avoid a built-in loss when the arrangement ends. Your accountant will set the rate; just know it exists.

The conclusion isn't permanent. If facts change, for example you give up the repurchase option, the failed sale is reassessed, and it may qualify as a sale at that point.

A worked example: a machine shop sells its building

Say you own a precision machine shop. You bought your building in 2012, and its carrying amount today is $1,400,000: $400,000 for the land and $1,000,000 for the building, which you depreciate at $40,000 a year over 25 remaining years.

On January 1, 2026 an investor buys it for $3,000,000, its appraised fair value, and leases it back to you for 10 years at $240,000 a year, a market rent, paid at each year end. Your incremental borrowing rate is 6%.

Version A: no repurchase option. The lease doesn't transfer ownership, there's no purchase option, 10 years isn't a major part of a 25-year remaining life, and the present value of the rent ($1,766,421) is about 59% of fair value. It's an operating lease, so this is a sale.

  • Remove the building: $1,400,000
  • Record cash: $3,000,000
  • Gain: $1,600,000
  • Record a right-of-use asset and lease liability of $1,766,421 (present value of $240,000 a year for 10 years at 6%)
  • Year 1: straight-line lease expense of $240,000. At year end the lease liability is $1,632,406

Version B: the same deal, plus an option to buy the building back for $3,300,000 at the end of year 10. A fixed-price repurchase option on real estate fails the test. It's a financing.

  • Building stays at $1,400,000
  • Cash $3,000,000, and a financing liability of $3,000,000
  • No gain
  • Year 1: interest of $180,000 ($3,000,000 × 6%), so $60,000 of the $240,000 payment reduces the liability to $2,940,000. Depreciation of $40,000 continues

Day one balance sheet, sale vs failed sale

Machine shop sells its building for $3.0M and leases it back for 10 years

  • Sale (no repurchase option)
  • Failed sale ($3.3M buyback option)
$0$1M$2M$3MBuilding · Sale (no repurchase option): $0Building · Failed sale ($3.3M buyback option): $1,400,000Right-of-use asset · Sale (no repurchase option): $1,766,421Right-of-use asset · Failed sale ($3.3M buyback option): $0Lease liability · Sale (no repurchase option): $1,766,421Lease liability · Failed sale ($3.3M buyback option): $0Financing liability · Sale (no repurchase option): $0Financing liability · Failed sale ($3.3M buyback option): $3,000,000BuildingRight-of-use assetLease liabilityFinancing liability

Hypothetical example. Both versions receive $3,000,000 cash. Only the sale books the $1,600,000 gain.

Show the numbers
 Sale (no repurchase option)Failed sale ($3.3M buyback option)
Building$0$1,400,000
Right-of-use asset$1,766,421$0
Lease liability$1,766,421$0
Financing liability$0$3,000,000
Year 1SaleFailed sale
Gain on sale$1,600,000$0
Lease expense$240,000$0
Interest expense$0$180,000
Depreciation$0$40,000
Liability at year end$1,632,406 (lease)$2,940,000 (financing)
Cash paid to the investor$240,000$240,000

Same cash in, same rent out. One version reports a $1.6 million gain and a lease liability. The other reports no gain and $3.0 million of new debt. If your bank tests debt to equity or a fixed charge ratio, those two balance sheets can land on opposite sides of a covenant.

What if the price or the rent isn't at market?

Sale-leasebacks are often priced as a package. A buyer might pay above fair value in exchange for higher rent, or below it for lower rent. ASC 842-40 adjusts for that so the gain isn't inflated or hidden.

Per PwC's guide, you compare the sale price with the building's fair value, or the present value of the rent with market rent, whichever is more readily determinable. Then:

One exception: PwC notes these fair value adjustments aren't made in related-party sale-leasebacks, such as selling the building to your own property LLC. Those transactions are disclosed instead, as covered in related-party disclosures.

How does the buyer account for it?

The mirror image. In a successful sale, the investor records the building as property and accounts for the lease as a lessor (usually an operating lease; see lessor accounting under ASC 842). In a failed sale, the investor doesn't record the building at all. It records a financing receivable and treats your rent as loan payments.

Common mistakes

Booking the gain before reading the lease. The purchase agreement and the lease are one transaction. A buyback option or renewal clause in the lease can turn the whole deal into a financing.

Treating a "right of first refusal" casually. Not every right to buy is a repurchase option, but the wording matters. Have the contract read with ASC 842-40 in mind before signing.

Ignoring covenants. A failed sale adds a financial liability. Even a successful sale adds a lease liability. Check your loan agreement's definitions before closing.

Using the contract price as the sale price. If the price is above or below fair value, the gain is measured at fair value and the difference becomes financing or prepaid rent.

Forgetting taxes. The tax treatment of a sale-leaseback is a separate question with its own rules. Ask your CPA before signing, not after.

When should you get help?

Before the deal is signed. A few contract terms decide the accounting, and they're much easier to change in a draft than to explain to a lender afterward.

If your statements are reviewed or audited, your CPA will want to see the analysis: control transfer, lease classification, any options, and fair value support for the price and rent. Keeping the balance sheet accounts from a deal like this reconciled and explained each month, along with the fixed assets and depreciation schedule, is part of the accounting work we do at Fintrix Consulting, alongside your CPA.

Frequently asked questions

Does a sale-leaseback always remove the building from my balance sheet?

No. It comes off only if the transaction qualifies as a sale under ASC 842-40. If the leaseback is a finance lease, or you hold a repurchase option on the building, it's a failed sale and the building stays on your books with a financing liability.

Can I recognize the whole gain on a sale-leaseback?

Under US GAAP, yes, if it qualifies as a sale. You recognize the full difference between the sale price and the carrying amount, adjusted to fair value if the terms are off-market. IFRS is different and only recognizes part of it.

Why does a repurchase option cause a failed sale?

Because if you can buy the building back, the buyer hasn't really obtained control. The only exception is an option at fair value on an asset that's readily available in the market, which doesn't fit a specific building.

Is a failed sale-leaseback bad?

Not economically. The cash is the same. It just means no gain, the building stays on your books and the proceeds show as debt, which can affect ratios and covenants.

Does my lease liability equal the sale price?

No. In a successful sale, the lease liability is the present value of the rent payments, which is usually well below the sale price. In a failed sale, the liability starts at the cash received.

The bottom line

A sale-leaseback is a sale in your books only if control passes, the leaseback is an operating lease, and you have no option to buy the building back. Get those right and you book the full gain and a normal lease. Miss one and it's a loan: the building stays, the cash is debt, and the gain disappears. Read the lease and the purchase agreement together, and have the accounting looked at before you sign.

This article is general information, not advice for your situation. Rules change and details matter, so talk to us or your CPA before acting on it.

Have a question about this article?

Ask us. A real person will reply by email within one business day. Your question isn’t published.

Protected by reCAPTCHA. Google’s Privacy Policy and Terms apply.

Ready for books you can trust?

Book a free 30-minute consultation. We'll review where your finances stand today and show you exactly how we'd help.