Shareholder stock and debt basis

Shareholder stock and debt basis

Published September 28, 2026

Shareholder stock and debt basis

On this page

Separate stock and debt basis

Alex begins with stock basis of $100,000, contributes $20,000 cash, receives $60,000 of ordinary business income, and receives a $30,000 cash distribution. Alex also has a direct loan with adjusted debt basis of $40,000, and the corporation repays $10,000 of principal. A common first answer is $140,000 of stock basis and $40,000 of debt basis. That answer is wrong because the $10,000 repayment reduces debt basis, not stock basis, so it does not belong on the stock schedule; assume no accumulated C corporation earnings and profits, making the distribution nondividend under IRC section 1368(b).

Stock ownership and a direct shareholder loan are separate basis accounts. Keeping them separate makes the stock schedule and debt-repayment result clear.

Stock basis and debt schedules

The schedule starts with prior-year stock basis. It adds contributions and income, then subtracts distributions, nondeductible expenses, and allowed losses. A separate debt schedule handles direct loans, losses remaining after stock basis reaches zero, and principal repayments.

S corporation eligibility and election supplies the shareholder and status facts behind the opening account. Computing S corporation ordinary income supplies the operating income and loss amounts. The accumulated adjustments account helps classify a distribution, but it is not stock basis. All examples assume a nondividend distribution.

LineHow it is foundWhy
Stock basis: beginning balancePrior-year ending stock basisStarts the shareholder's stock account
Add: cash contributionsCash paid into the S corporation as capitalA contribution increases stock basis
Add: income from operationsAllocated ordinary and separately stated income itemsIncome increases stock basis
Subtract: cash distributionsReduce stock basis up to available basisA nondividend distribution returns basis
Subtract: nondeductible expensesAllocated nondeductible expensesThey reduce basis without a tax deduction
Subtract: allowed losses and deductionsReduce stock basis until it reaches zeroLosses are deductible only to available basis
Stock basis: ending balanceBeginning basis plus increases minus reductionsStock basis cannot be negative
Debt basis: beginning balanceAdjusted basis of direct debt owed by the S corporationA guarantee alone does not create debt basis
Add: direct loan advancesNew principal directly lent to the S corporationA direct loan creates debt basis
Subtract: losses after stock basis is zeroLosses remaining after stock basis is exhaustedThey reduce debt basis, then any remainder is suspended
Subtract: principal repayment up to debt basisPrincipal repaid, limited to adjusted debt basisRepayment returns debt basis
Debt basis: ending balanceAdjusted debt basis after reductions and repaymentDebt basis cannot be negative
Gain on repayment above debt basisRepayment minus adjusted debt basis, if positiveThe excess is gain, not negative debt basis

🔑 RULE: Under IRC sections 1366(d) and 1367, losses and deductions are allowed only up to the shareholder's stock basis plus direct debt basis, with stock basis used first. Stock basis increases by income items and contributions and decreases by distributions, nondeductible expenses, and losses. Under IRC section 1368(b), a nondividend distribution above adjusted stock basis is gain from the sale or exchange of property. A debt repayment is tax-free only up to adjusted debt basis. Any excess is gain.

The income and contribution lines increase stock basis before the reduction lines. When stock basis reaches zero, debt basis limits additional losses and determines repayment gain.

Computing Alex's stock and debt basis

The figures below apply the schedule to Alex's facts. The $60,000 operating amount comes from the allocated result developed in Computing S corporation ordinary income. The debt repayment stays outside the stock schedule.

LineAmountHow it is foundWhy
Stock basis: beginning balance$100,000Opening factStarting stock basis
Add: cash contribution$20,000Opening cash contribution factIncreases stock basis
Add: ordinary business income$60,000Allocated operating income factIncreases stock basis
Stock basis before reductions$180,000$100,000 + $20,000 + $60,000Basis available for distribution
Subtract: cash distribution$30,000Cash distribution factReduces stock basis
Subtract: nondeductible expenses$0No nondeductible expense statedNo reduction
Subtract: allowed losses and deductions$0No loss or deduction statedNo reduction
Stock basis: ending balance$150,000$180,000 - $30,000Ending stock basis
Debt basis: beginning balance$40,000Adjusted direct-loan basis factStarting debt basis
Add: direct loan advances$0No new loan advance statedNo increase
Subtract: losses after stock basis is zero$0No loss statedNo debt-basis reduction
Debt basis before repayment$40,000$40,000 + $0 - $0Basis available for repayment
Subtract: principal repayment$10,000Repayment factReduces debt basis
Debt basis: ending balance$30,000$40,000 - $10,000Ending debt basis
Gain on repayment above debt basis$0Repayment is below debt basisNo repayment gain
Check$150,000 stock; $30,000 debt$100,000 + $20,000 + $60,000 - $30,000 = $150,000; $40,000 - $10,000 = $30,000Both schedules tie

