CrowdfundedWealth

Form 7203 Line by Line: S Corp Stock and Debt Basis Example

ResearchBy Jorge23 min read

Some links pay us a referral fee; each one says so. Disclosure

Quick answer

As of December 5, 2026, the Form 7203 and instructions on IRS.gov are still the Rev. December 2022 versions, and the IRS About Form 7203 page, last reviewed June 27, 2026, lists no newer revision. The instructions say the form is filed by S corporation shareholders who claim a deduction for their share of an aggregate loss, received a non-dividend distribution, disposed of stock (whether or not gain is recognized) or received a loan repayment. The form has three parts, not four: Part I is stock basis (lines 1 to 15, with distributions on line 6), Part II is debt basis (lines 16 to 34) and Part III is allowable loss and deduction items (lines 35 to 47). Losses are deductible only up to stock basis plus loan basis under 26 U.S.C. 1366(d)(1), and the rest carries forward with no end date. A distribution above stock basis is treated as gain from the sale or exchange of property under 26 U.S.C. 1368(b)(2). A loan counts only if it is bona fide debt that runs directly from you to the corporation under 26 CFR 1.1366-2(a)(2), so a guarantee adds nothing until you pay on it. In our three-year example ($100,000 contributed, a $130,000 loss, a $50,000 shareholder loan, $60,000 of income, a $40,000 distribution and a sale of the shares for $250,000) the loss is allowed as $100,000 from stock and $30,000 from the loan, the $40,000 distribution is tax-free, and the exit produces $250,000 of gain on the shares plus $10,000 on the loan repayment (our arithmetic). This is analysis of public documents, not investment, legal or tax advice.

Key takeaways

  • The current form is Rev. 12-2022 and the current instructions are Rev. December 2022 (dated October 19, 2022 in their footer); the IRS page lists them as the current revision on December 5, 2026. A separate IRS notice dated March 12, 2025 says an amount in Schedule K-1 box 13, code H, goes on Part III, line 45, of Form 7203.
  • Form 7203 has 47 numbered lines in three parts: Part I (stock basis, lines 1 to 15), Part II (debt basis, lines 16 to 34) and Part III (allowable loss and deduction items, lines 35 to 47). Distributions are line 6 of Part I; there is no separate distributions part.
  • Four events require the form under the instructions: claiming an aggregate loss (including one suspended from an earlier year), a non-dividend distribution, a disposition of stock whether or not gain is recognized, and a loan repayment. Married joint filers with two Schedules K-1 complete a separate form for each spouse.
  • Basis moves in a fixed order under 26 CFR 1.1367-1(f): income first, then distributions, then nondeductible expenses, then losses. So a shareholder whose stock basis ends the year at zero can still have taken a tax-free distribution: in our example, income of $60,000 absorbs a $40,000 distribution (our arithmetic).
  • Loan basis is narrow: the instructions say distributions do not reduce it and a loan the shareholder guarantees or co-signs is not part of it except to the extent the shareholder pays on the loan. Without the $50,000 loan, $30,000 of the first-year loss in our example would be suspended instead of deducted (our arithmetic).
  • When debt basis is below the face of a note, a repayment is partly taxable: in our example the shareholder holds a $50,000 note with $40,000 of basis, so repayment at face produces $10,000 of gain, capital for a formal note and ordinary for open account debt under the instructions for line 34 (our arithmetic).

CSV · 134 rows

Form 7203: filing triggers, basis ordering rules and a three-year worked example

134 rows: the form facts, the four filing triggers, the Regulation order, the statute and regulation text behind each rule, and the amount on each line of Parts I, II and III for three years and two variants (our arithmetic).

Update alert · free

An email when the s corporation basis numbers change

When a rate, rule or filing behind this page changes: what changed, the one number that matters, and the source to check it yourself.

The first question owners of a small S corporation ask is whether their preparer’s request for Form 7203 means something is wrong. It does not: the form is a calculation of how much of the company’s losses a shareholder may deduct and how much of a payout is tax-free. This page reads the IRS instructions and the Code and regulations behind them and then runs one owner through three years, filling in every line of the form. The sale of a whole company is covered in Selling a Business: Earn-Out, Escrow and Seller Note Tax and the buyer-side election in S Corporation Sale, 338(h)(10) and F Reorganization; this page is about the basis number both of them start from.

