What is an Employee Stock Purchase Plan (ESPP)?

ProjectionLab
9 min readPublished Oct 8, 2026Oct 8, 2026

An employee stock purchase plan (ESPP) lets you buy company stock through payroll deductions at up to a 15% discount, with tax due when you sell.

Page hero image

An employee stock purchase plan (ESPP) is a company benefit that lets you buy your employer’s stock with money set aside from your paycheck, at a discount of up to 15% in a tax-qualified plan. You choose how much to contribute, the plan collects it over a set period, and then it buys shares for you.

US plans come in two kinds. A qualified plan follows Section 423 of the Internal Revenue Code (IRC), which caps the discount and the amount you can buy and, in exchange, delays all tax until you sell. A non-qualified plan sits outside those rules, and its discount is generally taxed as ordinary income at purchase. Your plan document says which kind you have; the rest of this article describes qualified plans.

How Does an ESPP Work?

You enroll before an offering period begins and pick a contribution, which is deducted from each paycheck. The deductions accumulate until a purchase date, when the plan uses the balance to buy shares.

Section 423 sets the floor for the purchase price at 85% of the stock’s market value. A plan may measure the 85% against the purchase date alone, or it may include a lookback, which applies the discount to the lower of the offering-date price and the purchase-date price.

An offering period in a plan with a lookback can run no longer than 27 months. A plan whose price is always at least 85% of the purchase-date value can run up to five years. Plans may split a long offering into several purchase periods, set a discount smaller than 15%, or leave out the lookback, so check your own plan’s terms for all three. A plan may also exclude some employees, including those employed less than two years or working 20 hours or less a week.

ESPP Contribution Limit: The $25,000 Rule

The limit for 2026 is the same as every other year, because the figure is written into the statute and isn’t indexed to inflation: your right to buy stock can’t accrue faster than $25,000 of stock per calendar year the offering is outstanding.

That $25,000 measures the stock’s market value on the grant date, which is generally the first day of the offering. It is not $25,000 of payroll deductions. If the stock is $50 when the offering starts, the cap is 500 shares for that calendar year. Buying those 500 shares at $42.50 takes $21,250 of contributions.

The limit applies across all of your employer’s qualified plans combined. A plan may also set a lower ceiling of its own, such as a percentage of pay or a maximum number of shares per purchase.

How Is an ESPP Taxed?

Nothing is taxed when a qualified plan buys shares for you. Tax arrives in the year you sell, and it has two parts: some of your profit is ordinary income, reported as wages in box 1 of your W-2, and the rest is a capital gain or loss. How the profit splits depends on how long you held the shares.

The ordinary income portion is exempt from Social Security and Medicare tax under the Federal Insurance Contributions Act (FICA), and your employer isn’t required to withhold income tax on it. If nothing is withheld, the tax is due through your other withholding, estimated payments, or your return.

Qualifying vs. Disqualifying Dispositions

A sale is a qualifying disposition if it happens more than two years after the grant date and more than one year after the purchase date. Anything sooner is a disqualifying disposition.

Qualifying dispositionDisqualifying disposition
When you sellMore than 2 years after the grant date and more than 1 year after the purchase dateBefore both of those holding periods are met
Ordinary incomeThe lesser of (a) your sale price minus what you paid, or (b) the grant-date market value minus the purchase price figured as if you had bought on the grant dateThe purchase-date market value minus what you paid, regardless of your sale price
Rest of the gainLong-term capital gainCapital gain, short-term if you held the shares one year or less after purchase and long-term if longer
Sale below your purchase priceNo ordinary income; the entire loss is a capital lossOrdinary income still applies in full, paired with a larger capital loss

In both cases, the ordinary income is added to your cost basis, so the same money isn’t counted again as capital gain.

ESPP Tax Calculation Example

These numbers are illustrative. Your plan runs a six-month offering with a 15% discount and a lookback. The stock is $50 on the offering date and $60 on the purchase date, so your price is 85% of $50, or $42.50. You contributed $4,250 and receive 100 shares worth $6,000.

Sale price and timingTypeOrdinary incomeCapital gain or loss
$60 on the purchase dateDisqualifying$1,750$0
$70, 8 months after purchaseDisqualifying$1,750$1,000 short-term gain
$70, 19 months after purchaseQualifying$750$2,000 long-term gain
$40, 8 months after purchaseDisqualifying$1,750$2,000 short-term loss
$40, 19 months after purchaseQualifying$0$250 long-term loss

