A qualified stock purchase under Section 338 is a transaction in which one corporation acquires at least 80% of another corporation’s stock within a 12-month period, which then allows the buyer to elect to treat the deal as an asset acquisition for federal tax purposes.1Office of the Law Revision Counsel. 26 USC 338 – Certain Stock Purchases Treated as Asset Acquisitions The legal form stays a stock deal, but the election creates a tax fiction: the target is treated as if it sold all its assets and repurchased them the next day. That fiction resets the target’s asset basis to fair market value and generates larger depreciation and amortization deductions going forward.
The 80% Threshold and 12-Month Window
Section 338 borrows its ownership test from Section 1504(a)(2): the buyer must end up holding at least 80% of the target’s total voting power and at least 80% of the total value of the target’s stock. Certain nonvoting, nonparticipating preferred stock described in Section 1504(a)(4) is treated as debt-like and left out of the calculation entirely.
The 12-month acquisition period begins on the date the buyer first picks up stock that counts toward the 80% threshold. Every share that counts must be acquired inside that window. The day the buyer crosses 80% becomes the “acquisition date,” and that date anchors nearly every downstream deadline and calculation.
What “Purchase” Means, and What It Excludes
Section 338 uses a narrow definition of “purchase.” Stock does not count toward the 80% threshold in any of these situations:1Office of the Law Revision Counsel. 26 USC 338 – Certain Stock Purchases Treated as Asset Acquisitions
- Carryover basis stock, where the buyer’s basis is determined by reference to the seller’s basis. Gifted stock falls here.
- Stock inherited from a decedent, with basis set under Section 1014(a).
- Stock received in a tax-free exchange under Sections 351, 354, 355, or 356.
- Stock acquired from a related person whose ownership would be attributed to the buyer under the Section 318(a) constructive ownership rules.
The related-party exclusion is the one that catches people off guard. When buyer and seller are connected through family or overlapping entity ownership under the attribution rules, those shares don’t count as “purchased” for Section 338 even if real money moved. An exception applies where the buyer first acquired at least 50% of the related corporation’s stock by genuine purchase.
Who Can Be the Buyer
Only a corporation can make a qualified stock purchase. Partnerships, LLCs taxed as partnerships, and individuals cannot. Non-corporate buyers who want asset-sale treatment need to look at Section 336(e) instead, covered further down.
Making the Section 338 Election
The buyer makes the election on IRS Form 8023. The deadline is the 15th day of the 9th month after the acquisition date.2Internal Revenue Service. Instructions for Form 8023 – Elections Under Section 338 for Corporations Making Qualified Stock Purchases An acquisition closing on March 15 produces a December 15 filing deadline. The window gives the buyer time to model the tax consequences before committing.
Once filed, the election is permanent. There’s no revocation. Miss the deadline entirely and the only path back is a discretionary extension under Treasury Regulation 301.9100, which requires showing the taxpayer acted reasonably and in good faith and which the IRS is not required to grant.3GovInfo. 26 CFR 301.9100-1 – Extensions of Time to Make Elections
A standard 338(g) election is a unilateral filing by the buyer. A 338(h)(10) election requires a joint filing: both the purchasing corporation and the selling consolidated group’s common parent (or the selling affiliate, or all S corporation shareholders) sign.4GovInfo. 26 CFR 1.338(h)(10)-1 – Section 338(h)(10) Election Requirements For an S corporation target, even shareholders who didn’t sell must consent.
The buyer also files Form 8883 to report how the purchase price is allocated among the target’s assets.5Internal Revenue Service. Instructions for Form 8883 – Asset Allocation Statement Under Section 338 Form 8883 attaches to the income tax return rather than to Form 8023, and both buyer and seller file their own copies.
How the Deemed Sale Resets Basis
Two figures drive the tax math after the election.
The Aggregate Deemed Sale Price (ADSP) is the price at which the “old” target is treated as having sold its assets. It determines how much gain or loss the old target recognizes on the fictional sale, and it primarily affects the seller’s tax bill. ADSP starts with the grossed-up amount realized on the stock, adds the target’s liabilities (including the tax triggered by the deemed sale itself), and subtracts selling costs.
The Adjusted Grossed-Up Basis (AGUB) is the buyer’s new tax basis in the target’s assets. It equals the grossed-up basis in the recently purchased stock, plus the basis of any stock the buyer held before the 12-month window, plus the target’s liabilities, plus acquisition costs like legal and advisory fees.6eCFR. 26 CFR 1.338-5 – Adjusted Grossed-Up Basis AGUB is almost always higher than the target’s historical basis in its own assets, which is the whole reason buyers pursue the election.
Allocating AGUB Across the Target’s Assets
AGUB isn’t spread evenly. The regulations require a residual method that fills a strict seven-class hierarchy in order:5Internal Revenue Service. Instructions for Form 8883 – Asset Allocation Statement Under Section 338
- Class I: Cash and bank deposits.
- Class II: Actively traded securities and certificates of deposit.
- Class III: Debt instruments and accounts receivable.
- Class IV: Inventory.
- Class V: Everything not in the other classes, including equipment, real estate, and stock of subsidiaries.
- Class VI: Section 197 intangibles other than goodwill (patents, customer lists, covenants not to compete).
- Class VII: Goodwill and going concern value.
Allocation runs top to bottom. Each class fills up to fair market value before any AGUB flows to the next. Whatever is left after Class VI lands in Class VII. In most acquisitions a substantial slice of AGUB ends up in goodwill, because the purchase price exceeds the fair market value of all identifiable assets combined.
That goodwill is then amortizable over 15 years under Section 197.7Office of the Law Revision Counsel. 26 USC 197 – Amortization of Goodwill and Certain Other Intangibles Before the election, the target’s goodwill typically had zero tax basis because it was self-created. After the election, the buyer deducts against that goodwill for 15 years. The same logic applies to tangible assets that get stepped up: higher depreciable basis, larger annual deductions.
338(g) vs. 338(h)(10)
Both flavors produce a deemed asset sale. The tax consequences look very different.
The 338(g) election is the default. The buyer files it unilaterally and doesn’t need seller cooperation. It works for freestanding C corporations and foreign targets. The problem in a domestic deal is that 338(g) creates two layers of tax. The old target recognizes gain on the deemed asset sale, and because the buyer now owns the target, the buyer effectively absorbs that corporate-level tax. Meanwhile the selling shareholders separately recognize gain or loss on the actual stock sale. That double hit usually wipes out the benefit of the basis step-up, which is why domestic 338(g) elections are rare. The election sees more use with foreign targets, where the tax dynamics differ.
The 338(h)(10) election collapses everything into a single taxable event. The target is treated as having sold its assets while still a member of the selling group (or still an S corporation), then liquidated tax-free into its parent. The actual stock sale is disregarded for tax purposes.4GovInfo. 26 CFR 1.338(h)(10)-1 – Section 338(h)(10) Election Requirements It’s available only when the target is one of three things:
- A consolidated subsidiary (a member of the seller’s consolidated group, not the common parent).
- An affiliated subsidiary: a domestic corporation owning Section 1504(a)(2) stock in the target but not filing a consolidated return with it.
- An S corporation immediately before the acquisition date.
Because only one level of tax applies, 338(h)(10) is usually the preferred structure when it’s available. The seller pays tax on the deemed asset sale, and the buyer gets a stepped-up basis without the corporate-level surcharge.
When the Buyer Isn’t a Corporation: Section 336(e)
Section 338 shuts out non-corporate buyers. Section 336(e) fills the gap. It allows deemed asset sale treatment for a “qualified stock disposition,” meaning the sale, exchange, or distribution of at least 80% of the voting power and value of a target’s stock, without requiring the acquirer to be a corporation or even a single entity.8Federal Register. Regulations Enabling Elections for Certain Transactions Under Section 336(e)
A few features set 336(e) apart from 338(h)(10). The acquirer doesn’t need to be a corporation, so private equity funds, individuals, and other non-corporate buyers can use it. Stock sold to different acquirers can be aggregated to reach the 80% threshold, whereas under Section 338 a single corporate purchaser has to cross 80% on its own. And the seller and target enter a written agreement, with the seller attaching the election statement to its return, so buyer cooperation works differently than under 338(h)(10). The tax result mirrors 338(h)(10): one deemed asset sale, basis step-up in the target’s assets, no separate stock-sale gain.
Consistency Rules That Prevent Cherry-Picking
The consistency rules under Sections 338(e) and (f) block a buyer from stepping up basis in some target assets while leaving others alone. Without them, a buyer could purchase appreciated assets directly from the target (getting a cost basis) while acquiring the target’s stock without making a Section 338 election, effectively choosing which assets get new basis.9eCFR. 26 CFR 1.338-8 – Asset and Stock Consistency
The rules kick in when the buyer acquires an asset directly from the target during the “target consistency period” and the target is a subsidiary in a consolidated group. In that scenario the buyer takes a carryover basis in the asset, the same basis the target had, unless a Section 338 election is made for the target. The same principle extends to assets acquired from lower-tier affiliates when the gain would otherwise be reflected in the target’s stock basis through the consolidated return investment adjustment rules.
In practice, the consistency rules force an all-or-nothing choice. If you want a stepped-up basis in specific assets you’re buying from the target, you need to make the Section 338 election for the target as a whole.