Filed
/
Library
/
S corporations

S corp debt basis and debt basis restoration

S corp debt basis is a shareholder's basis in bona fide loans the shareholder made directly to the S corporation. It absorbs losses after stock basis reaches zero, is restored by later net income before stock basis is, and decides whether a loan repayment is partly taxable.

On this page
“If an S corporation repays reduced basis debt to the shareholder, part or all of the repayment is taxable to the shareholder.” IRS, S corporation stock and debt basis

What creates S corp debt basis?

S corp debt basis comes only from bona fide indebtedness of the S corporation that runs directly to the shareholder, according to Treas. Reg. 1.1366-2(a)(2)(i). Whether a loan is bona fide is decided under general federal tax principles on all the facts and circumstances. Guaranteeing a bank loan, co-signing, or acting as a surety creates no debt basis under Treas. Reg. 1.1366-2(a)(2)(ii). The shareholder gets debt basis only when they actually pay on the guaranteed loan, and only to the extent of the payment.

The regulation's examples cover three common structures. A loan made through an entity disregarded from the shareholder counts as the shareholder's loan. A back-to-back loan, where one S corporation lends to the shareholder and the shareholder lends the money on to a second S corporation, can create debt basis in the second corporation if the shareholder's loan is bona fide. A note distributed to the shareholder can also create basis if, under local law, the borrowing corporation becomes directly liable to the shareholder.

DocumentDebt basis resultForm 7203
Promissory note from shareholder to the S corporationDebt basis if bona fide, tracked as its own loan16 or 17, own column
Advances with no written instrumentOpen account debt, netted at year end17 net advance or 19 net repayment
Bank loan guaranteed by the shareholderNo debt basisNone
Shareholder's payment on a guaranteed loanDebt basis to the extent paid17
Loan from shareholder's disregarded LLCTreated as the shareholder's loan16 or 17
K-1 box 16, code ERepayment of shareholder loans19

How are debt basis reductions and restorations calculated?

S corp debt basis is reduced only after stock basis reaches zero, and it is restored before stock basis can increase again. Under Treas. Reg. 1.1367-2(b)(1), losses, deductions, nondeductible expenses and oil and gas depletion that exceed stock basis reduce the basis of debt the shareholder holds at year end. With more than one loan, the reduction is spread across the loans in proportion to their basis under Treas. Reg. 1.1367-2(b)(3).

Restoration uses the net increase, which Treas. Reg. 1.1367-2(c)(1) defines as the amount by which the shareholder's income items exceed all items that decrease stock basis for the year, including distributions. The net increase restores reduced debt basis before any of it raises stock basis, and only for debt held at the start of the year. Restoration can't push basis above the loan's adjusted basis at the start of that year, ignoring prior section 1367 adjustments. With several loans, Treas. Reg. 1.1367-2(c)(2) restores a loan repaid during the year first, then spreads the rest by each loan's unrestored reduction.

How is a repayment of reduced-basis debt taxed?

A repayment of reduced-basis S corp debt is partly a tax-free return of basis and partly income, in the ratio of the loan's basis to its balance. The Shareholder's Instructions for Schedule K-1 (Form 1120-S), box 16, code E, make this split and cite Rev. Rul. 64-162 and Rev. Rul. 68-537. Form 7203 lines 24 to 26 apply it: basis before repayment over the loan balance, times the principal repaid. Under Treas. Reg. 1.1367-2(d)(1), that year's restoration takes effect immediately before the repayment.

The character of the gain depends on the paperwork. According to the Instructions for Form 7203, line 34, a formal note gives capital gain on Form 8949 and Schedule D, while open account debt gives ordinary gain on Form 4797. Open account debt means advances with no separate written instrument and $25,000 or less of aggregate principal at year end. In Treas. Reg. 1.1367-2, Example 7, a $3,000 net repayment on a $16,000 open account with $8,000 of basis produces $1,500 of income.

What does a debt basis restoration calculation look like?

A debt basis restoration calculation starts with the net increase and applies it to the loan before the repayment is tested for gain. For example, Lee owns 100% of a calendar-year S corporation and lent it $50,000 on a formal note in 2022. Losses in earlier years took Lee's stock basis to zero and reduced the note's basis to $20,000 by the end of 2024. In 2025 the K-1 shows $40,000 of ordinary income, $15,000 of distributions and $1,000 of nondeductible expenses, and the corporation repays $10,000 of principal.