The stock account reaches $180,000 before the distribution, while the loan repayment changes only the debt account.

A larger cash distribution

The same schedule applies, but the cash distribution is $80,000 instead of $30,000. The larger distribution remains below the $180,000 stock basis available before distributions.

LineAmountHow it is foundWhy
Stock basis: beginning balance$100,000Same opening factStarting stock basis
Add: cash contribution$20,000Same contribution factIncreases stock basis
Add: ordinary business income$60,000Same operating income factIncreases stock basis
Stock basis before reductions$180,000$100,000 + $20,000 + $60,000Basis available for distribution
Subtract: cash distribution$80,000Changed factReduces stock basis
Subtract: nondeductible expenses$0No expense statedNo reduction
Subtract: allowed losses and deductions$0No loss statedNo reduction
Stock basis: ending balance?Final lineStudent supplies the amount
Debt basis: beginning balance$40,000Same direct-loan basisStarting debt basis
Subtract: principal repayment$10,000Same repayment factReduces debt basis
Debt basis: ending balance?Final lineStudent supplies the amount
Gain on repayment above debt basis?Final lineStudent supplies the amount

The changed distribution moves only the stock-distribution line and ending stock basis. The debt repayment remains separate.

Practice

Ending stock basis is _____.

Ending debt basis is _____.

Gain on the $10,000 debt repayment is _____.

Stock distributions, losses and debt repayments

These questions turn on the stock-income and contribution lines, the cash-distribution line, the loss-limit lines, and the debt-repayment line. Reviewing Form 1120S helps confirm the classifications before the basis schedule is prepared.

Practice

A shareholder begins the year with $50,000 of stock basis. The shareholder contributes $10,000 cash, is allocated $25,000 of ordinary business income, and receives a $20,000 nondividend cash distribution. What is the ending stock basis?

A shareholder has $30,000 of beginning stock basis and receives $10,000 of current-year ordinary business income. The S corporation then makes a $50,000 nondividend cash distribution. What gain must the shareholder recognize, and what is the ending stock basis?

A shareholder has $20,000 of stock basis and $15,000 of direct debt basis before receiving a $50,000 ordinary business loss. There are no contributions or distributions. How much of the loss is suspended?

Immediately before repayment, a shareholder's adjusted basis in direct S corporation debt is $25,000. The corporation repays $32,000 of principal. There are no other basis adjustments. What are the repayment gain and ending debt basis?

A larger principal repayment

Was: Alex began with $100,000 stock basis, contributed $20,000 cash, received $60,000 ordinary business income, received a $30,000 cash distribution, had $40,000 adjusted direct debt basis, and the corporation repaid $10,000 principal.

Now: The corporation repays $40,000 of that direct-loan principal instead of $10,000. Which schedule lines move, and which way?

Answer: The stock-basis lines do not move, so ending stock basis remains $150,000. The repayment rises to $40,000, ending debt basis falls from $30,000 to $0, and repayment gain remains $0 because repayment does not exceed $40,000 debt basis.

Changing the repayment affects the debt schedule only. The distribution changed stock basis, while losses would reduce debt basis only after stock basis reached zero.

Stock and debt basis rules

  • Begin with prior-year ending stock basis.
  • Add cash contributions.
  • Add allocated operating and separately stated income.
  • Subtract nondividend cash distributions up to stock basis.
  • Subtract nondeductible expenses.
  • Subtract allowed losses and deductions from stock basis.
  • Move remaining losses to direct debt basis.
  • Add direct loan advances to debt basis when made.
  • Subtract principal repayments from adjusted debt basis.
  • Recognize gain only for repayment above adjusted debt basis.
  • Suspend losses beyond stock basis plus debt basis.

Check each account separately. Stock basis equals beginning stock basis plus increases minus stock reductions. Debt basis equals beginning debt basis plus direct advances minus loss reductions and repayments.

