401(k)
Roth IRA
Traditional IRA
Mega Backdoor Roth
ESPP
RSU
Stock Options
Roth Conversion
NIIT

Equity Compensation and Retirement Planning: Coordinating 401(k), IRA, and Stock Plans

Strategic guide to coordinating equity compensation with retirement accounts. Covers 401(k) maximization, Mega Backdoor Roth, IRA deductibility limits, Roth conversions, ESPP coordination, age-based strategies, and tax-bracket management for tech employees.

17 min read

Executive Summary

Quick Answer

How should I coordinate equity compensation with my retirement accounts?

Maximize pre-tax 401(k) contributions to offset taxable equity income, use Mega Backdoor Roth if your plan allows it, avoid holding employer stock in your 401(k), and time Roth conversions during low-income years (job changes, sabbaticals). ESPP participants should balance purchase-period cash flow with 401(k) deferrals. The goal is tax diversification across pre-tax, Roth, and taxable accounts.

Source: IRS Publication 590-A, IRC Section 402(g)

Equity compensation creates a paradox for retirement planning. RSU vesting, option exercises, and ESPP sales generate large, lumpy taxable income events that can push you into higher tax brackets—yet most employees treat their 401(k), IRA, and equity plans as entirely separate decisions. The employees who build the most wealth coordinate all three, using retirement account contributions to offset equity income, timing Roth conversions strategically, and avoiding the trap of holding too much employer stock across every account.

The bottom line: Every dollar of RSU income taxed at 35%+ that could have been sheltered by a pre-tax 401(k) contribution is money left on the table. A coordinated strategy across your equity compensation, 401(k), IRA, and taxable accounts can save tens of thousands of dollars over a career—and dramatically reduce your retirement tax burden.1

Critical Warning: Holding employer stock in your brokerage account AND your 401(k) creates dangerous double concentration. If your company falters, you lose both your equity compensation value and a portion of your retirement savings simultaneously. Keep employer stock below 10% of total retirement assets.


2025/2026 Retirement Contribution Limits

Understanding current limits is the foundation of any coordinated strategy. SECURE 2.0 introduced enhanced catch-up provisions starting in 2025 for ages 60–63.

Account2025 Limit2026 LimitCatch-Up (Age 50+)Super Catch-Up (Age 60–63)
401(k) employee deferral$23,500$24,500+$7,500+$11,250
401(k) total (employer + employee)$70,000$71,000+$7,500+$11,250
Traditional/Roth IRA$7,000$7,000+$1,000+$1,000
ESPP annual limit$25,000 (purchase value)$25,000 (purchase value)N/AN/A
HSA (self-only / family)$4,300 / $8,550TBD+$1,000 (55+)+$1,000 (55+)

Source: IRS Notice 2024-80, IRS 401(k) Limits

Key Income Thresholds for 2025

ThresholdSingleMarried Filing Jointly
IRA deductibility phase-out (covered by employer plan)$79,000–$89,000$126,000–$146,000
Roth IRA contribution phase-out$150,000–$165,000$236,000–$246,000
NIIT threshold (3.8% surtax)$200,000$250,000
Top 37% bracket begins$626,350$751,600

Most tech employees with equity compensation blow past the IRA deductibility and Roth IRA contribution thresholds. This makes the 401(k) and Mega Backdoor Roth even more critical.


Maximizing 401(k) to Offset Equity Income

Why 401(k) Is Your Best Tool Against Equity Tax

When RSUs vest, you receive ordinary income taxed at your marginal rate. Pre-tax 401(k) contributions directly reduce your taxable income, effectively sheltering other earnings from the higher bracket your equity pushed you into.

Example: $200K salary + $100K RSU vesting

ScenarioTaxable IncomeFederal Tax (est.)Tax Savings
No 401(k) contribution$300,000~$67,200
Max 401(k) ($23,500 pre-tax)$276,500~$59,000~$8,200
Max 401(k) + Mega Backdoor Roth$276,500 + $46,500 after-tax→Roth~$59,000$8,200 + tax-free growth

