Skip to main content

Debt Extinguishment, Explained: The Gain or Loss Hiding in Paying Off a Loan Early

Published 11 min readMike ThriftMike Thrift
Debt Extinguishment, Explained: The Gain or Loss Hiding in Paying Off a Loan Early
On this page

Your bank just offered to cut your business loan rate from 9 percent to 6 percent — same lender, new paperwork, a much smaller monthly payment. You sign, celebrate the savings, and move on. Then your accountant calls with strange news: the refinance put a $40,000 gain on your books, and part of it may count as taxable income even though not a dollar of cash came in. Nothing went wrong. You just ran into debt extinguishment — the accounting event hiding inside every early payoff, refinance, and loan restructuring.

Paying off a loan is an accounting event, not just a cash event​

When you retire debt before maturity, your books must compare two numbers: what you paid to kill the loan (the reacquisition price) against what the loan was worth on your balance sheet (its net carrying amount). The difference hits your income statement immediately as a gain or a loss.

The carrying amount is where most owners stumble, because it is not the payoff quote and usually not the face amount either. It is the face amount of the debt adjusted for three leftovers from the original borrowing:

  • Unamortized discount — if the loan was issued below face value, the remaining discount still reduces the carrying amount.
  • Unamortized premium — if it was issued above face value, the remainder still increases it.
  • Unamortized debt issuance costs — origination fees, points, and legal costs from day one were capitalized and have been amortizing ever since. Whatever hasn't amortized yet still sits against the liability.

The rule itself is simple arithmetic. If the carrying amount is higher than what you paid, you settled an obligation for less than its book value: that's a gain. If you paid more than the carrying amount, that's a loss. A $100,000 note with $2,000 of unamortized issuance costs has a carrying amount of $98,000. Retire it for $95,000 and you book a $3,000 gain. Retire it for $101,000 — say a prepayment penalty pushed the total above par — and you book a $3,000 loss.

The journal entry removes the liability, writes off the leftover costs, records the cash paid, and plugs the difference to gain or loss. In a plain-text ledger, the discounted payoff above looks like this:

2026-11-03 * "Early payoff of business term loan at a discount"
  Liabilities:Term-Loan                100000.00 USD
  Assets:Prepaid:Debt-Issuance-Costs     -2000.00 USD
  Assets:Checking                       -95000.00 USD
  Income:Gains:Debt-Extinguishment       -3000.00 USD

The liability leaves at its $100,000 face amount, the $2,000 of unamortized issuance costs comes off the books alongside it, and $95,000 of cash walks out the door — leaving the $3,000 balancing figure in a gains account. Note the write-off lives inside the gain computation: without those leftover costs, retiring a $100,000 loan for $95,000 would book a $5,000 gain, but the true carrying amount was only $98,000, so the real gain is $3,000. (The Beancount documentation covers transaction syntax if any of those postings look unfamiliar.)

One presentation note: this gain or loss shows up in current earnings, typically as its own line item inside other income and expense — and it has not been an "extraordinary item" for a decade, since GAAP eliminated that category. Don't bury it in interest expense, where it will corrupt every interest-coverage ratio you compute later.

What actually counts as extinguished​

Not every arrangement that feels like the end of a loan qualifies. Under ASC 405-20, a liability is extinguished only when one of two things happens: you pay the creditor and are relieved of the obligation, or you are legally released from being the primary obligor — by the creditor or by court order. Everything else leaves the debt on your balance sheet.

Three near-misses trap small businesses regularly:

Setting the money aside isn't paying. Moving enough cash into a separate account — or even an irrevocable trust — earmarked for future loan payments does not extinguish anything. Accountants call the trust version an in-substance defeasance, and the rule is explicit: without a legal release from the creditor, the liability stays put no matter how well funded the side account is. Only a legal defeasance, where the release actually happens, takes the debt off the books.

Handing the loan to someone else isn't paying either. If you sell business assets and the buyer "assumes" your loan, you are still the borrower until the lender formally releases you in writing. Plenty of asset sales close with an assumption clause between buyer and seller and no release from the bank — which means the seller still owes the money if the buyer defaults, and the liability still belongs on the seller's books.

Paying most of it isn't extinguishing all of it. A partial paydown extinguishes only the portion retired. The unamortized discount, premium, and issuance costs attributable to the retired slice come off with it, pro rata, and any gain or loss is computed on that slice alone.

The practical takeaway: if someone tells you a debt is "taken care of," ask for the document that says the creditor agrees. A release letter from the lender is the piece of paper that moves a liability off your balance sheet.

Refinancing with the same lender runs through the 10 percent test​

Refinancing with a different lender is straightforward: the old loan is paid off and relieved, so it's extinguished — book the gain or loss — and the new loan goes on the books fresh. The interesting case is refinancing with the same lender, where GAAP asks whether the new terms are "substantially different" from the old ones. That question is answered by the 10 percent test in ASC 470-50.

The test compares the present value of all cash flows under the new terms — including any fees you pay to the lender — against the present value of the remaining cash flows under the old terms. Both sides are discounted at the original loan's effective interest rate, not the new one. If the two present values differ by 10 percent or more, the old debt is extinguished and the new debt is booked at fair value, with the difference hitting earnings immediately. Below 10 percent, it's a modification: no gain or loss, and the loan soldiers on with a recalculated effective rate.