The accumulated adjustments account helps determine the tax character of a distribution. Reviewing Form 1120S supplies the classified amounts used in the schedule.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Shareholder stock and debt basis

  1. 1. For 2025, a calendar-year C corporation has taxable income of $300,000 computed before its charitable contribution deduction, dividends-received deduction, and any net operating loss or capital loss carrybacks. The corporation contributed $45,000 cash to qualifying public charities. Assuming no charitable contribution carryovers, what deduction and carryforward should the corporation report?

    • A. A $0 deduction and a $45,000 five-year carryforward
    • B. A $30,000 deduction and a $15,000 one-year carryforward
    • C. A $30,000 deduction and a $15,000 five-year carryforward
    • D. A $45,000 deduction and no carryforward
    Show answer

    Answer: C. A $30,000 deduction and a $15,000 five-year carryforward

    > Key point: A corporation may deduct qualifying charitable contributions up to 10% of the specified taxable-income base, with the excess carried forward five years. Why a $30,000 deduction and a $15,000 five-year carryforward is correct - Deduction limit: $300,000 × 10% = $30,000. - Excess contribution: $45,000 − $30,000 = $15,000, carried forward for five years. Working | Step | Working | Result | |---|---|---| | Current-year limit | $300,000 × 10% | $30,000 | | Excess contribution | $45,000 − $30,000 | $15,000 | Answer: $30,000 deduction and $15,000 five-year carryforward. Why the other options are wrong - A $0 deduction and a $45,000 five-year carryforward: The corporation can deduct $30,000 in 2025. - A $30,000 deduction and a $15,000 one-year carryforward: The excess carries forward five years, not one. - A $45,000 deduction and no carryforward: This exceeds the $30,000 limit; the remaining $15,000 carries forward.

  2. 2. For 2025, Pine Corp., a C corporation, has taxable income of $45,000 before the dividends-received deduction. This amount includes an $80,000 dividend from a domestic corporation in which Pine owns 25% of the stock. Pine has no net operating loss carryforward. What dividends-received deduction may Pine claim?

    • A. $29,250
    • B. $40,000
    • C. $45,000
    • D. $52,000
    Show answer

    Answer: D. $52,000

    > Key point: A 65% dividends-received deduction is allowed in full when it creates a net operating loss. Why $52,000 is correct - Pine’s 25% ownership gives it a 65% deduction on the $80,000 dividend: $80,000 × 65% = $52,000. - That deduction exceeds the $45,000 taxable income before the deduction, creating a $7,000 net operating loss, so the taxable-income limit does not restrict it. Decision path mermaid flowchart TD A[" $80,000 dividend Pine owns 25% "]:::input --> B[" Ownership rate? "]:::decision B -->|25%| C[" Use 65% "]:::rule C --> D[" Deduction is $52,000 "]:::step D --> E[" Does it create an NOL? "]:::decision E -->|Yes| F[" Allow full deduction "]:::outcome E -->|No| G[" Apply income limit "]:::risk Why the other options are wrong - $29,250: This applies the 65% rate to taxable income, but misses the exception because the full deduction creates an NOL. - $40,000: This uses the 50% rate for ownership below 20%; Pine owns 25%. - $45,000: This caps the deduction at taxable income, overlooking the NOL exception.

  3. 3. A Sec. 501(c)(3) charitable organization operates a gift shop that regularly sells merchandise unrelated to its exempt purpose to the general public, generating net profit each year. Which federal tax conclusion is correct?

    • A. The activity is permissible because the net profit is small relative to total revenue
    • B. The activity is lobbying governed only by the substantial-part test
    • C. The activity generates unrelated business taxable income subject to tax even though exemption is retained
    • D. The activity is prohibited campaign intervention that may trigger excise tax and jeopardize exemption
    Show answer

    Answer: C. The activity generates unrelated business taxable income subject to tax even though exemption is retained

    > Key point: Regular sales of merchandise unrelated to an exempt purpose can produce taxable unrelated business income without automatically ending the organization’s exemption. Why unrelated business taxable income is correct - The gift shop regularly sells merchandise unrelated to the organization’s exempt purpose to the general public, and it generates net profit. - The resulting unrelated business income is subject to tax even though the organization retains its exemption. Why the other options are wrong - The activity is permissible because the net profit is small relative to total revenue: The relative size of the profit does not by itself exempt the income from tax. - The activity is lobbying governed only by the substantial-part test: Selling merchandise is not an attempt to influence legislation. - The activity is prohibited campaign intervention that may trigger excise tax and jeopardize exemption: The facts describe no participation in a political campaign.

  4. 4. You are preparing the federal tax workpapers for Atlas Corp., a calendar-year C corporation that adopted a plan of complete liquidation on January 6, 2025. Use the transaction documents, supplied tax criteria, and draft workpaper to determine the federal income tax consequences of the liquidating distributions. All transactions described in the exhibits occurred as part of one integrated plan.

    • 5. For 2025, an accrual-basis calendar-year C corporation reported pretax book income of $300,000 after deducting an $80,000 bonus accrued to its 60% shareholder. The shareholder uses the cash method and received the bonus on March 15, 2026. There are no other book-tax differences. What is the corporation's 2025 taxable income before any net operating loss deduction?

      • A. $220,000
      • B. $300,000
      • C. $380,000
      • D. $460,000
      Show answer

      Answer: C. $380,000

      > Key point: A related-party bonus accrued but not received by a cash-method shareholder is added back until the shareholder includes it in income. Why $380,000 is correct - The shareholder owns 60% and receives the bonus in 2026, so the corporation cannot deduct it for 2025 under the related-party rule. - Pretax book income already includes the $80,000 deduction; add it back once: $300,000 + $80,000 = $380,000. Decision path mermaid flowchart TD A[" 60% shareholder Cash method "]:::input --> B[" Bonus received in 2026 "]:::input B --> C[" Defer deduction Until shareholder includes income "]:::rule C --> D[" Add back once 2025 income is $380,000 "]:::outcome Why the other options are wrong - $220,000: Subtracts the bonus again even though book income already reflects the deduction. - $300,000: Leaves the 2025 book deduction in taxable income despite the related-party timing rule. - $460,000: Adds back the bonus twice; only one addback is needed.

    • 6. Before a stock redemption, an individual owns 60 of a C corporation's 100 outstanding voting shares. The corporation redeems 35 of the individual's shares, leaving 65 shares outstanding. The individual has no constructive ownership from related parties or entities. How should the redemption be treated for federal income tax purposes?

      • A. As a distribution because the shareholder retains more than 20% ownership
      • B. As an exchange only if the shareholder terminates the entire ownership interest
      • C. As an exchange because the shareholder's ownership reduction satisfies the applicable tests
      • D. As a distribution because the shareholder retains at least 80% of the prior ownership percentage
      Show answer

      Answer: C. As an exchange because the shareholder's ownership reduction satisfies the applicable tests

      > Key point: A redemption qualifies as an exchange when the shareholder’s remaining interest is below both applicable ownership thresholds. Why exchange treatment is correct - The shareholder retains 25 of 65 shares, or about 38.46%. - That is below 50% and below 80% of the prior 60% interest (48%), satisfying the applicable tests. Decision path mermaid flowchart TD A[" Redemption 25 of 60 shares redeemed "]:::input --> B[" Compare remaining interest "]:::step B --> C[" Below both thresholds? "]:::decision C -->|Yes| D[" Exchange "]:::outcome C -->|No| E[" Distribution "]:::risk Why the other options are wrong - Distribution because ownership exceeds 20%: The test does not require ownership to fall below 20%; 38.46% is below both relevant thresholds. - Exchange only if the entire interest is terminated: Complete termination is not required when the substantially disproportionate tests are met. - Distribution because at least 80% of prior ownership remains: 80% of 60% is 48%; the remaining 38.46% is less than that.

    • 7. A CPA is preparing the 2025 federal tax reporting for Maya Chen's sale of her entire 40% interest in Riverbend Partnership. Maya held the interest for more than five years. The sale closed on December 31, 2025, after Riverbend completed all current-year allocations and distributions. The CPA must determine Maya's amount realized, adjusted outside basis, total gain, and the portion treated as ordinary income because of Riverbend's unrealized receivables and inventory.

      • 8. A domestic corporation has a valid S election in effect. Which of the following would cause the S election to terminate?

        • A. The number of shareholders increases to 90
        • B. A qualified subchapter S trust (QSST) becomes a shareholder
        • C. A voting trust becomes a shareholder
        • D. The corporation issues a second class of stock that differs in voting rights but not in distribution or liquidation rights
        Show answer

        Answer: A. The number of shareholders increases to 90

        > Key point: An S election terminates if the corporation exceeds the permitted shareholder limit; reaching 90 does not exceed it. Why 90 shareholders is correct - The shareholder limit is 100, so increasing the number to 90 stays within the limit. - A QSST and a voting trust are permitted shareholders, and voting-right differences alone do not create a second class of stock when distribution and liquidation rights are identical. How they compare | Choice | Why it does or does not terminate the election | |---|---| | 90 shareholders | Below the 100-shareholder limit | | QSST shareholder | Permitted shareholder | | Voting trust shareholder | Permitted shareholder | | Voting-only stock difference | Not a second class if distribution and liquidation rights match | Why the other options are wrong - A QSST becomes a shareholder: A QSST is an eligible S corporation shareholder. - A voting trust becomes a shareholder: A voting trust is permitted. - A second class differing only in voting rights: Voting differences alone do not create a second class when distribution and liquidation rights are identical. > Common trap: The limit is exceeded only above 100 shareholders; 90 is within the limit.

      Flashcards: Shareholder stock and debt basis

      1. 1. What are the principal eligibility requirements for a corporation to elect S corporation status?

        Show answer

        The corporation generally must be domestic, have no more than 100 shareholders, have only one class of stock, and not be an ineligible corporation. Shareholders may generally be individuals other than nonresident aliens, estates, certain trusts, and certain tax-exempt organizations. An S corporation generally uses a calendar tax year, although statutory exceptions permit other tax years.

      2. 2. Which S corporation items are separately stated rather than included in ordinary income?

        Show answer

        Separately stated Schedule K items include the deduction for foreign taxes paid, investment interest expense, the section 179 deduction, section 1231 gain or loss, charitable contributions, and portfolio income such as dividends or interest.

      3. 3. What shareholder-consent and timing rules apply when terminating an S corporation election?

        Show answer

        Voluntary revocation requires written consent from shareholders owning more than 50% of the corporation’s outstanding shares. If filed by the 15th day of the third month of the tax year, revocation generally is effective at the beginning of that year; otherwise, it generally is effective the following tax year unless a later effective date is specified. A termination caused by an eligibility failure generally is effective on the date of the disqualifying event. A new S election generally is barred for five tax years after termination unless the IRS consents.

      4. 4. How is an S corporation shareholder’s stock basis adjusted?

        Show answer

        Stock basis is generally adjusted in this order: increase for the shareholder’s share of income items, including tax-exempt income; decrease for cash and property distributions; decrease for nondeductible expenses; and decrease for separately stated and ordinary losses and deductions. Losses and deductions cannot reduce stock basis below zero; amounts limited by basis are generally suspended. Debt basis is separate and does not increase stock basis.

      5. 5. What is the main tax benefit of choosing an S-corporation structure?

        Show answer

        The primary advantage is avoiding double taxation.

      6. 6. What are key eligibility limitations for an S corporation?

        Show answer

        An S corporation generally may have no more than 100 shareholders and only one class of stock. Eligible shareholders generally include individuals who are U.S. citizens or resident aliens, estates, certain trusts, and certain tax-exempt organizations. Partnerships, corporations, and nonresident alien individuals generally may not be shareholders.

      7. 7. How is an S corporation’s built-in gains tax generally calculated?

        Show answer

        Built-in gains tax is generally the net recognized built-in gain multiplied by the 21% corporate tax rate, subject to statutory limitations. Net recognized built-in gain generally consists of recognized built-in gains less recognized built-in losses during the recognition period and cannot exceed the corporation’s net unrealized built-in gain at the S election.

      8. 8. Who may generally be an S corporation shareholder?

        Show answer

        Eligible shareholders generally include U.S. citizen or resident individuals, estates, certain trusts, and certain tax-exempt organizations. Nonresident-alien individuals, partnerships, and corporations—including C corporations—generally are ineligible.

      9. 9. How is an S corporation election made, and what is the general deadline for a calendar-year corporation seeking January 1 effectiveness?

        Show answer

        The corporation files Form 2553 with the IRS and obtains the required shareholder consents. For a calendar-year corporation seeking an election effective January 1, the form is generally due by March 15—two months and 15 days after the tax year begins. Consent is generally required from each person who was a shareholder during the relevant election period.

      Everything you need for CPA prep

      Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

      GET STARTED FOR FREE
      75% OFFLimited time offer
      GET 75% OFF