The 401(k) contribution doesn't reduce your RSU withholding (that's calculated separately at the supplemental rate), but it reduces your total tax liability at filing, often resulting in a larger refund or smaller balance due.

Pre-Tax vs. Roth 401(k): The Equity Compensation Calculus

FactorPre-Tax 401(k)Roth 401(k)
Current tax bracket high (equity income year)Preferred—immediate deductionLess beneficial
Expect lower bracket in retirementStrong choiceLess optimal
Expect higher bracket in retirementLess optimalStrong choice
Already have large pre-tax balancesConsider Roth for diversificationPreferred
In your 20s–30s with decades of growthGoodExcellent—decades of tax-free growth

For most equity recipients in peak earning years, pre-tax contributions provide the greatest immediate benefit because equity income already pushes you into the 32%–37% brackets. However, if you're early in your career and in the 22%–24% bracket, Roth 401(k) contributions lock in today's lower rate for decades of tax-free growth. For a deeper look at how marginal rates interact with equity income, see our year-end tax planning guide.


The Mega Backdoor Roth Strategy

Quick Answer

What is the Mega Backdoor Roth and how does it work with equity compensation?

The Mega Backdoor Roth lets you contribute after-tax dollars to your 401(k) above the $23,500 employee limit—up to the $70,000 total annual limit (2025)—and then convert those after-tax contributions to a Roth account. This is especially powerful for equity recipients who already have high taxable income and are phased out of direct Roth IRA contributions. Not all 401(k) plans support it; check if yours allows after-tax contributions and in-plan Roth conversions.

Source: IRC Section 402(g), IRS Publication 560

How It Works

  1. Contribute the standard $23,500 pre-tax or Roth 401(k)
  2. Add after-tax contributions up to the $70,000 total annual limit (minus employee + employer contributions)
  3. Convert after-tax contributions to Roth 401(k) or roll out to a Roth IRA (in-plan conversion or in-service distribution)
  4. Result: Up to ~$46,500 additional Roth savings per year (varies by employer match)

Mega Backdoor Roth Calculation Example

ComponentAmount (2025)
Employee pre-tax/Roth deferral$23,500
Employer match (6% of $200K salary)$12,000
Remaining after-tax space$34,500
Total 401(k) contributions$70,000

That $34,500 in after-tax contributions, converted to Roth, grows tax-free forever. Over 20 years at 8% average returns, that single year's contribution becomes approximately $160,700 of tax-free retirement income.

Coordination with Equity Compensation

The Mega Backdoor Roth is especially valuable when your equity compensation already pushes you above Roth IRA income limits. Instead of being locked out of Roth savings entirely, you can funnel substantial amounts into Roth through your 401(k). This creates powerful tax diversification: pre-tax 401(k) balances for years when you need deductions, and Roth balances for tax-free income in retirement.


IRA Strategies When Equity Income Eliminates Deductibility

The Deductibility Problem

If you participate in an employer retirement plan (which includes having a 401(k)), your Traditional IRA deduction phases out at relatively low income levels. For 2025, the phase-out starts at $79,000 AGI (single). Most equity compensation recipients are well above this.

Your SituationTraditional IRA Deductible?Best Alternative
AGI below phase-out rangeYes, fully deductibleContribute to Traditional IRA
AGI within phase-out rangePartially deductibleEvaluate partial deduction vs. Roth
AGI above phase-out, below Roth phase-outNoContribute to Roth IRA directly
AGI above Roth phase-out ($165K+ single)No direct RothBackdoor Roth IRA

The Backdoor Roth IRA

For high-income equity recipients phased out of both deductible IRA and direct Roth IRA contributions:

  1. Contribute $7,000 to a non-deductible Traditional IRA
  2. Convert to Roth IRA (ideally within days)
  3. Pay tax only on any gains between contribution and conversion (minimal if done quickly)