Which revision is current

We opened the IRS About Form 7203 page, the form PDF and the instructions PDF on December 5, 2026. The page lists one current revision of the form and of its instructions, and both files are the December 2022 versions. The only item under “Recent developments” is the March 12, 2025 notice on Schedule K-1 box 13, code H.

ItemWhat irs.gov shows on December 5, 2026Source
Form revisionForm 7203 (Rev. 12-2022), OMB No. 1545-2302Form 7203 PDF
Instructions revisionInstructions for Form 7203 (Rev. December 2022), footer dated October 19, 2022Instructions PDF
IRS page last reviewed or updatedJune 27, 2026About Form 7203
Parts of the formPart I stock basis, Part II debt basis, Part III allowable loss and deduction itemsForm 7203 PDF
Numbered lines47 (Part I lines 1 to 15, Part II lines 16 to 34, Part III lines 35 to 47)Form 7203 PDF
Newest noteSchedule K-1 box 13 code H amounts go on Part III line 45; notice dated March 12, 2025IRS notice
New in the December 2022 revisionItem D (how the stock was acquired) and item E (a Regulations section 1.1367-1(g) election is in effect)Instructions PDF

Some web pages describe a fourth part for distributions. In the December 2022 form there is none: non-dividend distributions are entered on line 6 of Part I, and the capital gain on any excess is reported on Form 8949 and Schedule D. If a newer revision is posted later, the line numbers below may move; the rules from the Code and regulations will not.

Who must file Form 7203, and when

The instructions list four events. The form is attached to the shareholder’s own return (the form’s header says “Attach to your tax return”); it is not filed by the corporation.

EventWhat the instructions sayWhere it shows up on the form
Deducting a lossClaiming a deduction for the share of an aggregate loss, including an aggregate loss not allowed last year because of basis limitationsPart III, columns (a) to (e), lines 35 to 47
Non-dividend distributionReceived a non-dividend distribution from an S corporationPart I, line 6 (Schedule K-1 box 16 code D)
Disposing of stockDisposed of stock in an S corporation, whether or not gain is recognizedPart I, line 13 for a partial sale; two forms for a partial sale
Loan repaymentReceived a loan repayment from an S corporationPart II, lines 19 and 26, gain on line 34

Three further points come from the instructions themselves. A married couple filing jointly with a Schedule K-1 for each spouse completes a separate Form 7203 for each. If part of the stock is redeemed or sold during the year, the instructions say to attach two forms: the first to figure stock basis at the date of sale and the second to figure stock and debt basis at year end. And in a year when none of the four events happens, the instructions say it may be beneficial to complete and retain the form anyway, because it keeps the bases consistent from year to year. The instructions also say you are responsible for keeping the information needed to figure the basis of your stock.

Basis is only the first of four loss limits. The instructions give the order as the basis limitations (Form 7203), the at-risk limitations (Form 6198), the passive activity loss limitations (Form 8582) and the excess business loss limitations (Form 461). A loss that survives Form 7203 can still be stopped by the next three.

The order basis moves, stock and loans

Stock basis starts from what was paid or contributed and is then adjusted at the close of the corporation’s year (26 CFR 1.1367-1(d)(1)), except that if the shareholder disposes of stock during the year the adjustments are effective immediately before the disposition. For years beginning on or after August 18, 1998, 26 CFR 1.1367-1(f) fixes the order. Debt basis is touched only after stock basis has gone to zero (26 U.S.C. 1367(b)(2)(A)) and is restored before stock basis is rebuilt (26 U.S.C. 1367(b)(2)(B)).

