Skip to content
Equity Compensation
Browse topics
Explainer Updated 2026

ESPP vs 401(k): where should the next dollar go

Both are good. They do different jobs, and the order you fund them in can leave real money on the table. Here is the priority I use.

ESPPs · Strategies

You have one extra paycheck dollar and two good places to put it. So which wins, the ESPP or the 401(k)? Neither always wins, and treating it as one-or-the-other is the mistake. They pay off on different clocks, and funding them in the right order is worth more than picking a favorite.

I will say the part most people skip. The best place for a dollar is wherever it earns the most certain return for the least lock-up. By that test, the two are not even competing for the same dollar.

What each one actually does

Strip away the labels and look at what you are buying with the dollar.

You buy company stock at a discount, and with a quick sale you collect that discount in months, not decades. The return is fast and close to certain if you sell soon after each purchase. The catch is that the money flows through one stock, the one that already pays you, so the liquid speed comes with concentration if you hold.

You set money aside before tax, it grows sheltered for decades, and if your employer matches, part of your contribution is doubled on the spot. The return on the match is immediate and enormous. The tradeoff is lock-up: the money is meant to stay put until retirement, with penalties for pulling it early.

These are not rivals. One is a fast, liquid discount. The other is a long-term, tax-sheltered account with a possible instant match. A good plan uses both.

The order I fund them in

When clients ask me which to max first, I do not start with either. I start with the free money, then work down by how certain and how liquid the return is.

Capture the full 401(k) match first

An employer match is the highest, most certain return you will ever see on a dollar. Money the company adds for free beats any discount. Contribute at least enough to grab every dollar of match before anything else.

Then max a good ESPP and sell quickly

With the match captured, a real ESPP discount with a lookback is often the next-best return, and it is liquid in months. Max it, sell soon after each purchase, and recycle the cash. You are collecting a fast, near-certain gain without locking money up for decades.

Then fill the rest of the 401(k)

Once the match is secured and the ESPP discount is working, circle back and push more into the 401(k) for the long-term tax shelter. This is slower money, so it comes after the fast wins.

The match is the one non-negotiable

If money is tight enough that you can only do one thing, do this: contribute enough to get the entire 401(k) match. Walking away from a match to fund anything else is leaving a guaranteed return on the table.

The limits that size each bucket

The annual ESPP purchase limit is $25,000 of stock value per calendar year 2026, measured at the offering-date price. The 401(k) employee contribution limit is set by the IRS and adjusts most years, so check the current-year figure for your plan before you size the contribution.

The wrinkles that change the order

The priority above is the default, not a law. A few things can shift it, and they are worth a look before you set it and forget it.

A weak or no ESPP

A token discount with no lookback is not the high return a good plan is. If your ESPP is thin, the extra dollars belong in the 401(k) instead.

Cash-flow timing

The ESPP holds your money for months before you see stock, while the 401(k) comes out evenly each check. If fronting the ESPP would strain your month, ramp it up over a couple of cycles as the recycled cash makes room.

Concentration you already carry

If RSUs and past purchases have already stacked your net worth into company stock, the ESPP discount is still worth capturing, but selling quickly matters even more. The discount is the reward. It is not a reason to add to a position that is already too big.

What this means for you

Grab the full 401(k) match first, because that is free money and nothing beats it. Then, if your ESPP has a real discount and a lookback, max it and sell soon after each purchase to collect a fast, liquid gain. Then pour the rest into the 401(k) for the long haul. For whether your specific ESPP clears the bar and the sell-or-hold call before you keep any shares, read is maxing out your ESPP worth it.

If you are juggling an ESPP, a 401(k), and a stack of RSUs on the same paycheck and want the order set for your numbers, talk it through with me.

More in ESPPs

Still have questions about your equity?

Join the community to ask directly, or take the two-minute fit check to see if a planning call makes sense.