Liquidations and allocation after a stock sale

Liquidations and allocation after a stock sale

Published September 28, 2026

Liquidations and allocation after a stock sale

On this page

Liquidation gain and post-sale allocation

An S corporation distributes $250,000 cash and land worth $100,000, with corporate basis of $60,000, to a shareholder whose stock basis is $220,000; a separate S corporation allocation has $146,000 of annual income, 100 shares, and ownership periods of 181 and 184 days. Most people call the liquidation gain $130,000 by subtracting $220,000 from the $350,000 received. That is wrong because the corporation's $40,000 land gain passes through first and raises stock basis to $260,000, while the $146,000 item is allocated by ownership periods unless a valid closing-of-books election applies; Stock basis from contributions and distributions, Debt basis and reviewing basis schedules, and Entity effects of contributions and distributions supply the opening basis, debt-basis review, and entity-level distribution rules.

The opening stock basis comes from earlier basis schedules. The new work recognizes the corporation's liquidation gain before measuring the shareholder's final stock transaction. The schedule puts those calculations in order and then adds the separate timing schedule for income after a sale.

Two levels of liquidation tax

A complete liquidation has two levels. First, compute the S corporation's gain or loss on distributed property using FMV less corporate adjusted basis. Pass that item through to the shareholder and adjust stock basis before applying the shareholder liquidation formula. Do not subtract the liquidation distribution from stock basis as if it were a nonliquidating distribution. The distribution is the amount realized under §331.

The first table shows the liquidation calculation from property value through shareholder gain or loss.

LineHow it is foundWhy
FMV of property distributedUse the property's FMV on the distribution dateSets the property amount used by the corporation and shareholder
Less: adjusted basis of propertyUse the corporation's tax basisMeasures the corporation's realized gain or loss
Entity-level gain or lossFMV less corporate adjusted basisThe corporation recognizes this result under §336
Beginning stock basisUse the shareholder's basis immediately before the liquidationStarts the shareholder basis calculation
Plus: pass-through gain or lossAdd the entity item allocated to the shareholderChanges stock basis under §§1366 and 1367
Stock basis immediately before liquidationBeginning stock basis plus or minus the pass-through itemThis is the basis used under §331
Cash receivedUse cash distributed in the liquidationCash is part of the shareholder's amount realized
FMV of property receivedUse FMV, not the corporation's old basisProperty is part of the shareholder's amount realized
Liquidation amount realizedCash plus FMV of propertyMeasures what the shareholder received
Less: stock basisSubtract adjusted stock basis immediately before liquidationProduces shareholder gain or loss
Shareholder liquidation gain or lossAmount realized less stock basisApplies §331 to the shareholder's stock
Basis of property receivedUse FMV under §334(a)Sets the shareholder's basis in received property

Notice that the entity item changes stock basis before the liquidation proceeds are compared with that basis.

Stock basis from contributions and distributions supplies the basis starting point. Debt basis and reviewing basis schedules supplies the debt-basis review. Entity effects of contributions and distributions supplies the entity property result.

The second table allocates annual income after a stock sale. The default method uses ownership percentage and days held, unless a valid closing-of-books election applies when a shareholder terminates the entire interest.

LineHow it is foundWhy
Annual S corporation income itemUse the full-year itemThis is the amount to allocate
Ownership percentage during the periodShares held divided by shares outstandingTracks the portion of the company owned
Days held during the tax yearCount the days the shareholder held the interestTracks the time of ownership
Default allocationAnnual item multiplied by ownership percentage and days held divided by tax-year daysApplies the daily allocation rule
Other owner's allocationAllocate the remaining ownership-period amountMakes the allocations add to the annual item
Closing-of-books alternativeUse actual items in each deemed period only after a valid §1377(a)(2) electionReplaces daily proration when the election is available and made

🔑 RULE: Under IRC §331, gain or loss in a complete liquidation equals money plus the FMV of property received less adjusted stock basis. Under IRC §336(a), the corporation recognizes gain or loss on distributed property as if it sold the property at FMV; the item passes through under §1366 and adjusts stock basis under §1367 before the shareholder applies §331. Under IRC §1377(a)(1), S corporation items generally are allocated by ownership and days held. When a shareholder terminates the entire interest, IRC §1377(a)(2) and Treas. Reg. §1.1377-1 permit a closing-of-books election subject to the required consent and election rules.

The entity gain must come before the shareholder's final basis because the pass-through changes the amount being compared with the liquidation proceeds. Income after a sale follows a separate ownership-and-time schedule.

Cash, land and stock basis

Assume the distribution is a complete liquidation. The S corporation has no other items and no liabilities. The land is an investment asset with FMV of $100,000 and corporate adjusted basis of $60,000. The shareholder's stock is a capital asset with basis of $220,000.

