ESPP Tax Rules: Qualifying vs Disqualifying Sales, Explained

Taxes

A neutral guide to employee stock purchase plan taxes: the 2-year and 1-year holding period tests, how ordinary income and capital gain are split, what Form 3922 and your W-2 show, and whether ESPP contributions are pre-tax.

Published October 13, 2026 by Joel Miller, CFP. 10 min read.

ESPP shares are generally taxed when you sell, not when you buy. A qualifying sale, more than 2 years after the offering date and more than 1 year after purchase, usually taxes only a limited discount as ordinary income and the rest as capital gain. An earlier, disqualifying sale generally taxes the full purchase discount as ordinary income.

Reviewed October 13, 2026 by Joel Miller, CFP. Rules are described under current IRS guidance for a qualified plan under Internal Revenue Code section 423. This article is educational. Individual circumstances vary, and it is not tax, legal, or investment advice. A tax professional can confirm how the rules apply to your return.

When an employee stock purchase plan is taxed

An employee stock purchase plan (ESPP) lets employees buy their employer's stock through payroll deductions, usually at a price below market value. Plans that meet the requirements of Internal Revenue Code section 423 are called qualified plans, and this guide covers those. Plans that do not meet section 423 follow different rules, and your plan documents say which kind you have.

Under IRS guidance, you generally include no amount in income when the option is granted and none when you buy the shares. The tax event is the sale. At that point, the IRS looks at whether you met a holding period, which sorts the sale into one of two categories:

  • Qualifying disposition: you sold after meeting the holding period requirement.
  • Disqualifying disposition: you sold before meeting it.

A "disposition" is a sale or other transfer of ownership, such as a gift. The IRS holding period requirement is met only when you do not sell until the end of the later of two periods: 1 year after the stock was transferred to you, or 2 years after the option was granted. For an ESPP, the grant date is generally the offering date and the transfer date is generally the purchase date, as shown on Form 3922. IRS Publication 525 sets out the holding period and the income rules, and section 423(a) of the Internal Revenue Code is the underlying statute. The IRS also treats a sale made to comply with conflict-of-interest requirements as meeting the holding period.

Is an ESPP pre-tax?

Generally, no. Neither section 423 nor the IRS publications provide an income tax deduction or exclusion for the payroll amounts used to buy ESPP shares. These contributions are commonly taken from pay that has already been taxed, which is different from a traditional 401(k) deferral. The benefit of an ESPP is the purchase discount and how the sale is taxed, not a reduction in current taxable pay. Your pay stub and plan documents show how your own contributions are handled.

Qualifying vs disqualifying dispositions

The grid describes how the federal rules typically work for a qualified plan. It is a comparison of tax treatment, not a ranking, and the right choice depends on the household.

TopicQualifying dispositionDisqualifying dispositionTends to fit when
Holding periodSold after the later of 2 years from the offering (grant) date and 1 year from the purchase (transfer) dateSold before either period has endedA household can wait through both periods, or needs cash or flexibility sooner
Ordinary incomeThe lesser of (1) the grant-date market value over the plan price, or (2) the sale-date market value over the plan priceThe market value on the purchase date over the plan price, not limited to the gain on the saleThe size of the grant-date discount and the price path since purchase are known
Capital gain or lossAny gain above the ordinary income amount is capital gain, taxed as long-termThe difference between the sale price and the adjusted basis is capital gain or loss, short-term or long-term depending on time held after purchaseA household compares how ordinary income and capital gain are each taxed for its income level
BasisThe plan price paid per shareThe plan price plus the ordinary income amountRecords are kept to avoid counting the same income twice
Loss on saleA loss is a capital loss, with no ordinary incomeA loss is a capital loss, but ordinary income may still applyShares are sold below the purchase-date value, and the tax result differs from the economic result
ReportingOrdinary income should appear in box 1 of Form W-2 for the year of sale, per IRS guidance; the sale is reported on Form 8949 and Schedule DThe same documents, with an ordinary income amount that is generally largerA tax professional reconciles the W-2, Form 3922, and Form 1099-B together
Concentration and cash needsHolds company shares for longer, which keeps the position in placeAllows earlier diversification or cash, with different tax timingA household weighs tax character against how much of its wealth sits in one employer

How the tax calculation works

An ESPP tax calculation follows the same sequence each time. A tax professional or the plan's tax resources can run the figures for your situation.

  1. Gather the records. Form 3922 shows the grant date, exercise date, market value per share on each date, the price you paid, the number of shares, and the date legal title transferred. Your employer must furnish it by January 31 of the year after the transfer, according to the Instructions for Forms 3921 and 3922. You generally do not report the form itself, but you keep it to establish holding period and basis.
  2. Test the dates. Count 2 years from the offering date and 1 year from the purchase date. Your holding period for the shares begins the day after you exercise the option, per Publication 525.
  3. Work out ordinary income. Use the qualifying or disqualifying rule in the grid above. For a qualifying sale, the discount component is capped by the lesser-of test. For a disqualifying sale, it is the purchase-date value over the plan price.
  4. Adjust the basis. Add any ordinary income to your basis. Publication 525 notes that for options granted on or after January 1, 2014, the basis on Form 1099-B will not reflect income reported as wages, so you may need to adjust it on Form 8949.
  5. Figure the capital gain or loss. Subtract the adjusted basis from the sale price, and report it using the instructions for Form 8949 and Schedule D. IRS Publication 550 covers reporting sales of investment property more generally.