Pro-rata warning: If you have existing pre-tax IRA balances, the conversion will be partially taxable under the pro-rata rule. Roll pre-tax IRA balances into your 401(k) first to avoid this.

Source: IRS Publication 590-A


Roth Conversions in Low-Income Years

The Strategic Window

Equity compensation income is often lumpy—large vesting events followed by gaps during job transitions, sabbaticals, or startup phases. These low-income windows are prime opportunities for Roth conversions.

Life EventWhy It's a Conversion Window
Job transition (gap between employers)Lower income bracket; RSU vesting paused
Sabbatical or leaveReduced or no salary income
Startup equity (pre-liquidity)Equity has value but no taxable income until exit
Early retirement or coast-FIRELiving off savings; low taxable income
Post-layoffSeverance may be lower than normal compensation

Conversion Tax Math

Example: Engineer leaves $400K/year job, takes 6 months off

ItemHigh-Income YearTransition Year
Salary income$400,000$100,000
RSU vesting$150,000$0
Total income (before conversion)$550,000$100,000
Roth conversion amount$80,000
Marginal rate on conversion37%22%
Tax on $80K conversion$29,600$17,600
Savings from timing$12,000

Use equity sale proceeds sitting in your brokerage account to pay the tax on the conversion without touching the Roth funds. This maximizes the amount that grows tax-free. For frameworks on when to sell equity to fund these strategies, see our hold vs. sell decision guide.


ESPP and 401(k) Contribution Coordination

The Cash Flow Balancing Act

Both ESPP and 401(k) contributions come from your paycheck. Contributing the maximum to both can create significant cash flow pressure—especially during ESPP purchase periods when 10–15% of your pay is being withheld.

Strategy401(k) DeferralESPP ContributionCash Flow Impact
Max both$23,500/year (~$903/paycheck)15% of payHeavy—may need equity sale proceeds to cover living expenses
Prioritize 401(k)$23,500/year5–10% of payModerate—401(k) match and tax deduction prioritized
Prioritize ESPPEnough to get full match15% of payModerate—ESPP discount (often 15%) is guaranteed return
BalancedFull match + moderate extra10% of payManageable for most

ESPP Decision Framework

The typical ESPP offers a 15% discount on the lower of the grant-date or purchase-date price, with a lookback provision. This is essentially a guaranteed 15%+ return over 6 months—far exceeding any risk-free investment.

Recommended priority order:

  1. 401(k) up to employer match (free money)
  2. ESPP at maximum contribution (guaranteed 15%+ discount)
  3. 401(k) to maximum ($23,500)
  4. Mega Backdoor Roth (if available)
  5. Backdoor Roth IRA ($7,000)
  6. HSA ($4,300 self/$8,550 family)
  7. Taxable brokerage investing

Important: Sell ESPP shares promptly after purchase to avoid building additional concentration risk in your employer's stock. The discount is your return; holding for additional upside converts a guaranteed gain into speculative single-stock exposure. For detailed ESPP tax strategies, see our ESPP tax strategies guide.


Age-Based Strategy: Coordinating Equity and Retirement by Life Stage

20s–30s: Build the Roth Foundation

PriorityActionRationale
1Roth 401(k) contributions (if in 22–24% bracket)Lock in low rates for 30+ years of tax-free growth
2Mega Backdoor RothMaximize tax-free compounding runway
3Sell RSUs at vesting, invest in diversified index fundsAvoid concentration; build diversified taxable account
4Max ESPP, sell immediatelyCapture guaranteed discount; reinvest broadly
5Backdoor Roth IRAAdditional $7,000/year of tax-free growth

In your 20s–30s, time is your greatest asset. Every Roth dollar contributed now has 30–40 years of tax-free compounding. If your equity income is still in the 22–24% bracket, paying tax now (Roth) instead of deferring (pre-tax) is likely the better long-term bet.