The corporation recognizes a $40,000 gain. That gain passes through and increases stock basis to $260,000. The shareholder receives $250,000 cash and land worth $100,000. The shareholder's basis in the land is $100,000 under §334(a).

For the separate allocation example, assume $146,000 of ordinary business income, a 365-day year, 100 shares, seller ownership of all 100 shares for 181 days, buyer ownership of all 100 shares for 184 days, and no closing-of-books election. The daily amount is $400.

LineHow it is foundWhy
FMV of land distributed$100,000Use land FMV
Less: corporate adjusted basis of land$60,000Use the corporation's tax basis
Entity-level gain$40,000$100,000 - $60,000; this passes through
Beginning stock basis$220,000Fact before liquidation
Plus: pass-through gain$40,000Increases stock basis
Stock basis immediately before liquidation$260,000$220,000 + $40,000
Cash received$250,000Fact in the liquidation
FMV of land received$100,000Property amount realized uses FMV
Liquidation amount realized$350,000$250,000 + $100,000
Less: stock basis$260,000Adjusted basis immediately before liquidation
Shareholder liquidation gain$90,000$350,000 - $260,000
Basis of land received$100,000FMV under §334(a)
Check$350,000 - $260,000 = $90,000The proceeds and adjusted basis tie to the gain

The liquidation check ties the $350,000 proceeds and $260,000 adjusted basis to the $90,000 gain.

The income allocation schedule applies the daily amount to each owner's days held.

LineSellerBuyer
Annual ordinary business income$146,000$146,000
Ownership percentage during period100%100%
Days held181 days184 days
Daily amount$400$400
Allocated income$72,400$73,600
Check$72,400 + $73,600 = $146,000The two allocations equal the annual income

The allocation check confirms that the seller's $72,400 and buyer's $73,600 use the full $146,000 income item.

Changing the liquidation cash

Keep every worked-example fact unchanged except cash received. Change $250,000 of cash to $290,000. The land still has FMV of $100,000 and corporate basis of $60,000. Beginning stock basis is still $220,000. The $40,000 entity gain still raises stock basis to $260,000.

Only the cash proceeds change. The land gain and basis increase remain unchanged.

LineHow it is foundWhy
FMV of land distributed$100,000Land fact is unchanged
Less: corporate adjusted basis of land$60,000Corporate basis is unchanged
Entity-level gain$40,000$100,000 - $60,000
Beginning stock basis$220,000Opening basis is unchanged
Plus: pass-through gain$40,000Raises stock basis
Stock basis immediately before liquidation?Final basis line
Cash received$290,000The one changed fact
FMV of land received$100,000Property amount realized uses FMV
Liquidation amount realized?Cash plus land FMV
Less: stock basis?Subtract adjusted stock basis
Shareholder liquidation gain?Amount realized less stock basis
Basis of land received$100,000FMV under §334(a)

Practice

After the $40,000 pass-through gain, stock basis immediately before liquidation is _____.

With $290,000 cash and $100,000 FMV of land received, the total liquidation amount realized is _____.

The shareholder's liquidation gain is _____.

Changing cash changes only the amount realized and the final shareholder gain. It does not change the land gain or the basis increase.

Liquidation and allocation questions

Each question turns on one line of the schedule: entity gain or loss, basis adjustment, liquidation amount, property basis, or ownership-period allocation.

The first question separates the corporation's pass-through result from the shareholder's liquidation result. The second adds a recognized entity loss. The third tests a partial sale. The fourth tests property basis in a complete liquidation.

Practice

An S corporation distributes $250,000 cash and investment land with FMV of $100,000 and adjusted basis of $60,000 in complete liquidation. The shareholder's stock basis before the distribution is $220,000. Assume no liabilities and that the stock and land are capital assets. What gain does the shareholder recognize on the liquidation?

An S corporation distributes investment land with FMV of $110,000 and adjusted basis of $140,000 in complete liquidation. The land is distributed to an unrelated shareholder, and no liability is attached. What gain or loss does the corporation recognize?

An S corporation has $146,000 of ordinary business income for a 365-day year and 100 outstanding shares. A shareholder owns all 100 shares for 181 days, sells 40 shares, and keeps 60 shares for the remaining 184 days. The buyer owns the 40 shares for 184 days. No closing-of-books election is made. How much income is allocated to the buyer?

In a complete liquidation, an S corporation distributes land with FMV of $100,000 and corporate adjusted basis of $60,000. The shareholder's stock basis is $220,000, and the shareholder receives $250,000 cash. What is the shareholder's basis in the land received?

Closing books changes income allocation

Was: The worked facts were $146,000 of annual income, 100 shares, seller ownership of all shares for 181 days, buyer ownership of all shares for 184 days, and no closing-of-books election; daily allocation produced $72,400 for the seller and $73,600 for the buyer.