A hypothetical illustration

Hypothetical example for illustration only. It does not describe a client, is not a projection, a calculator, or a recommendation, and uses assumed round prices rather than investment returns. Assume the stock is valued at $20 on the offering date and $25 on the purchase date, and the plan price is 85% of the lower of the two, or $17 per share. An employee buys 100 shares for $1,700 and later sells them at an assumed $30 per share, for $3,000 and a total gain of $1,300. If the sale is a qualifying disposition, ordinary income is the lesser of $300 (the $20 grant-date value less $17, times 100 shares) or the $1,300 gain, so $300 is ordinary income and $1,000 is long-term capital gain. If the same sale is a disqualifying disposition, ordinary income is $800 (the $25 purchase-date value less $17, times 100 shares), basis rises to $2,500, and the capital gain is $500. The total gain is the same in both cases, and only its tax character changes.

The example shows tax character only. It does not include state tax, tax rates, or the effect of the household's other income, each of which changes what is owed.

A decision framework for when to sell

The tax category is one input among several. Households commonly weigh the same questions in different ways, and none of them has a single correct answer.

  • Concentration: how much of the household's net worth, pay, and savings already depend on one employer, and how much more a longer holding period adds.
  • Liquidity: whether the cash will be needed for a near-term goal, a tax payment, or other priorities before a qualifying date arrives.
  • Tax timing: how an ordinary income amount in the year of sale fits with the rest of that year's income, and whether bonuses, vests, or other sales fall in the same year.
  • Plan terms: the plan's offering periods, purchase price formula, and any holding rules the employer sets beyond the tax requirements.
  • Alternatives: how the order of other goals, such as retirement account contributions and cash reserves, compares. Our financial order of operations guide sets out one common framework households adapt.

Holding shares for a qualifying date also means the value could rise or fall during that time, so tax character and market risk are separate questions.

Where this fits in the wider picture

ESPP shares often sit beside RSUs, stock options, and a concentrated position in the same household. These pages cover the neighbouring decisions:

How Flames FP approaches this

Flames FP is a Minnesota-based planning firm with fixed quarterly membership pricing and a 0% AUM fee. Its services cover investments, taxes, retirement, estate planning guidance, and ongoing advice as one connected plan, and the tax planning and filing page describes what each membership includes. The how it works page walks through the planning process and the pricing page lists current membership terms. Whether this structure fits depends on your household, and a separate CPA relationship is a reasonable choice for many situations.

If you would like to talk through how ESPP shares fit with your other equity pay and goals, you can schedule a Discovery Meeting. The meeting is a conversation about your situation, not tax or legal advice.

Sources

IRS guidance was reviewed as of October 13, 2026. Rules and forms can change, so confirm against current IRS publications.

Frequently asked questions

What are the basic ESPP tax rules?

For a qualified plan, you generally owe no tax when the option is granted or when you buy the shares. Tax applies when you sell. The sale is a qualifying disposition if it occurs after the later of 2 years from the offering date and 1 year from the purchase date, and a disqualifying disposition otherwise. The category determines how much is ordinary income and how much is capital gain.

Is an ESPP pre-tax?

Generally, no. The IRS provides no deduction or exclusion for the payroll amounts used to buy ESPP shares, and those amounts are commonly taken from pay that has already been taxed. Your plan documents and pay stub show how your contributions are handled.

How is an ESPP tax calculation done?

It starts with Form 3922 dates and prices, then sorts the sale as qualifying or disqualifying. Ordinary income is figured under the rule for that category, the ordinary income is added to basis, and the remaining gain or loss is capital. The grid and the hypothetical illustration above show the steps with round numbers.

What is the tax treatment if I sell ESPP shares right away?

A sale before the holding periods end is a disqualifying disposition. The purchase-date market value above the plan price is generally ordinary income, and any other gain or loss is capital. If the sale price is below the plan price, the loss is capital, and some ordinary income may still apply.

Will my W-2 and Form 1099-B both show my ESPP sale?

Possibly. IRS guidance says your employer should report ordinary income from a sale as wages in box 1 of Form W-2. Your broker's Form 1099-B reports the sale, and its basis may not include that ordinary income, so the basis may need to be adjusted on Form 8949. A tax professional can reconcile the documents for your return.

Flames FP approach

How Flames FP Handles This

Flames Financial Planning coordinates investments, taxes, retirement income and estate guidance under a flat quarterly membership, with no fee on assets. Planning includes proactive tax guidance and a planning-focused review of a completed personal return. Premier adds ongoing tax projections, Roth-conversion and capital-gain modeling, retirement-income and withdrawal implementation, and eligible tax-return preparation and filing through an independent tax partner.

Flames Planning

$900 per quarter
$3,600 annualized

Flames Premier

$1,650 per quarter
$6,600 annualized

Memberships are billed quarterly in advance with no annual commitment. See what each includes on the pricing page, read how the pieces fit together on the retirement tax planning overview, or, if you are weighing a subscription firm, see the side-by-side with Facet.