Step (26 CFR 1.1367-1(f))ItemEffect on stock basisEffect on loan basisForm 7203 lines
1Income items, tax-exempt income, excess depletionIncrease (only amounts in income count)Net increase first restores any earlier reduction in loan basis (26 U.S.C. 1367(b)(2)(B))Lines 3a to 3m, 4; lines 12 and 23
2Non-dividend distributionsDecrease, not below zero; the excess is gain (26 U.S.C. 1368(b)(2))None: the instructions say distributions do not reduce loan basisLines 5, 6, 7
3Nondeductible expenses, oil and gas depletionDecrease, not below zeroExcess reduces loan basis (26 U.S.C. 1367(b)(2)(A)); it does not carry forwardLines 8a to 8c, 9; lines 28, 29
4Losses and deductionsDecrease, not below zeroExcess reduces loan basis; what is left is suspended (26 U.S.C. 1366(d)(2)(A))Lines 11 to 15; lines 30, 31; Part III
ElectionSteps 4 before 3 (26 CFR 1.1367-1(g))Losses first, then nondeductible expensesUnabsorbed nondeductible expenses carry to the next yearItem E; line 13 instead of 8a to 8c

The election in paragraph (g) is made by attaching a statement to a timely filed original or amended return that agrees to the carryover rule, and once made for an S corporation it applies to later years unless the Commissioner permits a change (26 CFR 1.1367-1(g)); the instructions say the same and add item E, a checkbox, for a year in which it is in effect.

Two limits on the rule that a distribution is tax-free up to basis are worth knowing. Under 26 U.S.C. 1368(b)(1), a distribution from an S corporation with no accumulated earnings and profits is not included in gross income to the extent it does not exceed the adjusted basis of the stock. If the company has accumulated earnings and profits, 26 U.S.C. 1368(c) applies the accumulated adjustments account first and then treats the rest as a dividend up to those earnings and profits; the instructions say not to enter Form 1099-DIV dividend distributions on line 6.

What counts as loan basis

Part II exists because a shareholder’s own money lent to the company is a second layer of basis. The rules are narrow. Under 26 CFR 1.1366-2(a)(2)(i) it is the adjusted basis in bona fide indebtedness of the S corporation that runs directly to the shareholder, and whether a loan is bona fide depends on general federal tax principles and all the facts and circumstances.

ItemCounts as loan basis?Source
Formal note from you to the company (written instrument)Yes, each note in its own columnInstructions, Part II; 26 CFR 1.1366-2(a)(2)(i)
Advances on open account (no written note)Yes, treated as one debt, while the year-end balance is $25,000 or less26 CFR 1.1367-2(a)(2)(i)
Open account balance above $25,000 at year endTreated like a written note from the next year, and tracked separately26 CFR 1.1367-2(a)(2)(ii); instructions, Part II
A bank loan to the company that you guaranteed or co-signedNo, except to the extent you make a payment on it26 CFR 1.1366-2(a)(2)(ii); instructions, Part II
Money you borrowed from another company and lent on to the S corporation (back-to-back loan)Decided on the facts: the regulation tests whether your loan to the S corporation is bona fide debt running to you26 CFR 1.1366-2(a)(2)(iii), Example 2
Distributions you receivedThey do not reduce loan basisInstructions, Basis of loans

When there is more than one loan, a reduction in debt basis is prorated across the loans by their share of total loan basis (26 CFR 1.1367-2(b)(3)), and a net increase first restores any note repaid in the year, to the extent needed to offset gain on the repayment (26 CFR 1.1367-2(c)(2)).

A three-year example, every line

The facts are ours, not a company’s: a calendar-year S corporation with one shareholder, no accumulated earnings and profits, and no items other than ordinary business income or loss. They are (our assumptions):

  • Year 1: the shareholder contributes $100,000 for the stock and lends the company $50,000 on a written note. Schedule K-1 box 1 shows an ordinary loss of $130,000.
  • Year 2: the company has ordinary income of $60,000 (box 1) and distributes $40,000 (box 16, code D). Nothing is repaid.
  • Year 3: with no operating result before the sale, the shareholder sells all the shares for $250,000, and the buyer has the company repay the $50,000 note at face at the closing.

Everything below is our arithmetic from the lines of Form 7203 (Rev. 12-2022) and the instructions for each line. Amounts are in dollars; “skipped” means the form tells the filer to skip the line.

Part I, stock basis (lines 1 to 15):