Now: A valid IRC §1377(a)(2) closing-of-books election is made, and the actual income is $90,000 in the first deemed period and $56,000 in the second. Which schedule lines move, and which way?

Answer: The $146,000 annual total stays the same, but the daily-proration lines no longer determine the allocation. The seller receives $90,000 and the buyer receives $56,000, while the liquidation lines do not move.

Daily allocation is the default, not the only permitted method after a shareholder terminates the entire interest. A valid election replaces the time-based split with actual results for the two deemed periods, while unrelated liquidation facts remain unchanged.

Liquidation and ownership-period rules

  1. Compare distributed property FMV with corporate adjusted basis to find the entity gain or loss.
  2. Pass that item through and adjust the shareholder's stock basis.
  3. Add cash and property FMV to find the liquidation amount realized.
  4. Subtract adjusted stock basis under §331 to find shareholder liquidation gain or loss.
  5. Set the shareholder's basis in liquidating property at FMV under §334(a).
  6. After a stock sale, allocate each item by ownership percentage and days held unless a valid closing-of-books election applies.

Check the liquidation proceeds minus adjusted stock basis against shareholder gain or loss, and check that all post-sale allocations equal the annual S corporation item.

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: Liquidations and allocation after a stock sale

  1. 1. During 2025, a revocable trust earns $36,000 of taxable interest and distributes $12,000 to the grantor's adult child. The grantor is living and retains the unrestricted power to revoke the trust and recover its assets. Which taxpayer must include the trust's $36,000 of interest in gross income?

    • A. The trust includes $36,000
    • B. The trust includes $24,000, and the child includes $12,000
    • C. The grantor includes $24,000, and the child includes $12,000
    • D. The grantor includes $36,000
    Show answer

    Answer: D. The grantor includes $36,000

    > Key point: When the grantor retains unrestricted power to revoke the trust and recover its assets, the grantor includes all its interest income. Why the grantor includes $36,000 is correct - The grantor’s retained power makes the grantor the owner for income tax purposes. - The grantor includes the full $36,000 of interest; distributing $12,000 to the child does not shift the income. Decision path mermaid flowchart TD A[" Unrestricted revocation power Grantor can recover assets "]:::input --> B[" Grantor is tax owner "]:::rule B --> C[" Grantor reports all interest Distribution does not shift income "]:::outcome Why the other options are wrong - The trust includes $36,000: This overlooks the grantor’s retained power, which makes the grantor the tax owner. - The trust includes $24,000, and the child includes $12,000: This incorrectly treats the trust as the taxable owner and assigns the distribution to the child. - The grantor includes $24,000, and the child includes $12,000: The distribution does not reduce the grantor’s inclusion or shift interest income to the child.

  2. 2. At the beginning of 2025, an S corporation shareholder has zero stock basis and a $10,000 adjusted basis in a bona fide $40,000 note issued for money loaned directly to the corporation. The basis reduction resulted from prior-year losses. The corporation has no 2025 income, loss, or distributions and repays the entire note. What gain does the shareholder recognize?

    • A. $0
    • B. $10,000
    • C. $40,000
    • D. $30,000
    Show answer

    Answer: D. $30,000

    > Key point: Gain on repayment equals the amount received minus the note’s adjusted debt basis. Why $30,000 is correct - The corporation repays $40,000, but the note’s adjusted basis is $10,000. - $40,000 − $10,000 = $30,000 gain. Working | Step | Working | Result | |---|---|---| | Repayment less adjusted debt basis | $40,000 − $10,000 | $30,000 gain | Answer: $30,000 Why the other options are wrong - $0: Uses the $40,000 face amount as basis, ignoring the prior loss reduction; that gives $40,000 − $40,000. - $10,000: Mistakes the remaining basis for the gain; subtracting it from repayment gives $30,000. - $40,000: Treats zero stock basis as zero debt basis, overlooking the note’s separate $10,000 adjusted basis; that gives $30,000 gain.

  3. 3. A CPA is reviewing the 2025 federal income tax workpapers for Summit Corp., a calendar-year C corporation formed on January 2, 2025. Alex and Blair transferred property at the formation closing, and Casey received stock for legal services at the same closing. The CPA must determine whether the property exchanges qualify for nonrecognition, correct shareholder and corporate basis schedules, and evaluate a later patent transfer.

    • 4. In 2025, Dana transfers property with a $40,000 adjusted basis and a $100,000 fair market value to New Corp. Dana also performs organizational services worth $25,000. Lee transfers $75,000 of cash. Dana and Lee receive all New Corp. stock in proportion to the value each contributes, and together they control New Corp. immediately afterward. What income must Dana recognize?

      • A. No gain or ordinary income
      • B. $25,000 of ordinary income and no property gain
      • C. $60,000 of capital gain and no ordinary income
      • D. $85,000 of capital gain and ordinary income
      Show answer

      Answer: B. $25,000 of ordinary income and no property gain

      > Key point: A qualifying controlled-corporation property transfer defers gain, but compensation for services is recognized as ordinary income. Why $25,000 of ordinary income and no property gain is correct - Dana and Lee control New Corp. immediately after the transfers, so Dana does not recognize the property’s $60,000 built-in gain ($100,000 fair market value − $40,000 basis). - Services are not property for this transfer rule. Dana recognizes the $25,000 value of the organizational services as ordinary income. Decision path mermaid flowchart TD A[" Dana contributes Property and services "]:::input --> B[" What is contributed? "]:::decision B -->|Property| C[" Property: defer "]:::risk B -->|Services| D[" Services: taxable "]:::outcome Why the other options are wrong - No gain or ordinary income: It ignores the $25,000 of ordinary income for services. - $60,000 of capital gain and no ordinary income: The property gain is deferred, and this choice omits the service income. - $85,000 of capital gain and ordinary income: It incorrectly recognizes the deferred $60,000 property gain and misclassifies the service value as capital gain.

    • 5. In 2025, an individual transfers land with a $70,000 adjusted basis and a $200,000 fair market value to New Corp. solely for all of New Corp.'s stock. New Corp. assumes a $100,000 mortgage on the land. The assumption has a bona fide business purpose and is not tax avoidance. What are the individual's recognized gain and stock basis?

      • A. Recognized gain of $0 and stock basis of $0
      • B. Recognized gain of $30,000 and stock basis of $0
      • C. Recognized gain of $30,000 and stock basis of $70,000
      • D. Recognized gain of $130,000 and stock basis of $0
      Show answer

      Answer: B. Recognized gain of $30,000 and stock basis of $0

      > Key point: When assumed liabilities exceed transferred basis, the excess is recognized gain; stock basis also reflects the full liability and recognized gain. Why $30,000 gain and $0 stock basis are correct - The mortgage exceeds the land’s adjusted basis by $30,000, which is recognized gain. - Stock basis is the land’s basis, less the mortgage, plus recognized gain. Working | Step | Working | Result | |---|---|---| | Recognized gain | $100,000 mortgage − $70,000 basis | $30,000 | | Stock basis | $70,000 basis − $100,000 mortgage + $30,000 gain | $0 | Answer: $30,000 recognized gain and $0 stock basis. Why the other options are wrong - $0 gain and $0 basis: Omits the $30,000 excess liability gain; the basis calculation would be negative $30,000, not $0. - $30,000 gain and $70,000 basis: Uses the correct gain but fails to subtract the full $100,000 mortgage; the stock basis is $0. - $130,000 gain and $0 basis: $130,000 is the realized gain ($200,000 − $70,000), not the recognized gain. Recognizing it would give a $100,000 stock basis.

    • 6. A CPA is preparing the 2025 federal tax workpapers for AC Partners, a calendar-year partnership. On July 1, 2025, Brooke purchased Alex's entire 50% partnership interest. The partnership has no liabilities. AC Partners made a valid election to adjust the basis of partnership property for transfers of partnership interests. The CPA must determine Brooke's special basis adjustments, distributive share, and ending outside basis by cross-referencing the transaction documents and tax schedules.

      Flashcards: Liquidations and allocation after a stock sale

      1. 1. How is an S corporation shareholder’s ending stock basis generally computed?

        Show answer

        Beginning stock basis + capital contributions + allocated income items, including tax-exempt income − nondividend distributions, limited to stock basis − nondeductible expenses − allocated losses and deductions = ending stock basis. Stock basis cannot be negative. Losses and deductions exceeding stock basis may be allowed against separate debt basis; any remaining excess is suspended.

      2. 2. For an S corporation subject to the built-in gains tax, what is the basic computation?

        Show answer

        The basic computation is net recognized built-in gain × 21%. The tax is subject to statutory limitations, including the taxable-income limitation and carryforward rules. It is not based simply on the total difference between the fair value and adjusted basis of all assets at the S election date.

      3. 3. How may an S corporation election terminate, and what rule applies to voluntary revocation?

        Show answer

        An S election may terminate through voluntary revocation, loss of eligibility, or other statutory termination events. Voluntary revocation requires consent from shareholders owning more than 50% of the outstanding shares. Generally, a new S election is barred for five taxable years after termination unless the IRS consents; the effective date depends on the termination method and any specified revocation date.

      4. 4. Which items are excluded from an S corporation’s ordinary income calculation?

        Show answer

        - Foreign taxes paid - Investment interest expense - Section 179 deduction - Section 1231 gains or losses - Charitable contributions - Portfolio income, such as dividends and interest

      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