How to Prioritize Your 401(k), HSA, ESPP, and Other Employee Benefits

Key Takeaways:
- Employer money usually deserves the first look. A 401(k) match or an employer contribution to your health savings account (HSA) is money you generally can’t go back and collect later. Your plan’s vesting rules decide how much of the match you keep.
- The HSA and the 401(k) win on different things. An HSA offers tax advantages for medical costs but requires an HSA-eligible health plan, while a 401(k) offers much higher contribution limits. Your expected healthcare costs and cash flow shape which one gets the next dollar.
- An ESPP discount and holding company stock are two separate decisions. Buying through an employee stock purchase plan (ESPP) at a discount can add value, but keeping the shares adds to the exposure you already have through your paycheck and equity awards. Weigh both with your total employer exposure in mind.
Open enrollment, or a new offer letter, has a way of putting every benefit in front of you at once. Your 401(k), your health savings account (HSA), your employee stock purchase plan (ESPP), and a handful of other elections all ask for a share of the same paycheck. For many high earners, there isn’t enough to fill every one to the limit.
That makes the order you fund them in almost as important as which ones you choose. For the full tour of a MedTech benefits package, including insurance and deferred compensation, start with our guide to making the most of your MedTech employee benefits. The narrower question is where your next available dollar should go, and the answer depends on a handful of factors you can check for yourself.
Why There’s No Single Right Order for Every Employee
There’s no universal order because the value of each benefit depends on how your employer built it and what your household needs. A generous match, an employer HSA deposit, or a large ESPP discount can each move a benefit up the list, while tight cash flow or a heavy position in company stock can move one down.
These are the factors that tend to change the order:
- The match formula and vesting schedule on your 401(k).
- Whether your employer deposits money into your HSA.
- Your ESPP’s discount, purchase periods, and any lookback feature.
- How much healthcare you expect to use this year.
- How much cash you already have set aside.
- Your current tax bracket and the one you expect later.
- How much of your net worth already depends on your employer.
MedTech packages vary widely, so two coworkers at different companies, or even in different roles at the same company, may land on different orders. That’s why it helps to work from your own plan documents rather than a rule of thumb. Our page on financial planning for MedTech professionals covers how equity and benefits tend to fit together in this industry.
Start With Employer Money You Can’t Collect Later
Employer contributions are usually the first thing to check, because money you don’t claim this year generally doesn’t roll forward. A 401(k) match is the most common example. If your employer matches a percentage of what you put in, contributing less than the amount needed for the full match leaves part of that money unclaimed.
Some employers also deposit money into your HSA when you choose an HSA-eligible health plan. That deposit is part of the health plan’s value, and it can change the comparison between plans at open enrollment.
Timing matters too. If you front-load your 401(k) and hit the annual limit early, some plans stop matching for the rest of the year unless they offer a true-up, which is a year-end deposit that makes up the difference. Vesting is a separate question. The match lands in your account, but the vesting schedule decides how much of it you keep if you leave before a set number of years.
P6 Tip: Match formulas, true-up provisions, employer HSA deposits, and vesting schedules vary by employer and can change from year to year. Confirm the current terms in your own plan documents before you set contribution amounts.
Make Sure You Have Enough Cash Before Locking Money Away
Before you put more into any of these accounts, make sure you have enough cash set aside. Money that goes into a 401(k), HSA, or ESPP isn’t easy to pull back out when a surprise expense hits, and getting to it early can mean taxes, penalties, or waiting until a set date. An emergency reserve gives you somewhere else to turn.
Before you raise any contribution, look at how reachable each dollar would be:
- 401(k) Contributions: Money in a 401(k) is meant for retirement, and withdrawals before retirement age can trigger taxes and penalties unless an exception applies. That makes it the least flexible place for money you might need in the next few years.
- HSA Contributions: HSA money can pay for qualified medical expenses at any time without tax. Withdrawals for anything else are taxable and generally face an additional 20% tax before age 65.¹
- ESPP Payroll Deductions: Your ESPP contributions come out of your paycheck after tax and sit with the plan until the purchase date. Until then, they lower your take-home pay, which can squeeze a monthly budget more than people expect.
Putting more into tax-advantaged accounts can look like the disciplined choice. A plan that leaves you short on cash, though, may force you to undo it later, often at a cost.
Choosing Between an HSA and a 401(k) After the Match
Once you’ve captured the match, the HSA vs. 401(k) decision usually comes down to whether you’re eligible for an HSA, how much healthcare you expect to use, and how much cash flow you have. Each account has advantages the other doesn’t, so neither one wins for every household.
These are the differences that matter most when you’re deciding where the next dollar goes:
Eligibility: You can contribute to an HSA only if you’re covered by a high-deductible health plan (HDHP) and don’t have other disqualifying coverage, such as Medicare.¹ A 401(k) has no health plan requirement.
Contribution Limits: For 2026, the HSA limit is $4,400 for self-only coverage and $8,750 for family coverage.² The 401(k) employee limit is $24,500,³ so the 401(k) can hold far more of a high earner’s savings. Our summary of retirement plan contribution limits for 2026 lists the catch-up amounts and other account limits.
Tax Treatment: HSA contributions can lower your taxable income, and withdrawals for qualified medical expenses come out tax-free. Contributions made through your employer’s cafeteria plan are generally exempt from Social Security and Medicare taxes as well.⁴
Trade-Offs: An HDHP means more of your medical costs come out of pocket before coverage starts paying. If your family expects heavy medical use, the higher deductible may offset much of the HSA’s tax value, depending on your situation and the plan’s costs.
Some people treat the HSA as a long-term account, paying today’s medical bills from cash and leaving the HSA invested. That approach raises its own questions about investing, record-keeping, and withdrawals later in life, and it only works if your cash flow can cover current medical bills.
Where an ESPP Fits When Cash Is Limited
An ESPP lets you buy company stock through payroll deductions, often at a discount. Some plans also have a lookback, which means the discount is applied to whichever stock price is lower, the price at the start of the offering period or the price on the purchase date. For example, if the stock was $50 at the start and $60 on the purchase date, a plan with a 15% discount and a lookback would price your shares off $50, so you’d pay $42.50 per share. This example is hypothetical and doesn’t reflect any specific plan.
It helps to treat an ESPP as two decisions. The first is whether to buy at the discount, and the second is whether to keep the shares after you buy.
Some employees sell soon after purchase because it may capture much of the discount without adding to company stock exposure. Share prices can still move before you sell, and selling before the special holding period ends generally means part of your gain is taxed as ordinary income. Your employer should send Form 3922 after your first transfer or sale, which reports the dates and values you’ll need at tax time.⁵
Holding has its own tax rules. You meet the holding period if you don’t sell until the later of one year after the shares were transferred to you or two years after the option was granted.⁶ Meeting it can change how much of the gain is ordinary income versus capital gain, but it also means carrying more company stock for longer. Our ESPP guide walks through these tax and cash-flow decisions in more depth.
Then there’s concentration. Your salary, bonus, equity awards, and any company stock in your 401(k) may already depend on the same business, so ESPP shares belong in that total. If company stock already makes up a large share of your wealth, our article on diversifying when much of your wealth is in company stock covers ways to reduce it.
Weighing Your Goals Once the Basics Are Covered
After the match, a cash cushion, and your HSA and ESPP decisions, the next dollar depends more on your goals and tax picture than on any single benefit. Your options may include raising 401(k) contributions toward the limit, choosing between pre-tax and Roth contributions, funding an IRA, or saving in a taxable brokerage account for goals before retirement, such as a home or college. If your plan allows after-tax contributions, our explanation of the mega backdoor Roth shows how that option works.
A life event can reshuffle several of these choices at once. A raise might put you in a higher bracket, which can make pre-tax contributions more valuable and free up room to fund an HSA in full. A new child might raise your expected medical costs, increase how much cash you want on hand, and move college savings up the list in the same year.
Consider a hypothetical MedTech employee who has an HDHP, a 401(k) match, and an ESPP, and who can’t fund all three to the limit. The decision points they might work through could look like this:
- Match: Confirm the contribution rate that earns the full match and whether the plan offers a true-up.
- Cash Reserve: Check that savings would cover a surprise expense or a gap in pay before raising contributions.
- HSA: Compare expected out-of-pocket costs under the HDHP with the HSA’s tax value and any employer deposit.
- ESPP: Decide how much to buy and, separately, whether to keep or sell shares based on existing company exposure.
- Remaining Savings: Split anything left among additional 401(k) contributions, Roth options, and goals outside retirement.
This example is illustrative only. It ignores investment growth, taxes, and inflation, doesn’t predict any result, and isn’t a recommendation for your situation.
Employee Benefits Priority FAQs
1. Should You Contribute to an ESPP Before Getting the Full 401(k) Match?
For many employees, the match comes first because it’s employer money that generally can’t be collected later, while an ESPP uses your own after-tax pay. A large ESPP discount or a short purchase period might change that, depending on your cash flow and how much company stock you already own.
2. What Happens to HSA Contributions When You Enroll in Medicare?
You can’t contribute to an HSA once you’re enrolled in Medicare.⁷ You can still use the money already in your HSA for qualified medical expenses, so it helps to plan your final contributions before you sign up.
3. Can You Contribute to an HSA if You Don’t Have a High-Deductible Health Plan?
You generally need coverage under an HSA-eligible HDHP and no other disqualifying coverage to contribute. If you lose eligibility, the balance you already have can still pay for qualified medical expenses.
4. Do ESPP Contributions Count Toward Your 401(k) Limit?
ESPP purchases come from after-tax payroll deductions under a separate plan, so they don’t count toward your 401(k) deferral limit. They do compete for the same paycheck, which is why the order you fund them in still matters.
5. How Should You Prioritize Benefits if Your Employer Doesn’t Offer a Match?
Without a match, the first decision usually shifts to cash reserves and tax value. An HSA, if you’re eligible, pre-tax or Roth 401(k) contributions, and an IRA each offer different tax treatment and flexibility, so the order depends on your income, healthcare costs, and goals.
Deciding Where Your Next Benefit Dollar Goes With Your Whole Plan in View
Perspective 6 Wealth Advisors works with MedTech employees and other high-earning professionals to coordinate 401(k), HSA, ESPP, and equity decisions with taxes, cash flow, company stock exposure, and the goals they’re saving for. That includes looking at how your employer’s plans are built and how each election fits the rest of your financial picture.
If you’d like a second set of eyes before open enrollment or your next contribution change, schedule a complimentary consultation with our team.
Resources:
- Internal Revenue Service, Publication 969: Health Savings Accounts
- Internal Revenue Service, Revenue Procedure 2025-19: HSA Inflation-Adjusted Amounts
- Internal Revenue Service: 401(k) and IRA Contribution Limit Increases
- Internal Revenue Service, Publication 15-B: Employer’s Tax Guide to Fringe Benefits
- Internal Revenue Service, Topic No. 427: Stock Options
- Internal Revenue Service, Publication 525: Taxable and Nontaxable Income
- Internal Revenue Service: Instructions for Form 8889





