CrowdfundedWealth

S Corporation Sale 2027: 338(h)(10), 336(e) or F Reorganization

ResearchBy Jorge24 min read

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

Quick answer

When a buyer asks the owner of an S corporation for a section 338(h)(10) election, a section 336(e) election or an F reorganization, the sale is taxed as if the company had sold its assets, and in our worked example of a $10,000,000 sale that costs the owners $1,866,000 of federal income tax against $1,360,000 for a plain stock sale, an extra $506,000 (our arithmetic, 2027 rates, state tax left out). The extra tax is ordinary income on inventory and equipment recapture, taxed up to 37%, and the 25% layer on building depreciation, neither of which a stock sale carries (Rev. Proc. 2026-35, section 3.01; 26 U.S.C. 1(h)(1)(E) and 1245(a)(1)). The three tools are not interchangeable. A section 338(h)(10) election needs a corporate buyer that purchases at least 80% of the stock and a Form 8023 signed by every S corporation shareholder, including those who do not sell (Instructions for Form 8023, Rev. October 2023). A section 336(e) election is a written agreement among the company and all its shareholders, attached to the company's return (26 CFR 1.336-2(h)(3)). An F reorganization is done before closing with a new holding company and a QSub election (Rev. Rul. 2008-18). For a closing on June 30, 2027, Form 8023 is due March 15, 2028 (26 CFR 1.338(h)(10)-1(c)(3); our arithmetic). As of November 27, 2026.

Key takeaways

  • All three tools give the buyer asset treatment for tax while the paperwork says stock. A section 338(h)(10) election makes the old company “treated as making the deemed sale and liquidating” (Instructions for Form 8023), and no provision of the regulation may “produce a Federal income tax result … that would not occur if the parties had actually engaged in the transactions deemed to occur” (26 CFR 1.338(h)(10)-1(d)(9)). Our earlier page prices a plain asset sale against a plain stock sale; this page covers the three ways to get asset treatment from a stock deal, their signers and their dates.
  • In our $10,000,000 example the owners' federal tax is $1,360,000 as a plain stock sale and $1,866,000 with asset treatment, an extra $506,000, or 13.6% against 18.66% of the price (our arithmetic). The gain is $6,800,000: $2,800,000 ordinary (inventory and equipment recapture), $600,000 of unrecaptured section 1250 gain and $3,400,000 taxed at 20%. The buyer's basis in the assets rises from $3,200,000 to $10,000,000, a step-up of $6,800,000.
  • A section 338(h)(10) election is available only if a corporation buys at least 80% of the voting power and value by purchase within 12 months (Instructions for Form 8023; 26 U.S.C. 338(d)(3)). A buyer that is an individual, a partnership or an LLC taxed as a partnership cannot make it, and stock the sellers roll over in a section 351 exchange is not “acquired” by purchase (26 U.S.C. 338(h)(3)(A)(ii)), so a large rollover can break the 80% test (our reading). A transaction that is a qualified stock purchase “will not be treated as a qualified stock disposition” under section 336(e) (26 CFR 1.336-1(b)(6)(ii)(A)).
  • Every S corporation shareholder has to agree, including one who sells nothing. Form 8023 “must be signed by each S corporation shareholder regardless of whether the shareholder sells” (Instructions for Form 8023), the election is “irrevocable” and, if it is not valid, “the section 338 election for T is also not valid” (26 CFR 1.338(h)(10)-1(c)(4) and (c)(5)). On our reading, one shareholder who does not sign stops the election.
  • The Form 8023 deadline is “the 15th day of the 9th month beginning after the month in which the acquisition date occurs” (26 CFR 1.338(h)(10)-1(c)(3)): March 15, 2028 for a closing on June 30, 2027. Form 8883 is filed by the old company with its Form 1120-S and by the new company with its first return, not by each shareholder (Instructions for Form 8883, Rev. October 2017).
  • A company that was a C corporation before can owe a corporate-level tax on the deemed sale: 21% of the net recognized built-in gain during the “5-year period beginning with the 1st day of the 1st taxable year for which the corporation was an S corporation” (26 U.S.C. 1374(b)(1) and (d)(7)(A)). If the first S year began on January 1, 2023, that period ends December 31, 2027 (our arithmetic), so a closing in June 2027 is inside it and a plain stock sale is not taxed by it.
  • An F reorganization is the one tool with no election form for the sale itself. Rev. Rul. 2008-18 holds that the old company's “original S election does not terminate but continues for Newco” and that “Newco must obtain a new EIN”; it does not decide the buyer's or the seller's tax on the sale, which our arithmetic shows as an asset sale (our reading of 26 U.S.C. 1361(b)(3)(A), quoted in the ruling: a QSub's assets are treated as the S corporation's).

