Debt basis restoration in an S corp is the mandatory rebuilding of a shareholder’s loan basis after pass-through losses have reduced it. Under IRC Section 1367(b)(2)(B) and Treasury Regulation 1.1367-2(c), any net increase in a later tax year has to restore that reduced loan basis back toward its original face value before a single dollar can lift stock basis.1Office of the Law Revision Counsel. 26 USC 1367 Adjustments to Basis of Stock of Shareholders The rule is non-elective. You cannot route the income to stock basis to free up tax-free distributions, and if the corporation repays the loan while basis is still reduced, the repayment produces taxable gain.
Why Debt Basis Gets Reduced in the First Place
Shareholders in an S corporation carry two separate pools of basis: stock basis from what they paid for their shares, and debt basis from money they personally lent to the corporation. Under IRC Section 1366(d)(1), pass-through losses you can deduct in a given year are capped at the combined total of those two numbers.2Office of the Law Revision Counsel. 26 USC 1366 Pass-Thru of Items to Shareholders
Losses hit stock basis first. Only after stock basis reaches zero do further losses reduce debt basis. Once that happens, the corporation still legally owes you the full face value of your loan, but your tax basis in the note is lower than what you’re owed. That gap is what the restoration rules exist to close.
If losses exceed both pools combined, the excess carries forward indefinitely under IRC Section 1366(d)(2) and becomes deductible in any future year you have enough basis.2Office of the Law Revision Counsel. 26 USC 1366 Pass-Thru of Items to Shareholders Those suspended losses are one of the things restored debt basis will later unlock.
How the Restoration Mechanism Works
Restoration runs off a single number: the net increase for the tax year. Treasury Regulation 1.1367-2(c) defines net increase as the amount by which your pro rata share of income items under Section 1367(a)(1) exceeds your pro rata share of losses, deductions, and distributions under Section 1367(a)(2).3eCFR. 26 CFR 1.1367-2 Adjustments to Basis of Indebtedness to Shareholder
Gross income alone doesn’t trigger restoration. If the corporation earns $80,000 of income but passes through $80,000 of deductions and distributions in the same year, the net increase is zero and nothing restores. Only the true excess of positive items over negative items drives it.
A Worked Example
Assume you lent your S corporation $50,000, which gave you $50,000 of debt basis. In 2024, with your stock basis already at zero, the corporation passed through $50,000 in losses that drove your debt basis to zero. The corporation still owes you $50,000, but your basis in the note is nothing.
In 2025, the corporation generates $30,000 of net income with no offsetting losses or distributions. The entire $30,000 restores debt basis, moving it from zero to $30,000. None of it increases stock basis.
In 2026, net income is $60,000. The first $20,000 finishes restoring debt basis back to its $50,000 face value. The remaining $40,000 then increases stock basis. Restoration is complete, and the system returns to normal.
The Ceiling on Restoration
The regulations cap restoration at the adjusted basis of the debt determined as of the beginning of the tax year, excluding prior Section 1367 adjustments.3eCFR. 26 CFR 1.1367-2 Adjustments to Basis of Indebtedness to Shareholder In practice, that means you cannot restore debt basis above the original face value of the loan. The mechanism only reverses prior reductions. It does not manufacture new basis beyond what you originally put in.
Ordering: Debt First, Then Stock
The sequence is prescribed. Any net increase goes to debt restoration before it can increase stock basis. That rule sits on top of the ordering within stock basis itself, which under Treasury Regulation 1.1367-1(f) runs: income items up, distributions down, nondeductible noncapital expenses and oil and gas depletion down, then losses and deductions down.4eCFR. 26 CFR 1.1367-1 Adjustments to Basis of Shareholders Stock in an S Corporation Debt restoration effectively precedes step one of that stack.
Timing is also fixed. All basis adjustments occur at the close of the S corporation’s tax year. A distribution taken in March is tested against stock basis as it stands after all year-end adjustments, not the basis that existed when the check was written. Shareholders who take mid-year distributions won’t know the full tax picture until the year closes.
When You Hold More Than One Loan
If a shareholder has made more than one loan to the corporation, the net increase is first applied to restore basis in any debt that was repaid, in whole or in part, during the tax year, to the extent needed to prevent gain on that repayment. Whatever remains is then allocated proportionally among the other outstanding debts based on how much each one’s basis has been reduced.3eCFR. 26 CFR 1.1367-2 Adjustments to Basis of Indebtedness to Shareholder
Restoration also reaches only loans that existed at the beginning of the tax year in which the net increase arises. A new loan made mid-year cannot pick up any of that year’s restoration. It has to wait until the next year.
What Happens If the Loan Is Repaid Before Full Restoration
This is where shareholders most often get hurt. If the S corporation repays part or all of your loan while debt basis is still reduced, the repayment triggers taxable gain. The gain is the difference between what you received and your current basis in the loan, calculated proportionally for partial repayments.
Take a $60,000 loan with a reduced basis of $45,000. If the corporation makes a $45,000 partial repayment, the taxable gain is ($60,000 − $45,000) ÷ $60,000 × $45,000, or $11,250.
If the loan is paid off in full before restoration completes, the chance to restore basis on that instrument is gone. The regulation reaches only indebtedness held at the beginning of the tax year in which the net increase arises. Once the loan no longer exists, there is nothing left to restore.
Capital Gain or Ordinary Income Depends on the Paperwork
The character of that gain turns on whether the loan is documented with a written promissory note. A repayment of a written-note loan is treated as a sale or exchange of a debt instrument under IRC Section 1271(a)(1), producing capital gain.5Office of the Law Revision Counsel. 26 USC 1271 Treatment of Amounts Received on Retirement or Sale or Exchange of Debt Instruments If you’ve held the note more than 12 months, it qualifies as long-term capital gain.
Open account debt without a written instrument produces ordinary income on the same repayment. The regulations treat open account debt as a single aggregated indebtedness so long as the outstanding principal stays at or below $25,000 at the close of the corporation’s tax year.6GovInfo. 26 CFR 1.1367-2 Adjustments to Basis of Indebtedness to Shareholder If informal advances exceed that threshold at year-end, the entire balance is reclassified and treated like written-instrument debt going forward.
The rate spread between long-term capital gains and ordinary income can be substantial. Documenting shareholder loans with a formal note is the single step that protects that difference if the corporation repays before basis is fully rebuilt.
What Restored Debt Basis Lets You Do
Once debt basis is back to face value and income starts flowing into stock basis, the shareholder returns to normal S corporation treatment. Under IRC Section 1368, distributions from an S corporation without accumulated earnings and profits are tax-free up to stock basis, with any excess taxed as gain from the sale of stock.7Office of the Law Revision Counsel. 26 USC 1368 Distributions
Rebuilt debt basis also restores your capacity to deduct future losses. If the corporation hits another downturn, that basis is available once stock basis is exhausted again. Without restoration, those losses would stay suspended until you put in more capital or made another loan.
One boundary worth knowing: clearing the basis hurdle does not automatically mean a loss is deductible. S corporation losses still have to pass the at-risk rules of IRC Section 465 and, where applicable, the passive activity rules of IRC Section 469. Those limitations apply in sequence after basis, and losses blocked at either stage are suspended under their own rules.
Tracking Restoration on Form 7203
Shareholders report basis calculations on IRS Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations. The IRS recommends completing it every year, even when filing it is not strictly required, so that the basis trail stays continuous.8Internal Revenue Service. Instructions for Form 7203 S Corporation Shareholder Stock and Debt Basis Limitations
Part II of the form handles debt basis directly. It asks for beginning debt basis, restoration from any net increase, reductions from current-year losses, the effect of any loan repayments, and ending debt basis.9Internal Revenue Service. Form 7203 S Corporation Shareholder Stock and Debt Basis Limitations The income and loss figures feeding these entries come from the corporation’s Schedule K-1.8Internal Revenue Service. Instructions for Form 7203 S Corporation Shareholder Stock and Debt Basis Limitations
The corporation itself does not track individual shareholder basis. That falls on you. Keeping a separate basis ledger that follows reductions and partial restorations across multiple years is the only reliable way to support the tax treatment of loan repayments and distributions if the return is examined. Without documentation, the IRS can disallow loss deductions or recharacterize what you treated as a tax-free distribution. Given how much turns on the sequence and how easily a single mid-year repayment can convert a planned result into unexpected gain, the recordkeeping is worth the effort.