StepForm 7203Amount
Loan balance at start of year16$50,000
Debt basis at start of year21$20,000
Net increase: $40,000 income less $15,000 distributions less $1,000 nondeductibles23$24,000
Debt basis before repayment24$44,000
Ratio of basis to balance ($44,000 / $50,000)250.88
Nontaxable part of $10,000 repayment26$8,800
Reportable gain on the note (capital)34$1,200
Debt basis at end of year ($44,000 less $8,800)31$35,200

Stock basis gets the $16,000 of income left after restoration, less the $15,000 distribution and $1,000 of nondeductible expenses, and ends at zero. The $1,200 gain goes on Form 8949 and Schedule D because the debt is a formal note. Without the 2025 restoration, the same repayment would have produced $6,000 of gain.

Common miss: leaving distributions out of the net increase
Distributions reduce the net increase even though they never reduce debt basis. Counting only income less nondeductibles here would restore $30,000 instead of $24,000. Treas. Reg. 1.1367-2(e), Example 4, finds no net increase at all when distributions exceed income.

What do reviewers check on S corp debt basis?

A reviewer checking S corp debt basis confirms that each loan is real debt owed directly to the shareholder, then confirms that reductions, restorations and repayments followed Treas. Reg. 1.1367-2. The loan documents come first: notes, board approvals, the general ledger loan account and the bank records showing the shareholder's money going in. The prior-year Form 7203 supplies each loan's balance and basis at the start of the year, and the K-1 box 16, code E amount shows what was repaid. The reviewer then recomputes the net increase, because a restoration error changes both the gain on any repayment and the stock basis carried into the next year. Open account balances get a separate look at year end, since crossing $25,000 changes how the debt is treated in later years. The IRS also says to consider whether the shareholder had the financial means to make the loan. The six checks below each tie to the Instructions for Form 7203 or a Treasury regulation.

Debt runs directly to the shareholder
The note names the shareholder or their disregarded entity as lender.
Treas. Reg. 1.1366-2(a)(2)(i)
Guarantees count only when paid
A guaranteed bank loan adds basis only for amounts the shareholder actually paid.
Treas. Reg. 1.1366-2(a)(2)(ii)
Each formal note has its own column
Formal notes aren't combined into one column in Part II.
Instructions, Part II
Restoration uses the net increase
Line 23 reflects income less distributions, nondeductibles and losses.
Instructions, line 23
Gain character matches the debt
Formal notes go to Form 8949. Open account debt goes to Form 4797.
Instructions, line 34
Open account over $25,000 is reclassified
A year-end balance above $25,000 is treated like a formal note in later years.
Treas. Reg. 1.1367-2(a)(2)(ii)

Every line checked against the documents the client sent

Filed reads the client's K-1, loan documents and prior-year Form 7203, then checks every line of the debt basis calculation against them. Anything that doesn't tie comes back as a review item with a citation to the source.

Book a demo
Example review item
Loan repayment gain missing from Form 8949

Form 7203 line 19 shows a $10,000 principal repayment and line 26 shows $8,800 as nontaxable, but line 34 is blank and no Form 8949 entry reports the $1,200 difference. Confirm the note is a formal note and report the gain.

Source: 2025 return, Form 7203, line 34

Common questions

Does guaranteeing a bank loan give an S corp shareholder debt basis?

Guaranteeing a bank loan does not give an S corp shareholder debt basis. Treas. Reg. 1.1366-2(a)(2)(ii) says a shareholder gets no basis merely by acting as guarantor, surety or accommodation party. Basis arises only when the shareholder makes a payment on the guaranteed debt, and only to the extent of that payment, as Example 4 in the regulation shows.

Do distributions reduce S corp debt basis?

Distributions do not reduce S corp debt basis, according to the Instructions for Form 7203. They still matter for debt basis because they count against the net increase used for restoration. Under Treas. Reg. 1.1367-2(c)(1), a year with income but larger distributions has no net increase, so reduced debt basis stays reduced.

Can debt basis be restored above the face amount of the loan?

Debt basis cannot be restored above the loan's adjusted basis at the start of the year, ignoring prior section 1367 adjustments, under Treas. Reg. 1.1367-2(c)(1). In practice that caps restoration at the amount needed to bring basis back to the loan balance. Any net increase left after full restoration goes on to increase stock basis.

Camron Momeni, CPA
About the author
Camron Momeni, CPA
VP of Tax Experience

Camron Momeni, CPA, has more than 18 years of public accounting and tax startup experience, including 14 years as a CPA serving firms from the Big Four to solo practitioners. He prepared and reviewed returns across partnerships, S corporations, C corporations, exempt organizations, estates and trusts, and as a product manager at Crowe he built K1 Aggregator and C-TRAC, now sold as 990Tracker. At Filed he is VP of Tax Experience, leading customer success, onboarding and solutions engineering.

LinkedIn profile