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 | Net increase from S-corp income, restoring prior basis reductions (§1367(b)(2)(B)) |
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 on or after August 18, 1998:
| 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 losses to reduce basis before non-deductible expenses; any non-deductible expense amount in excess of stock and debt basis is treated as incurred in the succeeding year. 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 |
| A written instrument naming the shareholder as lender is strong evidence of bona fide debt (facts and circumstances) |
| Arm's-length terms (interest rate, maturity, repayment terms documented) support bona fide debt status |
| 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. Because the prior reduction was $60,000, all $50,000 is used for restoration and stock basis remains $0.
Year 3: S-corp repays $50,000 of the $100,000 loan. Debt basis of $90,000 is 90% of the loan balance, so $45,000 of the repayment is nontaxable and $5,000 is reportable gain (Form 7203 lines 25, 26 and 34) - capital gain if the debt is evidenced by a formal note, ordinary income if it is open account debt. Remaining debt basis is $45,000 on a $50,000 balance.
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 stock basis at the beginning of the year (line 1, which should match line 15 of the prior year), add capital contributions and additional stock acquired (line 2) and income items (lines 3a-3m, totaled on line 4), subtract distributions (line 6), nondeductible expenses (lines 8a-8c), and allowable loss and deduction items, debt basis restoration and other decreases (lines 11-13), and end with ending basis (line 15). Stock basis cannot go below zero.
Lines 16-34 track debt basis for each loan separately in columns (up to three loans per page). Section A (lines 16-20) tracks the loan balance: beginning balance, additional loans, principal repaid, and ending balance. Section B (lines 21-31) tracks debt basis: beginning basis (line 21), additional loans (line 22), restoration (line 23), the nontaxable portion of any repayment (lines 25-26), nondeductible expenses in excess of stock basis (line 28), allowable losses in excess of stock basis (line 30), and ending debt basis (line 31). Section C (lines 32-34) computes the reportable gain on a loan repayment.
Lines 35-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. Unallowed items carry over in column (e) and appear in column (b) of the corresponding line (lines 35-46) on next year's Form 7203.
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 adequate identification at sale time, the shares sold are charged against the earliest lot (here the 2018 lot, $100,000 basis) - producing $200,000 more gain than if the 2023 lot ($300,000 basis) 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.