LineWhat it asksYear 1Year 2Year 3
1Stock basis at the beginning of the year000
2Contributions or additional stock100,00000
3aOrdinary business income060,0000
4Add lines 3a to 3m060,0000
5Stock basis before distributions (1 + 2 + 4)100,00060,0000
6Distributions040,0000
7Stock basis after distributions (5 − 6)100,00020,0000
9Nondeductible expenses (lines 8a to 8c)00skipped
10Stock basis before loss and deduction items (7 − 9)100,00020,000skipped
11Allowable loss from stock basis (line 47, column (c))100,0000skipped
12Debt basis restoration (line 23)020,000skipped
13Other decreases00skipped
14Add lines 11, 12 and 13100,00020,000skipped
15Stock basis at the end of the year (10 − 14)000

Part II, debt basis (lines 16 to 34), one formal note:

LineWhat it asksYear 1Year 2Year 3
16Loan balance at the beginning of the year050,00050,000
17Additional loans50,00000
18Loan balance before repayment (16 + 17)50,00050,00050,000
19Principal repaid0050,000
20Loan balance at the end of the year (18 − 19)50,00050,0000
21Debt basis at the beginning of the year020,00040,000
22Amount from line 1750,00000
23Debt basis restoration020,0000
24Debt basis before repayment (21 + 22 + 23)50,00040,00040,000
25Line 24 divided by line 181.000.800.80
26Nontaxable debt repayment (25 × 19)0040,000
27Debt basis before nondeductible expenses and losses (24 − 26)50,00040,0000
28Nondeductible expenses in excess of stock basis000
29Debt basis before losses and deductions (27 − 28)50,00040,0000
30Allowable losses in excess of stock basis (line 47, column (d))30,00000
31Debt basis at the end of the year (29 − 30)20,00040,0000
32Repayment (line 19)nonenone50,000
33Nontaxable repayments (line 26)nonenone40,000
34Reportable gain (32 − 33)nonenone10,000

Part III, allowable loss and deduction items (line 35, ordinary business loss; lines 36 to 46 are zero in every year):

ColumnWhat it holdsYear 1Year 2Year 3
(a)Current-year loss from Schedule K-1130,00000
(b)Carryover from the previous year000
(c)Allowable loss from stock basis (cannot exceed line 10)100,00000
(d)Allowable loss from debt basis (cannot exceed line 29)30,00000
(e)Carryover to the next year000
Line 47Total loss, columns (c) and (d)130,00000

What each year shows:

  • Year 1. Stock basis of $100,000 is the first $100,000 of the loss (line 11); the next $30,000 comes out of the loan (line 30), leaving $20,000 of debt basis and nothing suspended. The instructions say that when stock and debt basis are insufficient the allowance is divided pro rata among loss items, which does not matter here because there is only one item.
  • Year 2. Under the order in 26 CFR 1.1367-1(f), $60,000 of income is added first and the $40,000 distribution comes off second, so the distribution is within stock basis of $60,000 and is not gain, even though stock basis ends the year at zero. The net increase is $60,000 less $40,000, or $20,000; under 26 U.S.C. 1367(b)(2)(B) it restores loan basis first (line 23, from $20,000 to $40,000) and only then could it rebuild stock basis, so line 12 takes the $20,000 off stock basis and nothing is left.
  • Year 3. Stock basis is zero, so the form tells the filer to skip lines 8 to 14. The $50,000 note has $40,000 of basis, a ratio of 0.80, so $40,000 of the repayment is a return of basis and $10,000 is gain (line 34). The instructions say that gain on a formal note is capital gain on Form 8949 and Schedule D, and that gain on open account debt is ordinary gain on Form 4797. The gain gives no new basis, because the instructions say gain recognized on a loan repayment does not increase basis.

Under 26 U.S.C. 1001(a), gain on the shares is the amount realized less adjusted basis: $250,000 less $0, or $250,000 (our arithmetic). Its character is not computed here.