CSV · 77 rows

S corporation sale: 338(h)(10), 336(e) and F reorganization, a $10 million worked example, the buyer step-up, the built-in gains tax, deadlines and signers

77 rows: the 2027 rate lines, our arithmetic for a $10 million S corporation by asset and by structure, the buyer step-up, the built-in gains tax window, the dates for a June 30, 2027 closing and who signs under each tool, each with its IRS document or regulation paragraph.

The three tools, side by side

A plain stock purchase leaves the old company's tax basis in place, $3,200,000 in our example below. The three tools let the paperwork say stock or company interests while the tax result is an asset purchase. They differ in who the buyer must be, who has to sign and where the election is made. Our asset sale versus stock sale page covers the two plain structures and the Form 8594 classes; the tables here start where that page stops.

ToolWho the buyer must beWho must agreeWhere and when it is madeSource
Section 338(h)(10) electionA corporation that makes a qualified stock purchase: at least 80% of the total voting power and value of the target's stock, by purchase, during a 12-month acquisition periodThe purchasing corporation and every S corporation shareholder, including shareholders who do not sellForm 8023 by the 15th day of the 9th month beginning after the month of the acquisition date; Form 8883 by the old and the new companyInstructions for Form 8023; 26 CFR 1.338(h)(10)-1(c)(1) and (c)(3); Instructions for Form 8883
Section 336(e) electionAny purchaser, one or more persons, but not a deal that is a qualified stock purchase; a sale to a related person is not a dispositionAll S corporation shareholders, including those who do not dispose of stock, and the S corporation target, in a written binding agreementElection statement attached to the S corporation target's timely filed return for the year that includes the disposition date; Form 888326 CFR 1.336-1(b)(2), (b)(5), (b)(6)(ii); 1.336-2(h)(3) and (h)(7)
F reorganization before closingAny buyer; the buyer acquires the old company from Newco after the reorganization (the ruling's facts stop at the QSub election)The shareholders, who put their stock into Newco, and Newco, which elects QSub status for the old company on Form 8869Form 8869 filed no earlier than 12 months before and no later than 2 months and 15 days after the requested effective date; Newco gets a new EINRev. Rul. 2008-18; Instructions for Form 8869

Four traps come out of the documents themselves.

  • The buyer's entity decides the tool. The Instructions for Form 8023 define a qualified stock purchase as a purchase “by another corporation.” A fund or an LLC taxed as a partnership is not one. Section 336(e) picks up the dispositions that are not qualified stock purchases: the regulation says a transaction that is also a qualified stock purchase “will not be treated as a qualified stock disposition” (26 CFR 1.336-1(b)(6)(ii)(A)).
  • A rollover can break the 80%. Under 26 U.S.C. 338(h)(3)(A)(ii) an acquisition is a “purchase” only if “the stock is not acquired in an exchange to which section 351, 354, 355, or 356 applies.” If sellers keep shares through a section 351 exchange, those shares are not purchased, and a corporate buyer may fall under 80% (our reading).
  • The election is irrevocable and all-or-nothing. The regulation says a section 338(h)(10) election is “irrevocable,” and that an invalid one voids the whole election. Section 336(e) is also “irrevocable” (26 CFR 1.336-2(a)).
  • The S election carries over, the EIN does not. In Situation 1 of Rev. Rul. 2008-18, the S corporation's shareholder forms Newco, contributes all the stock, and Newco elects QSub status for the old company. The ruling holds that the original S election “continues for Newco,” that Newco “must obtain a new EIN” and that the old company keeps its own. It also says that when Newco later sells a 1% interest, the QSub election terminates. The ruling applies to reorganizations on or after January 1, 2009.

A $10 million S corporation sold three ways (our arithmetic)

The numbers below are our assumptions, not data from a company; the rates and rules come from the documents cited. The owners are a married couple filing jointly who own 100% of the S corporation, work in it full time, and have other taxable income of at least $793,650 in the year of sale, so every ordinary dollar is taxed at 37% (Rev. Proc. 2026-35, section 3.01, Table 1) and every long-term gain dollar at 20% (the joint 15% ceiling is $633,600, section 3.03). The buyer pays $10,000,000 cash-free and debt-free. The owners' stock basis equals the company's total inside basis of $3,200,000, which is not always true in practice. Our example uses different assets from the one on our asset versus stock page, so the two gaps are not comparable.

AssetValueAdjusted basisGainCharacter of the gain
Accounts receivable (accrual method)$1,000,000$1,000,000$0None
Inventory$1,000,000$700,000$300,000Ordinary
Equipment (cost $3,000,000, depreciation taken $3,000,000)$2,500,000$0$2,500,000Ordinary: section 1245 recapture, because the gain is less than the depreciation taken
Building (cost $1,800,000, straight-line depreciation taken $600,000)$2,000,000$1,200,000$800,000$600,000 unrecaptured section 1250 gain; $200,000 at 20%
Land$500,000$300,000$200,00020%
Goodwill and going concern value (self-created)$3,000,000$0$3,000,00020%
Total$10,000,000$3,200,000$6,800,000$2,800,000 ordinary, $600,000 at 25%, $3,400,000 at 20%

Section 1245(a)(1) treats as ordinary income the excess of the lower of the recomputed basis or the amount realized over the adjusted basis, so the equipment's $2,500,000 is all ordinary. The $600,000 of straight-line depreciation on the building is “unrecaptured section 1250 gain,” which section 1(h)(1)(E) taxes at 25%. A stock sale reaches neither: for S corporation stock held more than one year the regulation lists ordinary income (for example under sections 304, 306, 341 and 1254), collectibles gain and “residual long-term capital gain or loss” (26 CFR 1.1(h)-1(a)), and its look-through for section 1250 capital gain is allocable only to a partnership interest (26 CFR 1.1(h)-1(b)(1)).

Slice of the $6,800,000 gainAmount(a) Plain stock sale: rate(a) tax(b), (c), (d) asset treatment: rate(b), (c), (d) tax
Ordinary: inventory $300,000 and equipment $2,500,000$2,800,00020%$560,00037%$1,036,000
Unrecaptured section 1250 gain on the building$600,00020%$120,00025%$150,000
Building above depreciation $200,000, land $200,000, goodwill $3,000,000$3,400,00020%$680,00020%$680,000
Federal income tax, owners work in the business$6,800,000$1,360,000$1,866,000
Extra tax from asset treatment$506,000

Here (a) is a plain stock sale, (b) a stock sale with a section 338(h)(10) or 336(e) election, (c) an actual asset sale by the company and (d) an F reorganization followed by the sale of the old company. The extra $506,000 is $2,800,000 times the 17-point gap between 37% and 20%, plus $600,000 times the 5-point gap between 25% and 20% (our arithmetic). Under (b) there is no second layer on the owners: the regulation has the shareholders “take their pro rata share of the deemed sale tax consequences into account under section 1366 and increase or decrease their basis in T stock under section 1367” (26 CFR 1.338(h)(10)-1(d)(5)(i)). Stock basis of $3,200,000 plus the $6,800,000 passed through is $10,000,000, equal to what is deemed distributed, so the deemed liquidation adds no further gain in our example.

For the seller's federal income tax, (b), (c) and (d) land on the same figure in our example because the regulation allows no result “that would not occur if the parties had actually engaged in the transactions deemed to occur” (26 CFR 1.338(h)(10)-1(d)(9)). What differs between them is paperwork, contract consents, state transfer taxes, who the contracting party is and the dates below, not the federal rate.

Case, $10 million price(a) Plain stock sale(b), (c), (d) asset treatmentDifference
Federal income tax, owners work in the business$1,360,000$1,866,000$506,000
Tax as a share of the price13.6%18.66%5.06 points
Add 3.8% net investment income tax if the owners do not materially participate$258,400$258,400$0
Total if the owners are passive$1,618,400$2,124,400$506,000
Buyer's basis in the company's assets$3,200,000 carried over$10,000,000$6,800,000 step-up
Yearly section 197 amortization on the $3,000,000 goodwill step-up$0$200,000$200,000

On the net investment income tax, 26 U.S.C. 1411(c)(1)(A)(iii) taxes net gain from disposing of property other than property held in a trade or business that is not “a passive activity (within the meaning of section 469) with respect to the taxpayer” (section 1411(c)(2)(A)), and section 1411(c)(4) limits the gain on an S corporation interest to the gain the owner would have had “if all property of the partnership or S corporation were sold for fair market value immediately before the disposition.” Owners who work in the business are on our reading outside the tax; passive owners pay 3.8% on the $6,800,000 whichever structure is used, once their modified adjusted gross income is far enough above the $250,000 joint threshold of section 1411(b)(1). Our net investment income tax page covers the participation test.

The buyer's side is why the tools exist. Goodwill is a section 197 intangible, amortized “ratably over the 15-year period beginning with the month in which such intangible was acquired” (26 U.S.C. 197(a)): $3,000,000 over 15 years is $200,000 a year (our arithmetic). The new company's basis is its adjusted grossed-up basis, the sum of the grossed-up basis of the purchased stock, the basis in any stock not recently purchased and the new company's liabilities (Instructions for Form 8883, line 5d), and it is allocated across the asset classes by the residual method.

AssetBuyer's basis, plain stock saleBuyer's basis, asset treatmentStep-up
Accounts receivable$1,000,000$1,000,000$0
Inventory$700,000$1,000,000$300,000
Equipment$0$2,500,000$2,500,000
Building$1,200,000$2,000,000$800,000
Land$300,000$500,000$200,000
Goodwill$0$3,000,000$3,000,000
Total$3,200,000$10,000,000$6,800,000

The deadlines for a closing on June 30, 2027

The dates below assume a closing, which is the “acquisition date” under section 338, on Wednesday, June 30, 2027, and a calendar-year company. Dates marked (our arithmetic) are counted by us from the rule quoted.

Filing or stepRuleDate for a June 30, 2027 closingSource
Form 8023, section 338(h)(10) election“Not later than the 15th day of the 9th month beginning after the month in which the acquisition date occurs”; the instructions say “the 15th day of the 9th month after the acquisition date”March 15, 2028 (our arithmetic: July 2027 is the 1st month, March 2028 the 9th)26 CFR 1.338(h)(10)-1(c)(3); Instructions for Form 8023
Form 8883, old S corporation targetAttached to Form 1120-S; the S election continues through the close of the acquisition dateForm 1120-S for the short year ending June 30, 2027: September 15, 2027 without an extension (our arithmetic from 26 U.S.C. 6072(b): the 15th day of the third month after the close)Instructions for Form 8883; 26 CFR 1.338(h)(10)-1(d)(3)(i)
Form 8883, new targetAttached to the first return of the new targetThe first return of the buyer's new companyInstructions for Form 8883
Section 336(e) agreement and statementWritten binding agreement on or before the due date, with extensions, of the S corporation target's return for the year that includes the disposition date; statement attached to that timely filed returnSame return as above: September 15, 2027 without an extension (our arithmetic)26 CFR 1.336-2(h)(3)(i) and (iii)
Form 8869, QSub election in an F reorganizationFiled no earlier than 12 months before and no later than 2 months and 15 days after the requested effective dateAugust 16, 2027 for an effective date of June 1, 2027 (our arithmetic)Instructions for Form 8869
Form 8594, actual asset sale or sale of the old company's interestsAttached to the income tax return for the year in which the sale date occurredThe 2027 return of each partyInstructions for Form 8594 (Rev. November 2021)
Built-in gains recognition periodThe 5-year period beginning with the first day of the first taxable year as an S corporationDecember 31, 2027 if the first S year began January 1, 2023 (our arithmetic)26 U.S.C. 1374(d)(7)(A)

The Instructions for Form 8883 say: “Timely file Form 8023 even if you do not have all the information required to be supplied separately on Form 8883.” The Form 8023 instructions are Rev. October 2023 and the Form 8883 instructions Rev. October 2017; the IRS pages for both forms show no later revision on November 27, 2026. An installment note does not move the Form 8023 date. For the installment method, the regulation treats old target as receiving new target's installment obligations identical to the buyer's notes (26 CFR 1.338(h)(10)-1(d)(8)); see our earn-out, escrow and seller-note page.

The built-in gains tax and the five-year window

A company that was a C corporation before its S election can owe a second, corporate-level tax when it recognizes gain that was already built into its assets on the day it became an S corporation. Section 1374(b)(1) applies “the highest rate of tax specified in section 11(b) to the net recognized built-in gain,” and section 11(b) sets that rate at “21 percent of taxable income.” The tax applies to gain recognized in the “recognition period,” which the statute defines as the 5-year period starting with the first day of the first S year (26 U.S.C. 1374(d)(7)(A)). A deemed asset sale under a 338(h)(10) election, an F reorganization sale and an actual asset sale each have the company recognize asset gain inside that window; a plain stock sale does not make the company recognize anything (our reading of section 1374(a)).

In our example, suppose $2,000,000 of the $6,800,000 gain was built in when the S election began. The corporate tax is 21% of $2,000,000, or $420,000. Under 26 U.S.C. 1366(f)(2) that tax is “treated as a loss sustained by the S corporation,” so the owners' pass-through shrinks. If the built-in gain were all goodwill, the loss would save the owners 20% of $420,000, or $84,000, leaving a net extra cost of $336,000 (our arithmetic; the statute allocates the loss “proportionately among the recognized built-in gains,” so real characters differ). Section 1374(d)(7)(B) adds that when an S corporation reports a sale on the installment method, the treatment of all payments “shall be governed by the provisions of this paragraph applicable to the taxable year in which such sale was made,” so a note does not carry the sale out of the window.

Who must sign and who can block

ToolWho must sign or agreeWhat a minority or non-selling S shareholder can doThe buyer's roleSource
Section 338(h)(10)The purchasing corporation and each S corporation shareholder on Form 8023, with a signature attachment if there are several; shareholders who do not sell “must also consent”On our reading, withhold the signature, and without it the election is not madeMust be a corporation; signs Form 8023 and files Form 8883 for the new companyInstructions for Form 8023; 26 CFR 1.338(h)(10)-1(c)(3)
Section 336(e)All S corporation shareholders, including those who do not dispose of stock, and the S corporation target, in a written binding agreementOn our reading, decline to be a party; the regulation lists every shareholderNot a party to the election under 1.336-2(h)(3)(i); the purchase agreement carries the buyer's side (our reading)26 CFR 1.336-2(h)(3)(i)
F reorganizationThe shareholders contribute their stock to Newco; Newco's officer signs Form 8869 for the old companyThe shareholders form Newco and contribute their stock themselves, so every owner has to take part (our reading)None in the IRS documents we read; buys after the reorganizationRev. Rul. 2008-18; Instructions for Form 8869

The column on what a minority or non-selling shareholder can do is our reading of who has to sign, not a statement about shareholder agreements, drag-along rights or state law, which the IRS documents do not cover. Purchase agreements for a company with several owners usually say which signatures are due at closing and what happens if one is missing; the instructions say a section 338(h)(10) election for an S corporation target “must be made by all of the shareholders of the target” (Instructions for Form 8023).

What a reader can do with this

  • Ask which tool the buyer is proposing and why. The buyer's entity decides it: a corporate buyer can use section 338(h)(10); a partnership or fund buyer cannot, and section 336(e) or an F reorganization is the route.
  • Price the difference before agreeing. In our example asset treatment costs the owners $506,000 more in federal tax and gives the buyer a $6,800,000 step-up. A buyer that wants the step-up and a seller that bears the cost often settle it in the price (our reading); the adviser and the buyer's counsel model both sides.
  • List every S corporation shareholder now. Each one, sellers or not, has to sign Form 8023 or be a party to the section 336(e) agreement. A minority holder, a trust or a family member who is not selling is part of the timetable.
  • Check the S election's history. If the company was a C corporation, find the first day of its first S year and count five years; the corporate-level tax in the table depends on it.
  • Put the allocation in the purchase agreement. The residual method fills the classes in order, and Form 8883 for the deemed sale or Form 8594 for the asset sale reports the same split; our Form 8594 classes table shows what each class does to the tax.
  • Read the section 1202 limits if the company was ever a C corporation. Our section 1202 page lists the exclusion caps by acquisition date.

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

Frequently asked questions

Update alert · free

An email when the selling an s corporation 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.

Sources: Instructions for Form 8023 (Rev. October 2023) and Form 8023; Instructions for Form 8883 (Rev. October 2017); Instructions for Form 8869 (Rev. December 2020); Instructions for Form 8594 (Rev. November 2021); Treasury Regulations 1.338(h)(10)-1, 1.336-1, 1.336-2 and 1.1(h)-1 (eCFR, current through November 24, 2026); Rev. Rul. 2008-18; Rev. Proc. 2026-35, sections 3.01 and 3.03; 26 U.S.C. 1, 11, 197, 338, 1245, 1366, 1374, 1411 and 6072 (U.S. Code, 2024 edition, GovInfo). All worked examples are our arithmetic and are in the CSV. Compiled by CrowdfundedWealth on November 27, 2026.

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.