40s–50s: Shift to Tax-Bracket Management

PriorityActionRationale
1Pre-tax 401(k) (if in 32%+ bracket)Maximum deduction value during peak equity income years
2Mega Backdoor RothContinue building Roth balance for tax diversification
3Harvest tax losses in taxable accountsOffset RSU/option income where possible
4Plan Roth conversions for career transitionsConvert pre-tax balances during income dips
5Age 50+ catch-up contributions ($7,500 additional)Accelerate retirement savings

During peak earning years, every pre-tax dollar saves 32–37 cents in current taxes. Combine this with strategic equity sales and tax-loss harvesting to manage your overall bracket.

55–65: Pre-Retirement Optimization

PriorityActionRationale
1Super catch-up contributions (ages 60–63: $11,250 extra)SECURE 2.0 provision—maximize final accumulation
2Roth conversion ladder planningBegin converting pre-tax balances before RMDs start
3Review employer stock in 401(k) (NUA strategy)Net Unrealized Appreciation can save significant tax
4Consolidate and simplify accountsPrepare for retirement distributions
5Evaluate equity vesting against retirement dateTime final RSU vesting and option exercises

The Net Unrealized Appreciation (NUA) strategy allows you to distribute employer stock from your 401(k) and pay only ordinary income tax on the cost basis—with the appreciation taxed at long-term capital gains rates. This can be valuable if you've accumulated employer stock in your plan over many years.


Avoiding Concentration Risk Across All Accounts

The Hidden Concentration Problem

Many equity recipients unknowingly hold employer stock in multiple accounts, creating far more concentration than they realize:

AccountEmployer Stock Exposure
Vested RSUs/options (brokerage)Direct holdings
ESPP shares (if not sold)Direct holdings
401(k) company stock fundRetirement account exposure
401(k) target-date fundMay include employer in index
Taxable account (post-equity sale)If reinvested in employer

Best practice: Aggregate all employer stock exposure across every account. Keep total exposure below 10% of investable assets. For employees at mega-cap companies, even index funds will include your employer—this is acceptable at typical index weights (1–5%), but don't add additional concentrated positions on top.

For a comprehensive framework on managing concentrated positions, see our concentrated stock position diversification guide.


Tax-Bracket Management Across Equity and Retirement Accounts

The Bracket Optimization Framework

Strategic coordination of equity income and retirement account activity can keep you in lower tax brackets:

StrategyHow It WorksBest For
Accelerate 401(k) in vesting yearsMax pre-tax contributions in years with large RSU vestsEmployees with lumpy equity income
Roth 401(k) in light vesting yearsWhen equity income is lower, pay Roth tax at a lower rateYears between cliff vests
Bunch charitable deductionsDonate appreciated stock in high-income yearsThose with concentrated positions
Defer option exercises to low-income yearsExercise NSOs or ISOs during sabbaticals/transitionsEmployees with flexible exercise timing
Harvest losses to offset equity gainsSell depreciated investments to offset RSU/option incomeThose with diversified taxable portfolios

Multi-Year Planning Example

YearEquity EventIncomeStrategyTax Bracket
2025Large RSU cliff vest ($200K)$500KMax pre-tax 401(k); harvest losses35%
2026Normal quarterly vesting ($50K)$300KSwitch to Roth 401(k); Mega Backdoor32%
2027Job transition (3-month gap)$150KRoth conversion of $80K pre-tax IRA22% on conversion
2028New job, fresh RSU grant$350KBack to pre-tax 401(k); start new 10b5-132%

This kind of multi-year planning is where coordination between equity and retirement accounts creates the most value. For year-end strategies to optimize your tax position, see our year-end tax planning guide and RSU tax guide.


Frequently Asked Questions

Should I max out my 401(k) before investing equity proceeds in a taxable account?

