S-corp shareholder basis is the most error-prone calculation in pass-through taxation. Form 7203 replaced the optional basis worksheet starting in tax year 2021 and is now mandatory whenever a shareholder claims a loss, takes a distribution, disposes of stock, or receives a debt repayment. Get the basis math wrong and one of two things happens: losses are improperly deducted (triggering IRS adjustment plus penalty), or distributions are wrongly treated as nontaxable (creating capital gain reclassification). The shareholder - not the S-corp - tracks basis. Form 1120-S reports AAA, which is a corporate-level account and is not the same as basis.
Filed by the shareholder, attached to Form 1040. Required when any of the following applies for the tax year:
1. Claims a loss or deduction passing through from the S-corp (including suspended losses from prior years).
2. Receives a non-dividend distribution from the S-corp.
3. Disposes of S-corp stock (sale, gift, redemption, or other transfer, whether or not gain is recognized).
4. Receives a loan repayment from the S-corp.
Best practice: complete Form 7203 every year, file it every year. Basis tracking gaps compound and become impossible to reconstruct.
An S-corp shareholder has two separate basis accounts under IRC §1366(d) and §1367: stock basis and debt basis. Each is independent. Stock basis is increased by capital contributions and the shareholder's share of income. Debt basis is increased by direct loans the shareholder makes to the S-corp. Losses are deducted first against stock basis, then against debt basis. Distributions are tax-free only to the extent of stock basis - they cannot draw against debt basis.
| Account | Created By | Reduced By | Increased By |
|---|---|---|---|
| Stock Basis | Capital contributions; cost of purchased stock; carryover from §351 transfer | Non-dividend distributions; losses; non-deductible expenses | Income; capital contributions |
| Debt Basis | Direct loans from shareholder to S-corp | Loss allocations after stock basis exhausted; loan repayments | Loan repayments above prior basis reductions (restoration) |
The order in which adjustments hit stock basis matters because it determines how much of a year's loss can be deducted, whether a distribution is tax-free, and whether basis can go below zero. The default order under Reg §1.1367-1(f) for tax years beginning after January 26, 2024:
| Step | Adjustment | Authority |
|---|---|---|
| 1 | Increase for income items (separately stated and non-separately stated) | §1367(a)(1); Reg §1.1367-1(f)(1) |
| 2 | Decrease for non-dividend distributions | §1367(a)(2)(A); Reg §1.1367-1(f)(2) |
| 3 | Decrease for non-deductible expenses and non-capital expenditures | §1367(a)(2)(D); Reg §1.1367-1(f)(3) |
| 4 | Decrease for losses and deductions | §1367(a)(2)(B), (C); Reg §1.1367-1(f)(4) |
The ordering matters because distributions come out before losses. If a shareholder has $50,000 of stock basis at the beginning of the year, receives a $40,000 distribution, and the S-corp generates a $30,000 loss, the distribution comes out first, reducing basis to $10,000. The $30,000 loss then deducts against $10,000 of remaining basis - $20,000 of loss suspends. Without the ordering rule, the $30,000 loss would have wiped out basis first, making the distribution partially taxable as capital gain.
The shareholder may elect under Reg §1.1367-1(g) to take loss/deduction items BEFORE non-deductible expenses. This is a multi-year election. Once made, it applies until revoked with IRS consent. Useful when the shareholder wants to preserve basis for future loss deductions and is willing to permanently lose the non-deductible expense reduction. Most shareholders do not elect.
Only direct loans from the shareholder to the S-corp create debt basis. The Tax Court and Treasury have consistently rejected basis claims based on guarantees, co-signing, or back-to-back loans through related entities. Reg §1.1366-2(a)(2) requires the indebtedness to be:
| Requirement for Debt Basis |
|---|
| Bona fide indebtedness running directly from shareholder to S-corporation |
| Shareholder is the lender of record on a written instrument |
| Loan must be at arm's length (interest rate, maturity, repayment terms documented) |
| Mere guarantee or co-signing of S-corp debt to bank does NOT create basis |
| "Incorporated pocketbook" - shareholder lends to a sister company that lends to S-corp - does NOT create basis |
| Shareholder gets basis from guarantee ONLY when actually making payment on the guarantee |
If debt basis is reduced by a loss allocation in one year and the S-corp later generates income that would otherwise increase stock basis, the income first restores prior reductions in debt basis under IRC §1367(b)(2)(B). This is a critical defensive mechanism.
Year 1: Shareholder lends $100,000 to S-corp. Stock basis $20,000. S-corp loses $80,000. Loss deducts $20,000 stock + $60,000 debt = $80,000 deductible. Year-end: Stock basis $0, Debt basis $40,000.
Year 2: S-corp earns $50,000. Income restores debt basis first under §1367(b)(2)(B), bringing it back to $90,000. Remaining $10,000 increases stock basis to $10,000.
Year 3: S-corp repays $50,000 to shareholder. Because debt basis was previously reduced, $10,000 of repayment ($50,000 minus the remaining $40,000 of restored basis attributable to original principal) is treated as taxable income from the loan - typically capital gain if held more than one year.
Even after basis exists, losses must clear three additional hurdles before reaching Form 1040. Each hurdle is computed on its own form:
| Order | Limitation | Form | Authority |
|---|---|---|---|
| 1 | Basis limitation (stock then debt) | Form 7203 | IRC §1366(d) |
| 2 | At-risk limitation | Form 6198 | IRC §465 |
| 3 | Passive activity loss (PAL) limitation | Form 8582 | IRC §469 |
| 4 | Excess business loss limitation | Form 461 | IRC §461(l) |
Losses suspended under one limitation carry forward to future years and must clear that limitation. A loss can pass basis but fail at-risk, pass at-risk but fail PAL, pass PAL but fail §461(l). Each carryforward has its own attributes - basis-limited losses retain their character; PAL losses are released when the activity is fully disposed of in a taxable transaction (§469(g)).
Lines 1-15 reconstruct stock basis for the year. Begin with prior-year ending stock basis (line 1, must match line 15 of prior year), add increases (lines 2-6: capital contributions, income items, tax-exempt income, §1366(a)(1)(A) items), subtract decreases (lines 7-13: distributions, losses, non-deductible expenses), and end with ending basis (line 15). Stock basis cannot go below zero.
Lines 16-29 track debt basis for each loan separately. Multiple loans require separate columns. Each loan tracks: face amount (line 16), loan basis at start of year (line 17), additions to loan basis from current-year debt restoration (line 19), reductions for losses (line 21), reductions for loan repayments (line 24), and ending loan basis (line 29).
Lines 30-47 allocate current-year losses and deductions against available basis. The allocation respects character preservation - ordinary loss stays ordinary, §1231 loss stays §1231, charitable contributions stay charitable. When stock basis is insufficient to absorb all loss and deduction items pro rata, the form calculates the partial deduction and computes the carryforward of unallowed items by category. Suspended items appear on next year's Form 7203 line 31 column (b).
Two of the most common practitioner errors involve confusing the S-corp's Accumulated Adjustments Account (AAA) with shareholder stock basis. They are different concepts measuring different things:
| Attribute | AAA (Corporate Level) | Stock Basis (Shareholder Level) |
|---|---|---|
| Maintained by | S-corporation on Schedule M-2 | Each shareholder, separately |
| Increased by | Taxable income only | Taxable income AND tax-exempt income |
| Decreased by | Taxable losses, non-deductible non-capital expenses, distributions | Distributions, losses, non-deductible expenses |
| Can go negative? | Yes, AAA can be negative (other than from distributions) | No, stock basis floor is zero |
| Tax-exempt income | Does NOT affect AAA | DOES increase basis |
| Purpose | Tracks accumulated S-corp earnings to identify when distributions become dividends from C-corp E&P | Tracks the shareholder's tax investment to limit losses and tax-free distributions |
For S-corps with no accumulated C-corp earnings and profits (no prior C-corp history), AAA is largely a recordkeeping convenience. For S-corps that were previously C-corps and have accumulated E&P, AAA controls whether distributions are S-corp returns of basis or §316 dividends.
Practitioner sees the K-1 shows a $50,000 distribution and AAA on Form 1120-S Schedule M-2 supports it. Concludes distribution is tax-free. Wrong analysis: the shareholder's stock basis must support it. AAA is a corporate account. Basis is the shareholder's account. The shareholder's basis history may differ from corporate AAA because the shareholder acquired stock at a different time, made capital contributions, has been allocated tax-exempt income differently, or paid for stock at a price different from AAA.
Shareholder co-signs the S-corp's bank loan, then claims debt basis for the guaranteed amount. Reg §1.1366-2(a)(2)(ii) and a long line of Tax Court cases (most prominently Maloof v. Commissioner, 456 F.3d 645 (6th Cir. 2006)) reject this. Basis arises only when the shareholder actually pays the guarantee. Until then, the shareholder is contingently liable, not the lender of record.
Shareholder acquired 100 shares in 2018 for $100,000 (basis $1,000/share), then acquired 100 more shares in 2023 for $300,000 (basis $3,000/share). Sells 100 shares in 2026. Without lot-specific identification at sale time, the IRS treats the sale as pro rata across all 200 shares - 50 from each lot - producing a different gain than if the high-basis lot were identified. Document the sold-lot identification at the time of sale per Reg §1.1012-1(c).
Three-year statute of limitations under §6501(a) bars assessment of tax. But the IRS can still examine open years to determine basis - basis is a perpetual attribute that follows the shareholder. A 2026 audit can examine 2018 basis records if the shareholder claims a 2024 loss requiring that basis. Pre-filing-period records must be retained throughout the shareholder's holding period.
Before 2021, basis tracking was on an attached worksheet (which most practitioners skipped). The IRS will not demand pre-2021 Form 7203 because it did not exist - but it will demand contemporaneous basis records. Reconstruct basis from prior years using shareholder K-1 history, capital contribution records, distribution records, and accountant work papers. Document the reconstruction methodology for the file.
| Tactic | Effect |
|---|---|
| Capital contribution before December 31 | Increases stock basis in current year; enables loss deduction |
| Shareholder loan before December 31 | Increases debt basis; enables loss deduction after stock basis exhausted |
| Delay loan repayment past year-end | Avoids gain recognition on repayment if debt basis was previously reduced |
| Convert third-party debt to shareholder loan | Requires actual cash flow through shareholder - cannot be just paperwork |
| Time distributions before or after year-end | Pre-year-end distribution reduces current year basis; defer to next year if basis tight |
| Elect §1.1367-1(g) ordering | Take losses before non-deductible expenses; preserves basis but permanent |
Primary authority: IRC §1366 (pass-through of items to shareholders), §1366(d) (basis limitation on losses), §1367 (stock basis adjustments), §1367(b)(2)(B) (debt basis restoration), §1368 (distribution treatment), §465 (at-risk rules), §469 (passive activity loss limitation), §461(l) (excess business loss limitation), §351 (carryover basis in property contributions). Treasury Regulations §1.1366-2 (basis of shareholder indebtedness), §1.1367-1 (basis adjustments to S-corp stock), §1.1367-1(g) (elective ordering rule), §1.1367-2 (debt basis adjustments), §1.1012-1(c) (stock identification at sale). Maloof v. Commissioner, 456 F.3d 645 (6th Cir. 2006) (guarantee does not create basis). IRS Form 7203 (Rev. December 2022), Instructions for Form 7203, IRS Form 1120-S Schedule M-2.