1. Why IRC 1366 and IRC 1367 Work Together
An S-corporation does not pay federal income tax at the entity level. Instead, its income, loss, deduction, and credit flow through to each shareholder and are reported on the shareholder's individual return. IRC 1366 governs what flows through and when. IRC 1367 governs how that passthrough changes the shareholder's investment basis, which in turn determines how much of the current year's loss the shareholder can actually deduct and how much must be suspended to a future year.
The two sections are inseparable in practice. A practitioner who applies IRC 1366 correctly but ignores the IRC 1367 ordering rules can reach a wrong answer on the deductible loss. A practitioner who tracks basis correctly but misidentifies a separately stated item under IRC 1366 can mischaracterize income on the individual return. This guide addresses both statutes as a single analytical framework, with particular focus on the Treas. Reg. 1.1367-1(f) ordering rules for downward basis adjustments, which are the most commonly misapplied element of the regime.
This guide is a statutory reference for CPAs and enrolled agents preparing S-corporation shareholder returns. It does not duplicate the Form 7203 worksheet mechanics covered in the Form 7203 compliance guide (linked in Related Guides), nor does it repeat the IRC 1368 distribution mechanics at length. This guide provides the foundational statutory authority those compliance steps rest on.
2. IRC 1366: The Passthrough Statute
2.1 The General Passthrough Rule -- IRC 1366(a)(1)
IRC 1366(a)(1) states the general rule: each shareholder of an S-corporation must take into account the shareholder's pro-rata share of the corporation's items of income, loss, deduction, and credit for the S-corporation's taxable year. The critical timing rule is that the shareholder picks up the items in the shareholder's own taxable year in which the S-corporation's taxable year ends. For calendar-year S-corporations with calendar-year shareholders, this produces a clean match. But for any S-corporation using a fiscal year permitted under the Code (limited to business-purpose or grandfathered years), the shareholder's pickup year is the year in which the S-corporation's fiscal year closes, not the year in which the S-corporation's year begins.
Pro-rata share is computed by allocating the S-corporation's items on a daily basis, proportionate to the shareholder's percentage of outstanding stock for each day of the taxable year. There is no special allocation mechanism in Subchapter S. If the shareholder's percentage changes during the year because of a stock transfer, the allocation follows the daily-proration rule for the pre-transfer and post-transfer periods.
2.2 Character Preservation -- IRC 1366(b)
IRC 1366(b) provides that the character of any item included in a shareholder's pro-rata share is determined as if the item were realized directly by the shareholder from the same source as the S-corporation, or incurred in the same manner as the S-corporation incurred it. This is the character-preservation rule. It has three practical effects:
- Capital gains: A capital gain recognized at the S-corporation level retains its capital gain character when it flows to the shareholder. Short-term and long-term distinctions are also preserved. The holding period of the S-corp's asset determines the character; the shareholder's holding period of the stock is irrelevant to the character of the passed-through item.
- IRC 1231 gains and losses: Section 1231 gains and losses from the S-corporation's trade or business pass through as Section 1231 items and are subject to the shareholder's own Section 1231 netting, including the Section 1231 look-back recapture rule in the shareholder's prior five years.
- Tax-exempt income: Income that is excluded at the S-corporation level -- such as PPP loan forgiveness -- retains its excluded character when it flows to the shareholder and still increases the shareholder's stock basis under IRC 1367(a)(1).
2.3 Separately Stated vs. Non-Separately Stated Items -- IRC 1366(a)(1)(A) and (B)
IRC 1366(a)(1) divides the items that flow through into two categories: separately stated items under subparagraph (A) and non-separately stated (or "aggregate") items under subparagraph (B). The distinction is important because separately stated items flow to each shareholder retaining their individual identity, while non-separately stated items net together at the entity level and pass through as a single combined amount.
| Category | Examples of Separately Stated Items (IRC 1366(a)(1)(A)) | Examples of Non-Separately Stated Items (IRC 1366(a)(1)(B)) |
|---|---|---|
| Income | Net long-term capital gain; net short-term capital gain; Section 1231 gain; tax-exempt income (PPP forgiveness, life insurance); qualified dividends; royalty income from separate activity | Net ordinary income from trade or business (Schedule K-1 Box 1); gross receipts minus cost of goods sold minus ordinary deductions |
| Loss and Deduction | Net long-term capital loss; net short-term capital loss; Section 1231 loss; IRC 179 expense; charitable contributions; investment interest expense; foreign taxes paid; depletion; portfolio deductions | Net ordinary loss from trade or business; the remaining Schedule K-1 Box 1 (loss) amount after 179 is separated |
| Credits | Business credits (general business credit, low-income housing credit, rehabilitation credit, research credit); investment credit; foreign tax credit | No credits are non-separately stated; all credits are separately stated |
| Other Items | Passive activity income and loss (to be applied under the shareholder's own IRC 469 profile); at-risk limitations (applied separately at the shareholder level); AMT adjustments and preferences; net investment income items for IRC 1411 | None -- items with individual variation are always separately stated |
The test for whether an item must be separately stated is whether treating it as part of the net ordinary income or loss could produce a different aggregate tax result for any shareholder given that shareholder's individual circumstances. If yes, it is separately stated. The Schedule K-1 categories correspond to this structure, with Boxes 2 through 12 and the supplemental schedules capturing the separately stated items.
2.4 The Loss Limitation -- IRC 1366(d)(1)
IRC 1366(d)(1) imposes the foundational limitation on the use of S-corporation losses by shareholders: the aggregate losses and deductions taken into account by a shareholder for any taxable year cannot exceed the sum of (A) the shareholder's adjusted basis in the stock of the S-corporation, plus (B) the shareholder's adjusted basis in any indebtedness of the S-corporation to the shareholder. This is the stock-and-debt-basis limitation. Losses in excess of that combined amount are not currently deductible.
Two important boundaries apply. First, the limitation is computed at the shareholder level, not at the S-corporation level. The S-corporation may have sufficient equity to absorb all items at the entity level, but if a particular shareholder's basis is limited, that shareholder's deductible loss is limited regardless of what the other shareholders can absorb. Second, the items that count toward the limitation are losses and deductions, not credits. Credits are governed by separate rules and are generally subject to the general business credit carryforward rules rather than the IRC 1366(d)(1) limitation.
2.5 Suspended Losses and Carryforward -- IRC 1366(d)(2)
Losses disallowed under IRC 1366(d)(1) because they exceed the shareholder's combined stock and debt basis are not permanently lost. Under IRC 1366(d)(2), the disallowed amount is treated as a loss incurred by the S-corporation with respect to that shareholder in the following taxable year. This creates an indefinite carryforward, year by year, until the shareholder has sufficient basis to absorb the suspended amount.
The character of a suspended loss is preserved through the carryforward period. A suspended Section 1231 loss carried forward retains its Section 1231 character when it is ultimately absorbed. A suspended charitable contribution carryforward retains its character as a charitable contribution subject to the shareholder's AGI limitation in the year it is absorbed. This means the character analysis at the time of suspension is important for planning the restoration of basis to absorb the right type of item.
Critically, suspended losses are personal to the shareholder. They cannot be transferred. They do not increase the buyer's basis if the shareholder sells the stock. If the shareholder's basis is not restored before the sale or before death (other than the IRC 1366(d)(3) exception discussed in the Blue callout below), the suspended losses are permanently lost.
3. IRC 1367: Annual Basis Adjustments
3.1 Upward Basis Adjustments -- IRC 1367(a)(1)
Each shareholder's adjusted basis in S-corporation stock is increased under IRC 1367(a)(1) by the shareholder's pro-rata share of:
- Items of income described in IRC 1366(a)(1)(A) -- all separately stated income items, including tax-exempt income
- Any income described in IRC 1366(a)(1)(B) -- the non-separately stated ordinary income
- The excess of the deductions for depletion over the basis of the property subject to depletion
- Any other items specified by Treasury regulation
The inclusion of tax-exempt income in the upward-adjustment list is significant. When an S-corporation receives PPP loan forgiveness or life insurance proceeds, that excluded income increases the shareholder's stock basis under IRC 1367(a)(1)(A), even though the income is not included in the shareholder's gross income. This basis increase is not gratuitous: it prevents a distribution of that excluded income from triggering gain at the shareholder level. Without the basis increase, a distribution of the excluded amount would reduce basis below zero and produce gain under IRC 1368.
Tax-Exempt Income and Stock Basis: The PPP Ordering Effect
Tax-exempt income -- including PPP loan forgiveness, life insurance proceeds, and qualifying municipal bond interest allocated through the S-corp -- increases the shareholder's stock basis under IRC 1367(a)(1)(A) before downward adjustments for the same year. Upward adjustments precede downward adjustments within a single taxable year under Reg. 1.1367-1(c) and (f). This ordering means a distribution taken in the same year as PPP forgiveness may absorb the higher post-forgiveness basis level before the year's losses erode it. Practitioners should model the full-year basis stack before advising on the timing of distributions in years with significant tax-exempt income.
3.2 Downward Basis Adjustments -- IRC 1367(a)(2)
IRC 1367(a)(2) provides the corresponding list of items that reduce a shareholder's adjusted basis in stock. Basis is decreased (but not below zero) by the shareholder's pro-rata share of:
- Items of loss and deduction described in IRC 1366(a)(1)(A) -- separately stated losses and deductions
- Any loss described in IRC 1366(a)(1)(B) -- the non-separately stated ordinary loss
- Any expense of the corporation not deductible in computing its taxable income and not properly chargeable to capital account (for example, the 50 percent disallowed portion of meals expenses, certain fines and penalties, and other Section 274 disallowed items)
- The amount of the shareholder's deduction for depletion on oil and gas property of the corporation
- Distributions to the shareholder (to the extent provided in IRC 1368)
Stock basis cannot be reduced below zero by any of these items. That floor is absolute. The question of what happens when the items would drive basis below zero is addressed by the Reg. 1.1367-1(f) ordering rules: the ordering determines which items consume the available basis and which are either suspended (losses and deductions) or trigger gain (distributions).
3.3 The Debt Basis Regime -- IRC 1367(b)(2) and IRC 1366(d)(1)(B)
IRC 1366(d)(1)(B) permits a shareholder to deduct S-corporation losses and deductions against the shareholder's basis in any indebtedness of the S-corporation to the shareholder, once stock basis has been reduced to zero. This is the debt-basis regime. It allows the shareholder to use a second pool of basis -- the amount the shareholder has personally lent to the S-corporation -- before losses are suspended.
When debt basis is used to absorb losses, it is reduced dollar for dollar under IRC 1367(b)(2)(A). Restoration of reduced debt basis happens only after stock basis has been restored to its starting level. If the S-corporation later generates net income, that income first restores stock basis under IRC 1367(a)(1), and only after stock basis is restored does the income restore reduced debt basis. The statutory ordering of stock-first, debt-second restoration is mandatory and reflects Congress's intent that the "equity" investment be made whole before the "debt" investment.
4. Treas. Reg. 1.1367-1(f): The Ordering Rules for Downward Adjustments
The ordering rules in Treas. Reg. 1.1367-1(f) are the most consequential -- and most commonly misapplied -- element of the basis-adjustment framework. These rules prescribe the mandatory sequence for applying downward basis adjustments within a single taxable year. The sequence is not elective. Practitioners cannot reorder the steps to produce a more favorable result.
The Ordering is Mandatory, Not Elective
Treas. Reg. 1.1367-1(f) prescribes the order of downward basis adjustments. It is not a default rule that a shareholder can override by election. A practitioner cannot elect to apply losses before distributions, or to apply non-deductible expenses before separately stated losses, to achieve a preferred result. The four-step sequence is fixed, and applying it in any other order produces an incorrect return. If the regulation produces a result that seems harsh -- for instance, a distribution consuming the last of the basis and leaving a loss suspended -- that is the legally correct result, not an error to work around.
The four-step ordering rule, applied in sequence within a single taxable year:
- Distributions under IRC 1368. Stock basis is first reduced by the amount of distributions the shareholder receives during the year. A distribution cannot reduce stock basis below zero -- a distribution in excess of basis triggers gain recognition under IRC 1368 rather than a negative basis. After this step, any remaining stock basis is available for Steps 2 through 4.
- Non-separately stated losses and deductions. The net ordinary loss or deduction amount from the S-corporation (the Schedule K-1 Box 1 net amount and any other items that are aggregated at the entity level) reduces basis. If available basis (stock plus debt) is insufficient to absorb the full non-separately stated loss, the disallowed portion is suspended under IRC 1366(d)(2).
- Separately stated losses and deductions. Each separately stated loss and deduction item (capital losses, Section 1231 losses, charitable contributions, Section 179 deductions, passive activity losses, etc.) reduces basis. When basis is limited, the separately stated losses are absorbed proportionately across the items in this step.
- Non-deductible, non-capitalizable expenses. The shareholder's pro-rata share of S-corporation expenses that are neither deductible nor chargeable to a capital account reduces basis last. These are "below the line" items that do not generate a deductible loss -- they reduce basis without producing any tax benefit. Examples include the shareholder's share of the 50 percent disallowed portion of meal expenses, certain fines and penalties, and any other Section 274 disallowed amounts that flow through. Because they arrive last in the ordering, they are most likely to be stranded when basis is fully consumed by prior steps.
Suspended Losses Are Personal to the Shareholder and Do Not Transfer
Losses suspended under IRC 1366(d)(2) belong to the individual shareholder who generated them. They carry forward indefinitely -- as losses of the S-corporation with respect to that shareholder in the following year -- but they never attach to the stock. If the shareholder sells the S-corp interest, the suspended losses are permanently forfeited and cannot offset the gain from the sale. Practitioners advising a shareholder who is considering a sale should quantify the suspended loss balance early and evaluate whether a pre-sale capital contribution or shareholder loan can restore sufficient basis to absorb the suspended amount before the sale closes, if the economics support it.
4.1 Worked Example: The Reg. 1.1367-1(f) Ordering in Practice
A shareholder begins Year 3 with $20,000 of stock basis and no debt basis. During Year 3, the S-corporation allocates the following items to the shareholder:
Year 3 Basis Computation -- Applying Reg. 1.1367-1(f) in Sequence
| Step | Item | Amount | Basis Before | Basis After | Notes |
|---|---|---|---|---|---|
| Opening | Stock basis (beginning of Year 3) | $20,000 | No debt basis | ||
| Upward | Tax-exempt income (PPP forgiveness) | +$5,000 | $20,000 | $25,000 | IRC 1367(a)(1) -- upward adjustments precede downward |
| Step 1 | Cash distribution under IRC 1368 | -$18,000 | $25,000 | $7,000 | Distribution absorbed first; no gain triggered (basis not driven below zero) |
| Step 2 | Non-separately stated ordinary loss (Schedule K-1 Box 1) | -$4,000 | $7,000 | $3,000 | Fully absorbed against remaining stock basis |
| Step 3 | Net short-term capital loss (separately stated) | -$6,000 | $3,000 | $0 | Only $3,000 absorbed; $3,000 suspended under IRC 1366(d)(2) |
| Step 4 | Non-deductible, non-capitalizable expenses | -$1,200 | $0 | $0 | No remaining basis; full $1,200 reduces basis to floor of zero (no additional loss suspended -- these are non-deductible items, not deductible losses) |
| Closing stock basis (Year 3) | $0 | $3,000 short-term capital loss suspended; zero debt basis | |||
Note: Non-deductible expenses in Step 4 reduce basis to zero but do not generate deductible losses, so there is no suspended loss from Step 4 -- there is simply no basis benefit from those expenses. The $3,000 suspended capital loss carries forward to Year 4 as a separately stated loss of the S-corp with respect to this shareholder.
5. Debt Basis: Statutory Requirements and Common Traps
5.1 What Creates Debt Basis
IRC 1366(d)(1)(B) allows a shareholder to absorb S-corporation losses against basis in "any indebtedness of the S-corporation to the shareholder." The phrase "indebtedness of the S-corporation to the shareholder" requires two things: (1) the S-corporation must owe the debt, and (2) it must owe that debt directly to the shareholder. A shareholder who is personally liable on a corporate bank loan is not the creditor -- the bank is the creditor. The S-corporation owes the bank, not the shareholder.
Qualifying indebtedness typically arises from one of three sources:
- Direct shareholder loans to the S-corp: The shareholder writes a check or wires funds to the corporation in exchange for a promissory note or an open-account obligation. The economic outlay must be real.
- Back-to-back loans: The shareholder borrows from a third-party lender and immediately re-lends the proceeds to the S-corporation. In this structure, the bank lends to the shareholder (creating personal liability for the shareholder) and the shareholder lends to the S-corporation (creating S-corp indebtedness to the shareholder). Done correctly, this produces both shareholder personal liability on the bank loan and genuine S-corp indebtedness to the shareholder. The two legs of the transaction must both be bona fide.
- Guaranteed debt where the shareholder has made an actual payment: If the shareholder honors a guarantee and pays the bank, the shareholder acquires a right of reimbursement from the S-corporation. That claim -- the S-corp's obligation to repay the shareholder for the amount the shareholder paid the bank -- is bona fide indebtedness of the S-corp to the shareholder and creates debt basis from that point forward.
WARNING: A Guarantee Alone Does Not Create Debt Basis
A shareholder who guarantees an S-corporation bank loan but makes no economic outlay does not receive debt basis for the guaranteed amount. The guarantee creates the shareholder's contingent personal liability to the bank, but it does not create indebtedness of the S-corporation to the shareholder. For debt basis to exist, the S-corp must owe the money to the shareholder, not to a third-party lender. Practitioners who allow clients to deduct S-corporation losses based on guarantee-only debt -- without confirming that an actual back-to-back loan or post-payment reimbursement claim exists -- are at substantial audit risk. The IRS has consistently prevailed on this point in Tax Court. A guarantee that has never been called and never resulted in a shareholder payment produces zero debt basis. Verify any claimed debt basis against documentation showing an actual cash transfer from shareholder to corporation.
Note on circuit court litigation: Several circuit courts have addressed whether a shareholder's guarantee of a corporate obligation can satisfy the at-risk requirement under IRC 465 (a separate, second-layer limitation) by treating the guarantee as functionally equivalent to a back-to-back loan. The Selfe, Golder, and Perry line of cases reflects a circuit split on this at-risk question. The at-risk rules and the IRC 1366(d) stock/debt basis rules are different statutory regimes. The Selfe-line analysis addresses IRC 465 at-risk amounts, not the IRC 1366(d) indebtedness requirement. Do not import the at-risk case law into the IRC 1366 debt basis analysis without careful attention to which statute applies. Verify the applicable circuit's current position and consult qualified tax counsel before advising on this issue.
5.2 How Debt Basis Is Reduced and Restored
When a shareholder's stock basis has been reduced to zero and the S-corporation's losses continue, the shareholder absorbs the remaining losses against debt basis under IRC 1366(d)(1). Each dollar of loss absorbed against debt basis reduces that debt basis by one dollar under IRC 1367(b)(2)(A). The reduction is mechanical: loss in, basis out.
Restoration of reduced debt basis occurs in a future year when the S-corporation generates net income. IRC 1367(b)(2)(B) prescribes the restoration ordering: the net income first restores stock basis (if stock basis was also reduced) before any income is applied to restore debt basis. Stock basis is made whole first. After stock basis reaches its prior level, any remaining net income restores reduced debt basis. This ordering reflects the statutory structure and cannot be reversed.
WARNING: Gain on Loan Repayment When Debt Basis Has Been Reduced
If a shareholder's debt basis was reduced below the face amount of the outstanding shareholder loan through prior loss deductions, repayment of the loan at face value triggers gain recognition. The gain equals the excess of the repayment amount over the shareholder's reduced debt basis. Example: a shareholder lent the S-corp $80,000. Prior-year losses reduced the shareholder's debt basis to $35,000. The S-corp repays the $80,000 note. The shareholder recognizes $45,000 of gain. The character of the gain depends on the nature of the obligation: repayment of a note that qualifies as a capital asset in the shareholder's hands produces capital gain; an open-account debt or a note with ordinary-income characteristics may produce ordinary income. This is one of the most common surprises for clients who refinanced or reorganized during lean years. Practitioners must track debt basis annually and advise clients before any planned loan repayment. The gain is not eliminated by the subsequent year's income -- restoration reduces future gain exposure only on future repayments; it does not retroactively undo a gain already triggered.
6. Stock Basis vs. Debt Basis: Side-by-Side Comparison
The table below compares the two types of shareholder basis across the dimensions that matter most for loss limitation planning and compliance.
| Dimension | Stock Basis | Debt Basis |
|---|---|---|
| Statutory source for creation | IRC 1012 (cost basis at acquisition); IRC 1367(a)(1) (upward adjustments for income and tax-exempt income allocations) | IRC 1366(d)(1)(B); requires bona fide indebtedness of the S-corp directly to the shareholder -- cash or property actually lent by the shareholder to the corporation |
| How it increases (upward adjustments) | Pro-rata share of all separately stated income items, non-separately stated ordinary income, and tax-exempt income under IRC 1367(a)(1) | Additional loans by the shareholder to the corporation; restoration of previously reduced debt basis from S-corp net income (after stock basis is first restored under IRC 1367(b)(2)(B)) |
| How it decreases (downward adjustments) | Distributions (Step 1), non-separately stated losses (Step 2), separately stated losses (Step 3), non-deductible non-capitalizable expenses (Step 4), all under Reg. 1.1367-1(f) | S-corp losses absorbed after stock basis reaches zero; reduced dollar for dollar by losses charged against it under IRC 1367(b)(2)(A) |
| Ordering relative to the other basis type for losses | Stock basis is used first; losses reduce stock basis to zero before debt basis is touched | Debt basis is available only after stock basis is zero; used as the "second" pool for loss absorption under IRC 1366(d)(1) |
| Ordering for distributions | Distributions reduce stock basis first, before any loss or deduction in the current year (Reg. 1.1367-1(f) Step 1) | Distributions do not reduce debt basis; only losses charged against stock reduce debt basis after stock is exhausted |
| Can it go below zero? | No. Stock basis floor is zero. Distributions in excess of basis produce gain; losses in excess of basis are suspended. | No. Debt basis floor is zero. Losses that would reduce debt basis below zero are suspended under IRC 1366(d)(2). |
| Effect if reduced to zero and further losses remain | Losses shift to debt basis (if any exists); otherwise suspended under IRC 1366(d)(2) | Losses are suspended under IRC 1366(d)(2) and carry forward to the next year as S-corp losses with respect to that shareholder |
| Risk when debt is repaid | No gain risk on distributions to the extent of basis; gain risk only if distribution exceeds stock basis | Gain risk if the S-corp repays the loan at face value and the shareholder's debt basis is below face value due to prior loss reductions (IRC 1367(b)(2)(A)) |
| Restoration -- when and how | Restored by S-corp net income in the year generated; stock basis is restored before debt basis (IRC 1367(b)(2)(B)) | Restored only after stock basis is first restored to its prior level; then remaining net income restores reduced debt basis (IRC 1367(b)(2)(B)) |
| Form used to compute and track | Form 7203, Part I (Stock Basis); required to be filed with the shareholder's return when losses or credits are claimed or when a distribution is received | Form 7203, Part II (Debt Basis); tracks each separate loan's original basis, reductions, and restoration separately |
7. Special Topics and Edge Cases
7.1 IRC 1366(d)(3): Surviving Spouse Exception
IRC 1366(d)(3): Suspended Losses in the Year of a Shareholder's Death
IRC 1366(d)(3) provides a narrow but important exception to the rule that suspended losses are permanently lost when the shareholder's basis runs out before the losses are absorbed. In the case of a deceased shareholder, the surviving spouse (if the stock passes to the surviving spouse and the stock receives a step-up in basis under IRC 1014) may use the deceased spouse's suspended losses in the year of death to the extent that the IRC 1014 step-up restores basis to the stock. The step-up in basis under IRC 1014 to fair market value as of the date of death is treated as a basis restoration event, and the deceased shareholder's suspended losses are allowed to that extent in the year of death. This is an exception that applies only to the surviving spouse, not to other heirs, and only in the year of death. Estate planners advising clients with S-corp stock and suspended losses should factor this provision into the analysis of whether to hold or sell the S-corp interest before or after the death of the primary shareholder.
7.2 The Bona Fide Indebtedness Requirement and Open Account Advances
The requirement that S-corp debt to a shareholder be "bona fide indebtedness" is not merely a formality. Courts and the IRS evaluate whether an advance truly has the characteristics of a loan: a fixed obligation to repay, a stated interest rate, a maturity date, a course of conduct consistent with a debtor-creditor relationship, and evidence that the S-corp intended to and could repay the amount. An advance that lacks these characteristics may be recharacterized as a contribution to capital rather than a loan, eliminating debt basis entirely and converting the advance into stock basis instead -- at the cost of losing any benefit the shareholder expected from having a note with a basis that could absorb losses separately from stock.
"Open account" advances present particular risk. When a shareholder makes repeated, informal cash transfers to the S-corp without executing a promissory note, the IRS may treat those advances as contributions to equity rather than loans. Practitioners should ensure that shareholder loans are documented with a promissory note at the time of the advance (or shortly thereafter), bear interest at or above the applicable federal rate under IRC 7872, and are treated as debt consistently on the books of both the shareholder and the S-corporation.
7.3 Interaction with the At-Risk Rules and Passive Activity Rules
The IRC 1366(d)(1) stock-and-debt-basis limitation is the first of three loss limitations that may apply to an S-corporation shareholder. After a loss survives the basis test, it is then tested against the shareholder's at-risk amount under IRC 465 (a second limitation), and then tested against the passive activity rules under IRC 469 (a third limitation, if the S-corp activity is passive with respect to the shareholder). A loss must clear all three hurdles before it is currently deductible on the shareholder's return. Basis limitation is necessary but not sufficient.
The basis limitation and the at-risk limitation are related but not identical. A shareholder may have stock basis without being "at risk" for the same amount (for example, if the stock was purchased with non-recourse financing that the shareholder is not personally liable for). Conversely, a shareholder may be at risk for amounts that do not constitute stock or debt basis under IRC 1366 (for example, certain qualified nonrecourse financing secured by real property that is counted in the at-risk amount under IRC 465(b)(6) but does not create debt basis for IRC 1366 purposes). The two analyses must be run separately.
8. Compliance Notice: Substantiation of Claims in This Guide
Claims Flagged for Review
The following statements in this guide constitute substantiated or qualified claims that have been noted for compliance review:
| Claim | Basis / Source | Status |
|---|---|---|
| A guarantee alone does not create debt basis under IRC 1366(d)(1)(B) | Statutory text; consistent Tax Court and IRS position; Selfe/Golder/Perry limited to IRC 465 at-risk context | Supported -- qualified with "consult tax counsel" |
| Loan repayment triggers gain when debt basis is below face value | IRC 1367(b)(2)(A); Treasury regulation; character depends on note type | Supported -- character qualified as fact-specific |
| Tax-exempt income (including PPP forgiveness) increases stock basis under IRC 1367(a)(1)(A) | IRC 1367(a)(1)(A); Consolidated Appropriations Act 2021; Rev. Rul. guidance | Supported -- practitioner advised to verify current administrative positions |
| Reg. 1.1367-1(f) ordering is mandatory, not elective | Treas. Reg. 1.1367-1(f) -- prescriptive regulatory text | Supported -- stated as regulatory requirement |
| IRC 1366(d)(3) surviving spouse exception in year of death | IRC 1366(d)(3); IRC 1014 step-up basis | Supported -- flagged as narrow statutory exception; estate planning context |
| Selfe/Golder/Perry circuit split is limited to IRC 465 at-risk context | Case law description; circuit-specific; not applicable to IRC 1366(d)(1)(B) directly | Qualified -- readers directed to verify applicable circuit and current authority |
9. Frequently Asked Questions
What is a "separately stated item" under IRC 1366 and how do I identify them?
A separately stated item is any item of S-corporation income, loss, deduction, or credit that could affect different shareholders differently depending on their individual tax situations. Capital gains, Section 1231 items, charitable contributions, Section 179, and passive activity items are the most common categories. The test: if two shareholders with different tax profiles would treat the item differently on their individual returns, it must be separately stated on Schedule K-1 rather than folded into the net ordinary income or loss amount. Non-separately stated items net together at the entity level and pass through as a single Box 1 amount.
Can a shareholder deduct S-corp losses that exceed stock basis if the shareholder has personally guaranteed a bank loan?
Generally no -- not from the guarantee alone. Debt basis under IRC 1366(d)(1)(B) requires bona fide indebtedness of the S-corp directly to the shareholder. A guarantee of a bank loan creates the shareholder's contingent liability to the bank, but the S-corp owes the bank, not the shareholder. Only an actual economic outlay -- a direct loan from shareholder to S-corp, a back-to-back loan structure, or a payment by the shareholder to honor the guarantee -- creates debt basis. Verify with qualified tax counsel before advising a client on this point.
What is the correct order to apply downward basis adjustments under Reg. 1.1367-1(f)?
The four mandatory steps, applied in sequence: (1) distributions under IRC 1368, (2) non-separately stated losses and deductions, (3) separately stated losses and deductions, (4) non-deductible, non-capitalizable expenses. This order is prescribed by regulation and is not elective. Distributions always come first; non-deductible expenses always come last. The ordering determines which items survive when basis is insufficient to absorb all items in the same year.
What happens to suspended S-corp losses when the shareholder sells the stock?
They are permanently lost. Suspended losses under IRC 1366(d)(2) are personal to the shareholder. They do not attach to the stock and do not transfer to the buyer. If the shareholder sells without having first restored sufficient basis to absorb the suspended losses, those losses disappear. They cannot offset the gain from the sale. Pre-sale basis restoration through a capital contribution or bona fide shareholder loan may be worth modeling if the suspended loss balance is material relative to the anticipated gain.
Does PPP loan forgiveness allocated through an S-corp increase the shareholder's stock basis?
Yes. PPP loan forgiveness is tax-exempt income under IRC 108(f)(3), and tax-exempt income increases stock basis under IRC 1367(a)(1)(A). The upward adjustment occurs before the year's downward adjustments for losses, so the forgiveness can provide a basis cushion that supports the year's distributions or absorbs the year's losses before they are suspended. Verify current administrative guidance with IRS.gov, as positions on PPP tax treatment evolved through multiple legislative and regulatory actions.
How is debt basis reduced when the shareholder uses it to absorb losses, and when is it restored?
Debt basis is reduced dollar for dollar under IRC 1367(b)(2)(A) for each dollar of loss the shareholder absorbs after stock basis is exhausted. Restoration occurs in future years when the S-corp generates net income, but stock basis must be fully restored first under IRC 1367(b)(2)(B). Only after stock basis is brought back to its prior level does remaining net income flow to restore reduced debt basis. The stock-first, debt-second restoration ordering is mandatory.
If a shareholder takes a distribution in the same year as an operating loss, which reduces basis first?
Distributions reduce basis first, in Step 1 of the Reg. 1.1367-1(f) ordering. Losses follow in Steps 2 and 3. This means a distribution consumes available basis before the year's losses have a chance to use it. If the distribution reduces basis substantially, less basis remains to absorb the year's losses, which may result in losses being suspended that would have been fully deductible if the distribution had not been taken. Practitioners should model the year-end basis computation before advising clients to take large distributions in years with expected operating losses.
What triggers gain recognition when an S-corp repays a shareholder loan?
Gain is triggered when the S-corp repays the loan at a face amount that exceeds the shareholder's reduced debt basis. Debt basis is reduced when prior losses were absorbed against it. The gain equals the face amount repaid minus the shareholder's current debt basis in that note. The character of the gain -- capital or ordinary -- depends on whether the note qualifies as a capital asset in the shareholder's hands. Practitioners must track debt basis annually on Form 7203 and alert clients to potential gain recognition before any planned loan repayment.