Answer: In most cases, yes. The 401(k) offers either a tax deduction (pre-tax) or tax-free growth (Roth) that taxable accounts cannot match. The exception: if you need liquidity within 5 years (house down payment, etc.), taxable accounts provide penalty-free access. Priority order: 401(k) match → ESPP → max 401(k) → Mega Backdoor Roth → Backdoor Roth IRA → taxable.

Source: IRS Publication 560

Can I contribute to a Roth IRA if my equity compensation pushes my income above the limit?

Answer: Not directly—for 2025, Roth IRA contributions phase out at $150,000–$165,000 MAGI (single). However, you can use the Backdoor Roth IRA (non-deductible Traditional IRA contribution → Roth conversion) regardless of income. Also consider the Mega Backdoor Roth through your 401(k) for significantly larger Roth contributions.

Source: IRS Publication 590-A

How does ESPP participation affect my ability to max out my 401(k)?

Answer: Both come from your paycheck, so contributing 15% to ESPP and ~10% to 401(k) means 25% of gross pay is being deferred. Plan your cash flow carefully. Consider using proceeds from selling vested RSUs to supplement living expenses during heavy contribution periods.

Is it better to exercise stock options before or after making 401(k) contributions?

Answer: Timing option exercises to coincide with maximum 401(k) contributions is ideal—the pre-tax 401(k) deduction offsets some of the ordinary income from NSO exercises. For ISOs, consider exercising in years when you've already maximized pre-tax contributions and can use other strategies (AMT credit carryforwards) to manage the AMT impact. See our ISO vs. NSO guide for exercise-specific strategies.

What is the Net Unrealized Appreciation (NUA) strategy for employer stock in my 401(k)?

Answer: When you separate from service, you can distribute employer stock from your 401(k) in-kind rather than rolling it to an IRA. You pay ordinary income tax only on the original cost basis, and all appreciation (NUA) is taxed at the long-term capital gains rate when you eventually sell—regardless of your holding period in the plan. This can save 15–20% on the appreciation versus rolling to an IRA and paying ordinary income tax on all distributions.

Source: IRS Publication 575

Should I hold any employer stock in my 401(k)?

Answer: Generally, no. You already have significant employer exposure through unvested RSUs, vested shares, and ESPP. Adding more through your 401(k) increases concentration risk. The exception is if you're specifically planning an NUA strategy and are within a few years of separation from service.


Footnotes


Disclaimer: This guide discusses legal tax optimization strategies only. Tax evasion is illegal and is never recommended. This content is for educational purposes and does not constitute tax, legal, or financial advice. Tax laws vary by jurisdiction and change frequently. Always consult a qualified tax professional (CPA, tax attorney, enrolled agent) before making decisions based on this information. The authors accept no liability for actions taken based on this content.


Primary Sources

SourceTypeURL
IRS Publication 590-AOfficial Guidanceirs.gov/publications/p590a
IRS 401(k) Contribution Limits (2025)News Releaseirs.gov/newsroom/401k-limit-increases-to-23500-for-2025
IRC Section 402(g)Statutelaw.cornell.edu/uscode/text/26/402
IRS Publication 560Official Guidanceirs.gov/publications/p560
IRS Notice 2024-80Official Noticeirs.gov/pub/irs-drop/n-24-80.pdf
IRS Publication 575Official Guidanceirs.gov/publications/p575

Last Updated: March 2026 | Research Team: VestingStrategy

Footnotes

  1. The cumulative benefit of coordinating equity compensation with retirement accounts over a 20-year career can exceed $200,000 in tax savings, based on modeling by Vanguard and Fidelity for employees earning $200K+ with annual RSU vesting of $75K–$150K.

Disclaimer

This article is for educational purposes only and discusses legal tax optimization strategies. Tax evasion is illegal and is not discussed or recommended. The information provided does not constitute tax, legal, or financial advice.

Tax laws vary by jurisdiction and change frequently. Always consult a qualified tax professional (CPA, tax attorney, or enrolled agent) before making decisions based on this content. The authors and operators of this website accept no liability for actions taken based on this information.