S Corp Debt Basis: Loss Limits, Restoration, and Repayments

S corp debt basis is the tax basis a shareholder gets from personally lending money to the corporation, and it matters because it lets you deduct corporate losses after your stock basis is used up. It is a second tank of loss-absorbing capacity, but only if you created the loan correctly, and it carries its own rules for how losses reduce it, how it gets restored, and how repayments are taxed.

Where Debt Basis Fits in the S Corporation Loss Limit

Your total basis in an S corporation has two parts. Stock basis starts with what you paid for your shares or contributed as capital, and it moves each year with the corporation’s income, losses, distributions, and nondeductible expenses. Debt basis comes from one source only: money you personally lend to the corporation.

The loss limitation rule caps your deduction for the year at the sum of those two numbers. Anything above that is suspended and carried forward.1Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders

The order matters. Losses first reduce stock basis to zero. Only then do they begin reducing debt basis.2Legal Information Institute. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc. That ordering drives most of what follows, because stock basis and debt basis behave very differently when the corporation later distributes cash or repays the loan.

One boundary worth stating up front: clearing the basis test does not guarantee a deduction. The at-risk rules under Section 465 and the passive activity rules under Section 469 apply after basis and can still block the loss.3Internal Revenue Service. S Corporation Stock and Debt Basis This article is about basis itself.

How to Create Valid Debt Basis

The core requirement is a direct economic outlay by you to the corporation. The corporation must owe the money to you — not to a bank, not to another entity you control. If a bank lends to the corporation and you only sign as guarantor, you get no debt basis from the guarantee itself.4Internal Revenue Service. Valid Shareholder Debt Owed by S Corporation Basis appears only if and when you actually pay on that guarantee, and only to the extent you pay. This is one of the sharpest differences between S corporations and partnerships, where a partner can get basis from a share of entity-level debt.

The loan has to be bona fide. Document it with a written promissory note stating the principal, a repayment schedule, and an interest rate at or above the applicable federal rate. Skip any of those pieces and the IRS can recharacterize the advance as a capital contribution (which adds to stock basis, not debt basis) or as a taxable distribution.

Back-to-Back Loans

When the corporation needs funds you don’t have on hand, a common structure is to borrow personally from a bank and then re-lend the money to the corporation under a separate loan. Courts have accepted this when the shareholder carries real economic risk on both sides. In Ruckriegel v. Commissioner, the Tax Court allowed debt basis where shareholders borrowed from a related partnership and re-lent to the S corporation, because they were on the hook to the partnership regardless of what the corporation did.

These arrangements draw scrutiny. If the money simply circles through the entities without leaving you genuinely on the hook, the basis will be denied. The test courts apply is whether the deal left you “poorer in a material sense.”

Open Account Debt and the $25,000 Threshold

Not every shareholder advance comes with a note. Small, informal transfers to cover payroll or a vendor bill are common, and the regulations call these “open account debt.”

If your net outstanding undocumented advances stay at or below $25,000 at the close of the corporation’s tax year, they are treated as a single debt for basis purposes, and advances and repayments net together. Cross $25,000 at year-end and the entire balance permanently loses open-account status. From then on it is treated like debt evidenced by a written instrument, and each advance and repayment must be tracked separately.5Federal Register. Section 1367 Regarding Open Account Debt The classification also changes how gain on repayment is taxed, which comes up below.

How Losses Reduce Your Debt Basis

When pass-through losses exceed your stock basis for the year, the excess reduces debt basis. A few mechanics are worth knowing.

The reduction hits your adjusted basis in the debt, not the face amount of the loan. Say you have $10,000 of stock basis and $50,000 of debt basis, and the corporation passes through a $20,000 loss. The first $10,000 zeroes out stock basis. The next $10,000 drops debt basis from $50,000 to $40,000. The corporation still owes you $50,000 on the note; your tax basis in that receivable is now $40,000.6Justia Law. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc.

Losses beyond your remaining debt basis are suspended and carry forward indefinitely.1Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders Nondeductible expenses in excess of stock basis also flow down and reduce debt basis, but any nondeductible expense beyond both is simply lost. It does not carry forward.7Internal Revenue Service. S Corporation Stock Basis Ordering Rules

If you hold more than one loan to the corporation, the reduction is allocated proportionally across the loans based on their relative adjusted bases. You don’t get to pick which loan absorbs the loss.

Restoration Comes Before Stock Basis Rebuilds

Once losses have reduced your debt basis, the code requires that debt basis be restored before any positive adjustments go back to stock basis. This catches people.

In a year where the corporation has a “net increase” — income items exceeding losses, deductions, nondeductible expenses, and distributions — the net increase first restores previously reduced debt basis toward its original face amount.8eCFR. 26 CFR 1.1367-2 – Adjustments to Basis of Indebtedness Only what’s left after debt basis is fully restored flows up to rebuild stock basis.6Justia Law. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc.