A check that the lines add up: over the three years the shareholder reports a $130,000 loss, $60,000 of income, $250,000 of gain on the shares and $10,000 of gain on the note, for $190,000 of net taxable result. In cash, the shareholder put in $100,000 and $50,000 and got back $40,000 in the distribution, $250,000 for the shares and $50,000 of loan repayment, so $340,000 out less $150,000 in is also $190,000 (our arithmetic). Basis keeps total tax and total economics in step.

Two variants that show where the lines matter

Change to the exampleResult on Form 7203Dollar effect (our arithmetic)
Year 2 distribution of $70,000 instead of $40,000Line 6 exceeds line 5; the note under line 6 sends the excess to Form 8949 and Schedule D, and line 7 is zeroGain of $10,000 ($70,000 less $60,000); no debt basis restoration because $60,000 less $70,000 is negative; debt basis stays $20,000 and a note repayment at face would then be 60% gain
No shareholder loan in year 1Line 11 is $100,000; $30,000 is suspended in column (e)In year 2 only $20,000 of stock basis is available, so $20,000 of the carryover is allowed and $10,000 is still suspended at the end of year 2
Same facts, but the $50,000 is a bank loan the shareholder guaranteedNothing goes on Part II unless the shareholder pays on the guaranteeSame as the no-loan row: $30,000 suspended in year 1

In the first row the shareholder’s repayment ratio becomes $20,000 divided by $50,000, or 0.40, so a repayment of $50,000 at face returns $20,000 of basis and leaves $30,000 of gain (our arithmetic). That is the practical cost of a distribution above stock basis: it is taxed as gain, and it also removes the income that would otherwise have restored loan basis, so a later repayment of the note produces more gain.

What a reader can do with this

What the documents let you check before you talk to anyone:

  • Find last year’s line 15 and line 31. Line 1 is supposed to equal the prior year’s ending stock basis, and Part II line 21 should equal the prior year’s line 31. A preparer who has never filed Form 7203 for you has no starting number; the instructions say you are responsible for keeping the information needed to figure basis.
  • Separate your loans from the company’s borrowing. Pull the note, its date and its terms for each loan you made, and the bank loan agreement for any debt you only guaranteed. Under 26 CFR 1.1366-2(a)(2)(ii) the second kind adds basis only to the extent you pay.
  • Check Schedule K-1 boxes 13 (code H) and 16 (codes C and D) and any Form 1099-DIV against the lines they feed: box 16 code D is line 6, code C is line 8a, code H in box 13 is Part III line 45, and Form 1099-DIV dividends are not entered on line 6.
  • List what is suspended. Part III column (e) of the prior year is column (b) this year. The loss keeps its character and carries forward with no end date under 26 U.S.C. 1366(d)(2)(A) and the instructions.
  • Before a sale, compute basis at the closing date. Under 26 CFR 1.1367-1(d)(1) the year’s adjustments are effective immediately before the disposition, and the instructions call for two forms for a partial sale.

The decision, and who makes it. Whether to take a distribution, lend or contribute, repay a note before a sale, or make the election under 26 CFR 1.1367-1(g) is decided by the shareholders, usually with the company’s CPA or tax counsel, who prepare Form 7203 from the Schedules K-1. What people in this position typically weigh with their advisers is the amount of basis they have in stock versus loans, how a distribution or a note repayment compares to those numbers, and how any suspended loss fits with a sale. The paperwork above is where that conversation starts. Nothing here is a recommendation.

This is analysis of public documents, not investment, legal or tax advice.

FAQ

Sources, read and saved on December 5, 2026: IRS About Form 7203 page and the notice on Schedule K-1 box 13 code H (irs.gov); Form 7203 (Rev. 12-2022) and Instructions for Form 7203 (Rev. December 2022), irs.gov/pub/irs-pdf/f7203.pdf and i7203.pdf; 26 U.S.C. 1001, 1366, 1367 and 1368; 26 CFR 1.1366-2, 1.1367-1 and 1.1367-2 (Legal Information Institute text of the Code and the Code of Federal Regulations). The three-year example uses our own assumptions and arithmetic and is not drawn from any company’s return.

Affiliate Disclosure: Some links are affiliate links. We may earn a commission at no extra cost to you. This does not affect our ratings. Learn more.