What is an ESPP?
A plan, open to most employees, where you set aside part of your pay and the company uses it to buy shares on set dates. A qualifying plan can price the shares as low as 85% of the stock's value, so the discount can be as large as the gap between full value and that floor. There is a yearly cap on how much stock you can buy, and the plan can't grant an option to someone who owns 5% or more of the company.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Publication IRS Publication 525 (2025)
423(b)(1)-(9): shareholder approval; the owner bar; coverage of all employees with permitted exclusions; equal rights; the price floor; a limited offering length; the accrual cap at grant value; nontransferability. A plan can be a
section 423 plan with a smaller discount, or none.
How big is the discount really, and what is a lookback?
The price can be no lower than the lesser of 85% of the stock's value on the grant date or a formula price that is at least 85% of the value on the purchase date. Many plans use the lower of the two dates (a lookback). If the stock rose between the grant and the purchase, you pay 85% of the old, lower value, so your discount from the purchase-day price can be far larger than the headline number. That is also why the pay part of an early sale can be large.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.423-2
423(b)(6)(A)-(B). When the price is not fixed at grant, 423(c) and Reg. 1.423-2 figure the grant-date price as if the option had been exercised at grant.
What is the yearly ESPP limit, and is it measured on what I pay?
The plan can't let your purchase rights build up faster than $25,000 of stock value for each calendar year, and that value is the stock's price on the grant date, not the discounted price you pay. So you spend less cash than that figure, and a later rise in the stock price does not reduce the number of shares you may buy. The unused part of a year can't be carried over to another option, and many plans set a lower cap of their own.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.423-2
423(b)(8)(A)-(C): rights accrue when the option, or a part of it, first becomes exercisable in the calendar year; the rate cannot exceed the limit at grant-date value; a right that accrued under one option does not carry to another. Reg. 1.423-2 works an example. The limit applies across all of the employer's, parent's and subsidiaries' plans. The plan normally enforces the cap on your purchases. See the limit example.
Who can join an ESPP, and who can't?
Most employees. The plan has to offer options to all employees, though it may leave out short-service employees, those who work part-time or seasonally, and highly compensated employees. Anyone who owns 5% or more of the company's voting power or value, counting shares they could buy under options, can't be granted an option. Everyone who joins gets the same rights, although the amount can scale with pay.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Code I.R.C. § 424
423(b)(3)-(5). Family and entity ownership is attributed to the individual for the owner test (424(d)). The permitted exclusions are in 423(b)(4)(A)-(D); the numeric tests (service, hours, months) are statutory figures not yet in the library.
When do I owe tax on ESPP shares?
Not when you buy. You owe tax when you sell. How the profit splits between pay and capital gain depends on how long you held the shares and on how the plan priced them.
Sources
What is a qualifying ESPP sale, and how is it taxed?
You sell more than 24 months after the grant and more than 12 months after the purchase. If the plan priced the shares below the grant-date value, you report as pay the smaller of two amounts: the grant-date value minus the price you paid (the discount at grant), or your actual profit. The rest of the profit is long-term capital gain. If you paid the grant-date value or more, all of it is capital gain. If you sell at a loss, it is a capital loss with no pay income.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.423-2
- Publication IRS Publication 525 (2025)
423(c)(1)-(2): the lesser of the excess of value at disposition over the amount paid, and the excess of grant-date value over the option price; basis rises by the amount included; no withholding. If the price was not fixed at grant it is figured as if exercised at grant. Pub. 525 example: a floor-priced plan, a qualifying sale. See the qualifying-sale example.
What if I sell early (a disqualifying sale)?
Then the pay part is the stock's value on the purchase date minus the price you paid, whatever you sell for. It is added to your basis, and the difference between the sale price and the increased basis is a capital gain or loss, short-term if you held 12 months or less from the purchase and long-term if more.
Sources
Authority, strongest first
- Code I.R.C. § 421
- Publication IRS Publication 525 (2025)
Pub. 525: this ordinary income is not limited to the gain from the sale. The loss cap in 422(c)(2) names incentive stock options only, so on our reading it does not apply to ESPP stock. Income is in the year of the sale (421(b)).
Can I owe pay income on ESPP shares and still lose money?
Yes. If you sell early after the stock has dropped below your cost, the pay part is still the purchase-date value minus your price, and the sale produces a capital loss on top of it. Overall your cash result is a loss, but the return shows ordinary income and a capital loss. The loss offsets other capital gains, and beyond that only up to $3,000 a year against ordinary income, with the rest carried forward.
Sources
Authority, strongest first
- Code I.R.C. § 1211(b)
- Code I.R.C. § 421
- Publication IRS Publication 525 (2025)
1211(b) limits the net capital loss deduction against ordinary income (half the amount for married filing separately). Because the character is mismatched, a fast sale after a drop can leave a worse tax result than the cash result. See the falling-price example.
My plan has no discount. Is there still pay income?
On a qualifying sale, no: if the price was at or above the grant-date value, all the gain is capital gain. On an early sale, the pay part is the purchase-date value minus the price, which is zero if you paid full value on the purchase date. A lookback can create a discount even in a plan that does not call it one.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.6039-1
- Publication IRS Publication 525 (2025)
423(c) applies only when the option price was less than the grant-date value. Form 3922 is required only for a 423(c) option (price below the grant-date value or not fixed at grant) (Reg. 1.6039-1(b)).
How long can an ESPP offering last?
Not long. The law caps how long an option can stay open, and the cap is shorter when the price is not tied to the stock's value on the purchase date. Many plans use purchase periods of several months inside a longer offering, with the grant date at the start of the offering.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.423-2
423(b)(7)(A)-(B): a longer cap when the price is at least the floor percentage of value at exercise, a shorter one otherwise. The two figures are statutory and are listed as a pending library leaf. Reg. 1.423-2 on the option period and the date of grant.
Do Social Security and Medicare tax apply to ESPP income?
No. Wages for those taxes don't include income from a transfer of ESPP or ISO stock, or from a later sale of that stock. Your employer also isn't required to withhold income tax on the early-sale income or on the qualifying-sale pay part. Your employer should still report the pay income to you in box 1 of Form W-2; if it doesn't, you add it to your return yourself.
Sources
Authority, strongest first
- Code I.R.C. § 3121(a)(22)
- Code I.R.C. § 421
- Code I.R.C. § 423
- Publication IRS Publication 525 (2025)
3121(a)(22) excludes remuneration on account of the transfer or any disposition; 421(b) and 423(c) say no amount must be withheld under chapter 24. Pub. 525 says the employer 'should report' the ordinary income as wages in box 1 and that income not otherwise reported goes on Schedule 1 (line 8k on the 2025 form).
What if I leave my job?
To buy shares, you must have been an employee from the grant until 3 months before the purchase. Most plans end your participation when you leave and refund your payroll contributions, so check yours. Shares you already own stay yours, and both timers keep running.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Final regulation Treas. Reg. § 1.421-1
- Publication IRS Publication 525 (2025)
423(a)(2). Reg. 1.421-1(h) treats a leave of absence of up to 3 months, or longer if reemployment rights are protected by statute or contract, as continuous employment. The longer period for a disabled employee in 422(c)(6) is written for incentive stock options only. What happens to contributions at termination is a plan term.
What is my basis in ESPP shares, and why does my broker's number differ?
Your basis is the price you paid plus any amount you reported as pay on the sale. For options granted in recent years, the basis on Form 1099-B does not include the pay part, so it is usually too low. Fix it on Form 8949 with code B, using the numbers on Form 3922.
Sources
Authority, strongest first
- Publication IRS Publication 525 (2025)
- Form instructions Instructions for Form 8949 (2025)
Pub. 525: for options granted on or after the 2014 start date, Form 1099-B basis won't reflect amounts included in income on grant or exercise, and the adjustment is your responsibility. Form 8949 instructions: where basis was reported to the IRS, keep the form's basis in column (e) and put the correction in column (g); where it was not, enter the correct basis in column (e) and zero in column (g).
What is Form 3922, and when does it arrive?
A statement for ESPP shares bought at a price below the grant-date value (or a price not fixed at grant). It shows the grant date and value, the purchase date and value, your price, the number of shares and the date title first transferred. Your company must give it to you by January 31 of the year after the transfer, or the next business day if that is a weekend or holiday. It is issued once, for the first transfer, so you may not get a new one when you later move shares to a broker.
Sources
Authority, strongest first
- Code I.R.C. § 6039
- Code I.R.C. § 7503
- Final regulation Treas. Reg. § 1.6039-1
- Form instructions Instructions for Forms 3921 and 3922 (Rev. April 2025)
6039(a)(2), (b), (c)(2); Reg. 1.6039-1(b) (including a first transfer to a broker, and a deposit into an account set up under a prior agreement). Pub. 525 ties the form to the year of a sale, but the statute, the regulation and the form instructions tie it to the first transfer of legal title; we follow the regulation. Exception: no Form 3922 for a first transfer by a nonresident alien employee who received no Form W-2 from the grant year through the transfer year (Instructions for Forms 3921 and 3922). The weekend rule is our reading of
section 7503. Filing with the IRS:
March 1, 2027 on paper and
March 31, 2027 electronically, by our reading of the General Instructions for Certain Information Returns (2025 edition lists the same pattern).
What happens to ESPP shares when the owner dies?
Death is treated like a qualifying sale for the pay part: the lesser of the grant-date discount and the gain at death is included as compensation on the final return, whenever the death occurs. If an option is still open, the estate may exercise it without meeting the holding-period or employment rules.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Code I.R.C. § 421
423(c) ('in the event of his death (whenever occurring) while owning such share'); 421(c)(1)-(3) (exercise by an estate; the 691(c) estate tax deduction; basis). We did not work the interaction with the step-up in basis.
Is giving away or moving my shares a sale for the timers?
A gift counts as a disposition, so it can start the disqualifying treatment. Moving shares into joint ownership with a right of survivorship does not by itself, a pledge is not a disposition, and a transfer to a spouse or under a divorce is not one either (the new owner takes over your timers).
Sources
Authority, strongest first
- Code I.R.C. § 424
424(c)(1) (sale, exchange, gift or transfer of legal title; exclusions for transfers to an estate, nontaxable exchanges, and a mere pledge), (c)(2) (joint tenancy), (c)(4) (
section 1041 transfers).
Should I hold my ESPP shares or sell at purchase?
That is your call, and it turns on risk as much as on tax. What the tax rules do: selling at purchase turns the whole purchase-date discount into pay and ends your exposure to a price drop. Waiting for both timers limits the pay part to the discount at grant, at most, and makes the rest long-term gain, but you carry the price risk meanwhile. Work out both sides with your Form 3922 numbers before you decide.
Sources
Authority, strongest first
- Code I.R.C. § 423
- Publication IRS Publication 525 (2025)
423(c) (the cap on the qualifying pay amount) against 421(b) (the full purchase-date spread on an early sale). The scenario in this hub runs the same shares both ways.