At $70, both sales produce the same $2,750 profit. Waiting moves $2,000 of it to long-term capital gain rates: $1,000 that was ordinary income and $1,000 that was short-term gain. At $40, the disqualifying sale leaves you with $1,750 of wage income and a $2,000 capital loss on a position that lost $250 overall.

Form 3922 and the Cost Basis Adjustment

Your employer sends Form 3922 by January 31 of the year after shares from a purchase are first transferred to you or your brokerage account. It lists the grant and purchase dates, the market value on each, and the price you paid.

When you sell, your broker’s Form 1099-B reports a cost basis that doesn’t include the ordinary income from the sale. In the first row of the example, the 1099-B would show a $4,250 basis and a $1,750 gain, even though that same $1,750 is already in your W-2 wages. Filing that figure taxes the discount twice. Correcting the basis to $6,000 is your responsibility, done on Form 8949 with adjustment code B.

Is an ESPP Worth It?

Selling on the purchase date in the example turns $4,250 into $6,000, a 41% pre-tax return. If the stock had been flat or lower over the offering period, the same 15% discount would still have produced about 17.6%, since $7.50 of discount on a $42.50 cost is 15 divided by 85.

That return depends on three things: the size of your plan’s discount, whether it has a lookback, and whether you can sell at close to the purchase-date price. A plan may require you to hold shares for a period, and your employer’s trading policy may limit when you can sell. The gain is also taxed as ordinary income; at a 24% federal rate, $1,750 leaves $1,330.

Holding for a qualifying disposition means accepting a year or more of single-stock price risk in exchange for a lower tax rate on part of the gain. The example’s $40 rows show a decline erasing far more than the tax saved.

Held shares also add to a concentration that already exists. Your salary already depends on this company, so a downturn there can reduce your income and your savings together. Setting a rule ahead of time, such as selling each purchase or capping company stock at a fixed share of your portfolio, keeps that exposure deliberate. You can add held ESPP shares to your plan in ProjectionLab as a taxable investment account with its own cost basis.

ESPP vs. RSUs

You buy ESPP shares; restricted stock units (RSUs) are granted to you, and the two are taxed at different moments.

ESPP (qualified plan)RSUs
How you get sharesYou enroll and buy them with payroll deductionsYour employer grants them and delivers shares as they vest
What you payThe discounted purchase priceNothing
When income tax appliesWhen you sell the sharesWhen shares are delivered, whether or not you sell
Social Security and Medicare taxNot owed on the purchase or the saleOwed on the value of delivered shares

Frequently Asked Questions

Is an ESPP pre-tax or post-tax? Post-tax. ESPP deductions come out of pay that has already been taxed, so they don’t lower your taxable wages the way 401(k) or health savings account contributions do. The ESPP line on your paystub is that after-tax deduction accumulating toward the next purchase.

When can I sell ESPP shares? Tax law lets you sell as soon as the shares are yours; selling early only makes the sale a disqualifying disposition. With a six-month offering, the two-year test is the one that binds, so a qualifying sale has to wait until more than 18 months after the purchase date. Your plan or your employer’s trading policy may add restrictions of its own.

Is a qualifying disposition always taxed less? No. If the stock falls during an offering with a lookback, the discount measured on the grant-date price can be larger than the discount you actually received. With a $50 grant-date price, a $40 purchase-date price, and a $34 purchase price, a disqualifying sale at $50 produces $6 a share of ordinary income, and a qualifying sale at $50 produces $7.50.

What is the difference between an ESPP and an ESOP? An employee stock ownership plan (ESOP) is a qualified retirement plan designed to invest primarily in the employer’s stock. An ESPP is not a retirement plan: you buy the shares yourself with after-tax pay and hold them in an ordinary brokerage account.

Take control of your financial future
Join the thousands already using ProjectionLab to plan for financial independence and retirement.

Disclaimer: The content, tools, and resources on ProjectionLab.com are intended solely for informational and educational purposes and should not be construed as professional financial or investment advice. Our materials are designed to provide general guidance and are based on the input and data provided by users. ProjectionLab makes no guarantee of the accuracy, completeness, or applicability of this content to individual circumstances. Effective financial planning and investment involve comprehensive consideration of a wide array of personal financial factors. The tools and resources available on ProjectionLab are aimed at helping users develop an understanding of their financial trajectory. However, they should not be solely relied upon for creating a complete financial plan. We strongly recommend consulting a financial services professional who can provide personalized advice based on your unique financial situation before making any significant financial decisions. While we endeavor to keep the information on ProjectionLab current and accurate, the content may differ from that found on other financial institutions, service providers, or specific product sites. All content and tools on ProjectionLab are provided without any guarantees or warranties of any kind.