The short version

A qualified ESPP (under Section 423 of the tax code) lets you buy your employer's stock through payroll deductions, commonly at up to a 15% discount, often with a lookback that prices off the lower of two dates. That discount is a built-in gain that does not depend on the stock going up.

You generally are not taxed when you buy, only when you sell. How much of your gain is taxed as ordinary income versus capital gain depends on how long you hold the shares. Unlike incentive stock options, an ESPP purchase does not trigger AMT.

What an ESPP actually is

An employee stock purchase plan lets you set aside a percentage of your pay through after-tax payroll deductions over an offering period. At the end of each purchase period, the plan uses what you have accumulated to buy company stock, commonly at a discount of up to 15%. Most public-company plans are qualified plans under Section 423, which is what gives them their favorable tax treatment.

A few terms you will see: the offering date (also called the grant date) is when the offering period starts; the purchase date is when shares are actually bought at the end of a purchase period. Those two dates drive both your price and, later, your taxes.

The lookback is the part that makes ESPPs powerful

Many plans include a lookback feature. With a lookback, your purchase price is the discount applied to the lower of the stock price on the offering date or the purchase date. So a 15% discount with a lookback means you pay 85% of whichever of those two prices is lower.

That is more valuable than it sounds. If the stock rose during the offering period, you buy at 85% of the older, lower price, locking in a gain that is bigger than the headline 15%. If the stock fell, the lookback still gives you 15% off the current, lower price. Either way, the discount is a benefit that does not depend on the stock continuing to climb after you buy.

This is why many people view a discounted ESPP with a lookback as one of the better deals in equity comp, even for those who sell their shares quickly to manage concentration risk.

The $25,000 limit

Qualified Section 423 plans cap how much stock you can buy at $25,000 per calendar year, measured by the stock's value on the offering date (not the discounted price you actually pay). This limit is set by statute, is not adjusted for inflation, and has stayed at $25,000 for decades.

Your employer may also cap contributions at a percentage of your salary, often 10% or 15%. Your real ceiling is whichever limit you hit first. If you earn $150,000 and the plan caps deductions at 15%, your maximum is $22,500, below the $25,000 statutory cap. Plan administrators are generally responsible for enforcing the cap and refunding any excess.

How ESPP shares are taxed: qualifying vs disqualifying

For a qualified plan, you generally owe no tax at purchase. The tax comes when you sell, and the treatment turns on whether your sale is a qualifying or a disqualifying disposition. Two holding periods both have to be met for the better treatment:

  • At least two years from the offering (grant) date, and
  • at least one year from the purchase date.

Qualifying disposition (both periods met): part of your gain is ordinary income and the rest is long-term capital gain. The ordinary-income piece is generally the lesser of the actual gain or the discount measured at the offering date, so for a standard plan it is capped at roughly 15% of the offering-date value. Everything above that is long-term capital gain.

Disqualifying disposition (sold too soon): the discount measured at the purchase date, meaning the full spread between the purchase-date value and what you paid, is ordinary income. Any remaining gain or loss after that is a capital gain or loss. Selling immediately locks in the discount as cash but generally makes most of the benefit ordinary income.

Two practical notes. ESPP ordinary income is generally reported on your W-2 but not subject to federal income tax withholding (and, for qualified plans, it is exempt from Social Security and Medicare tax too, in both qualifying and disqualifying sales). That is a quiet advantage over RSUs and NSOs, but it also means a sale can leave an estimated-tax gap much like RSUs do, since nothing was withheld. And brokers very commonly report a cost basis on your 1099-B that leaves out the discount already taxed as income, which leads people to overpay unless the basis is corrected using Form 3922 and your W-2.

Where this trips people up

Paying tax twice by mishandling basis

The most common ESPP mistake. Brokers routinely report a 1099-B cost basis that omits the discount already taxed as ordinary income, so you can pay tax twice unless you adjust the basis using Form 3922 and your W-2. Check the cost basis before you file.

Missing the estimated-tax gap

ESPP ordinary income is generally reported on your W-2 but not withheld on, in both qualifying and disqualifying sales. A large sale can leave a balance due, and even an underpayment penalty, if you do not set aside cash or make an estimated payment.

Assuming holding always wins

Holding to qualify can lower the tax rate on part of the gain, but it also concentrates risk in a single stock and ties up cash. The tax tail should not wag the dog; the right answer depends on your full picture, not the holding rule alone.

Confusing the two discount measurements

A qualifying disposition measures the ordinary-income discount at the offering date; a disqualifying disposition measures it at the purchase date. They can be very different numbers, which is why the disposition type changes your tax, not just your timing.

Treating an ESPP like ISOs on AMT

An ESPP purchase does not create an AMT preference item the way an ISO exercise can. If you hold both, do not assume the ESPP carries the same AMT risk; the planning is different.

ESPP questions people ask

Do I owe tax when I buy ESPP shares?

For a qualified Section 423 plan, generally no. The tax event is usually the sale, not the purchase. (The discount eventually gets taxed; it is just measured and reported when you sell.)

Is an ESPP worth it if I sell right away?

Often, yes. Selling immediately is a disqualifying disposition, so most of the benefit is taxed as ordinary income, but you still captured a real discount that did not depend on the stock rising. Many people use an ESPP precisely this way to limit single-stock risk. Whether it fits your situation is a personal finance question worth thinking through.

What is the difference between a qualifying and disqualifying disposition?

A qualifying disposition means you held at least two years from the offering date and one year from the purchase date; more of your gain gets long-term capital gain treatment. A disqualifying disposition is selling before meeting both, which makes a larger slice ordinary income.

How much can I put into an ESPP?

Qualified plans cap purchases at $25,000 per year measured by the offering-date value, not the discounted price you pay. Your employer may also cap your payroll deduction at a percentage of pay, and your real limit is whichever you hit first.

Does an ESPP trigger AMT like ISOs?

No. Unlike an incentive stock option exercise, buying shares through a qualified ESPP does not create an AMT preference item. That is one practical advantage of ESPPs over ISOs.

Why does my broker's cost basis look wrong?

Brokers often report a 1099-B basis that excludes the discount already taxed as income, which would make you pay tax on it twice. The fix is to adjust your basis using Form 3922 and the amount reported on your W-2. This is one of the most common and costly ESPP filing errors.

Keep reading

Trying to decide what to do with your ESPP shares?

Weighing the discount, the holding periods, the estimated taxes, and the basis details is exactly the kind of work I do with clients. If you want a second set of eyes before you sell, I am happy to help. Here is how to start a conversation.

Become a Client
Andrew Sedlacek, CPA

Andrew Sedlacek, CPA

Founder, OGCPA

Andrew is a Certified Public Accountant and the founder of OGCPA. He built his tax career at a local Bend firm and on Deloitte's tax team before founding the firm in 2019, and began professionally as a licensed financial advisor. He focuses on equity compensation, liquidity events, and the tax side of charitable giving and wealth distribution, and serves as the tax subject-matter expert for a venture-backed AI company. He works with clients across Bend, Oregon and the San Francisco Bay Area.

This article is general information, not tax or legal advice for your specific situation. Tax outcomes depend on your individual facts, and the rules change over time. Talk to a qualified professional (I am happy to be that person) before acting on anything here. Reading this page does not create a client relationship.