An example: prior losses had reduced your debt basis by $15,000, and the corporation now generates $20,000 of net income. The first $15,000 restores debt basis to its original face amount. The remaining $5,000 goes to stock basis. You still owe tax on the full $20,000.

Two limits apply. Restoration only works for debt you held at the start of the tax year in which the net increase arises, so a loan made mid-year doesn’t help that year. And the maximum restoration is the original face amount of the loan minus any principal already repaid.8eCFR. 26 CFR 1.1367-2 – Adjustments to Basis of Indebtedness

When you hold multiple loans, net increase is first applied to any debt being repaid during the year, to the extent needed to offset gain that would otherwise be recognized on the repayment. Any remaining net increase is then spread across the outstanding loans based on their unreduced basis amounts.8eCFR. 26 CFR 1.1367-2 – Adjustments to Basis of Indebtedness

Repayments Can Trigger Gain

If debt basis still equals the face amount of the loan when the corporation repays you, the repayment is a nontaxable return of capital. The problem comes after prior losses have knocked debt basis below face value. The spread between what you receive and your reduced basis is taxable gain, and the character of that gain depends on how you papered the loan.

Written Note: Capital Gain

With a written instrument, repayment is treated as a sale or exchange of a capital asset under Revenue Ruling 64-162. Gain is long-term if you held the note more than 12 months, short-term otherwise. On a partial repayment, you allocate between return of basis and gain in proportion. If your $100,000 loan has a reduced basis of $60,000, then 40 percent of any payment is gain.

Open Account: Ordinary Income

With no written instrument, gain on repayment is ordinary income under Revenue Ruling 68-537. Ordinary rates typically run higher than long-term capital gain rates, so a modest investment in a promissory note at the time of the advance can save real tax later.

Distributions Do Not Touch Debt Basis

This is where even experienced practitioners slip. Corporate distributions do not reduce debt basis, and debt basis is not counted in deciding whether a distribution is taxable.3Internal Revenue Service. S Corporation Stock and Debt Basis Only stock basis shelters a distribution. Zero stock basis and $50,000 of debt basis means a distribution is not sheltered. It generates taxable gain.

Shareholders who look at total basis and assume they have room to pull cash out can discover at filing time that the distribution was partially or fully taxable because stock basis had been depleted. If you want cash out and your stock basis is gone, the cleaner path is often a loan repayment rather than a distribution, keeping in mind the gain rules above.

The Loan Must Pay Interest at the Applicable Federal Rate

A shareholder loan has to carry interest at or above the applicable federal rate (AFR) that the IRS publishes monthly. If it doesn’t, Section 7872 treats the forgone interest as paid anyway, creating phantom interest income to you and phantom interest expense to the corporation.9Office of the Law Revision Counsel. 26 USC 7872 – Treatment of Loans With Below-Market Interest Rates

For a demand loan, the imputed amount is calculated annually on December 31 using the gap between the AFR and the rate actually charged. For a term loan, it’s calculated at origination as the difference between the loan proceeds and the present value of the future payments discounted at the AFR.

There is a $10,000 de minimis exception: if the total outstanding loans between you and the corporation never top $10,000 on any day, Section 7872 doesn’t apply.9Office of the Law Revision Counsel. 26 USC 7872 – Treatment of Loans With Below-Market Interest Rates That exception falls away if tax avoidance is one of the principal purposes of the arrangement. Above $10,000, the simplest fix is to charge the AFR from day one.

The result is often awkward for S corporation loans. The corporation that needed the money was usually losing money, so the imputed interest deduction may do it no immediate good, while you still have to report the imputed interest income.

Reporting on Form 7203

The IRS requires S corporation shareholders to file Form 7203 with the individual return in any year you:10Internal Revenue Service. Instructions for Form 7203 – S Corporation Shareholder Stock and Debt Basis Limitations

  • Claim a loss or deduction from the corporation, including a suspended loss from a prior year.
  • Receive a non-dividend distribution.
  • Dispose of stock, whether or not you recognize gain.
  • Receive a repayment on a shareholder loan.

Form 7203 tracks stock basis in Part I, debt basis in Part II, and the loss limitation in Part III. The IRS recommends completing and keeping the form every year, even when none of those triggers apply, so the running calculation stays current.10Internal Revenue Service. Instructions for Form 7203 – S Corporation Shareholder Stock and Debt Basis Limitations Reconstructing basis years later, with gaps in the records and a few accountant changes in between, is one of the more expensive exercises in S corporation compliance. Keeping the schedule current is far cheaper than rebuilding it.