The fee treatment is where real money gets misbooked, and it splits three ways in a modification:

  • Fees paid to the lender are deferred — they reduce the loan's carrying amount and amortize as a yield adjustment over the remaining life. They are not day-one expense.
  • Unamortized costs from the original loan keep amortizing too, folded into the new effective rate. They are not written off.
  • Costs paid to third parties — your lawyer, the advisor, the title company — are expensed as incurred. This is the one people get backwards: third-party costs from a modification never join the loan balance.

In an extinguishment, by contrast, every unamortized cost from the old loan is written off as part of the gain-or-loss computation, lender fees join the reacquisition price, and only the new loan's issuance costs get deferred. So the same $5,000 legal bill is a current-period expense if your refi is a modification, while the old loan's leftover costs vanish into the extinguishment calculation if it crosses the 10 percent line. Run the test before you book anything — and note that troubled situations, where the borrower is in financial difficulty, play by a separate set of creditor-side rules that changed substantially in recent years. This post covers the healthy-borrower case.

The tax return can disagree with your books​

Here's the part that produces the unpleasant surprise from the opening paragraph: the IRS runs its own test, and it can call your refinance a taxable event even when GAAP calls it a quiet modification.

For the borrower, the core tax rule is cancellation-of-debt income. Pay less than the adjusted issue price of your debt and the difference is generally ordinary income under Section 61(a)(12). In a debt-for-debt swap, Section 108(e)(10) treats you as having paid cash equal to the issue price of the new instrument — which, for traded debt, means its fair market value on the exchange date, not its face amount. Swap $100,000 of old notes for new notes worth $82,000 and you have $18,000 of cancellation-of-debt income, with zero cash changing hands.

Congress does offer escape hatches in Section 108 — bankruptcy, insolvency (capped at the insolvency amount), qualified farm debt, qualified real property business debt for non-C-corporations — each claimed on Form 982, and each paid for with a reduction of tax attributes like net operating losses or asset basis. Excluded income this year usually means smaller deductions later. If you paid a premium instead — retiring debt for more than its adjusted issue price — that extra amount is generally deductible, and the new loan's own fees — plus any original-issue discount, the gap created when debt is issued for less than its face amount — amortize over its life.

Meanwhile the tax test for "was this a real exchange" lives in Treasury Regulation 1.1001-3, and its tripwires differ from GAAP's 10 percent test. A yield change exceeding the greater of 25 basis points or 5 percent of the original yield is significant. So is a material payment deferral outside a safe harbor (payments still due within the lesser of five years or half the original term). Collateral changes can trigger it too, especially on nonrecourse debt. Any one tripwire makes the swap a deemed exchange for tax purposes — with gain, loss, and fresh original-issue-discount computations — regardless of what the GAAP analysis concluded.

One more trap for larger refinancings: if the new debt stretches past five years, yields at least five points over the applicable federal rate, and carries significant original-issue discount, it may be an applicable high-yield discount obligation, which permanently kills part of the interest deduction and defers the rest until actually paid. Small-business loans rarely trip this wire, but if your refi involves distressed terms and a long maturity, model it before closing.

The bottom line on taxes: model the GAAP answer and the tax answer separately, because they genuinely are separate computations that share a transaction. Your book gain and your taxable income from the same refinance can be different numbers, recognized under different rules, in different amounts.

Mistakes that show up on real books​

  • Comparing the payoff quote to the face amount. The comparison that matters is payoff versus carrying amount. Forgetting unamortized discount or issuance costs misstates the gain or loss by exactly the forgotten balance.
  • Running the 10 percent test at the wrong rate. Both present values use the original effective rate. Discounting at the shiny new rate answers a different question than the one GAAP asks.
  • Leaving lender fees out of the test. Fees paid to the lender count in the new-terms cash flows. They frequently supply the percentage points that push a borderline refi over the line.
  • Expensing lender fees in a modification — or deferring third-party costs. Lender fees amortize as a yield adjustment; lawyer and advisor bills hit expense immediately. Swapping the two misstates both interest expense and the loan balance.
  • Derecognizing debt without a release. Side accounts, trusts, and buyer assumptions feel final but aren't. No release letter, no extinguishment.
  • Forgetting the tax bill on a cashless gain. Cancellation-of-debt income arrives without cash to pay it. Price the tax into the refinance decision, and check the Section 108 exclusions before you assume the worst.

The last useful step​

Before you sign a refinance — or accept an early-payoff discount — pull two documents you probably haven't looked at since closing day: the loan's amortization schedule and the current balance of its unamortized issuance costs. Those two pages give you the carrying amount, which gives you the gain or loss, which tells you whether the "savings" come with an income-statement side effect and a tax bill. Run the 10 percent test while the terms are still negotiable: a fee shifted from the lender to a third party, or a maturity tweaked by a few months, can move the present-value needle enough to change the accounting outcome. The cheapest refinance isn't always the one with the lowest rate — it's the one whose total cost you computed before signing, gain, loss, fees, and tax included.

Source: https://beancount.io/blog/2026/11/03/debt-extinguishment-explained-early-payoff-refinance-gain-loss-guide

Published: November 3, 2026