While you might hear friends or coworkers obsess over their 401(k) performance and brag about double-digit returns, should you rush to join them before you have an emergency fund set up?
There are good arguments for both choices. But Stoy Hall, CEO and founder of the financial planning firm Black Mammoth, told Investopedia that people should build their emergency fund first. “If you don’t have at least three to six months of expenses set aside, investing is premature,” he said.
Building up a few months of expenses in emergency savings before aggressively funding retirement accounts will help prevent you from cannibalizing your future wealth during temporary setbacks. But if you don’t need those emergency funds anytime soon, you will likely miss out on significant long-term gains in your retirement account.
Key Takeaways
- Emergency funds provide immediate access to cash during financial crises, while 401(k) withdrawals come with penalties and taxes.
- Market volatility makes 401(k) returns unpredictable, but emergency funds offer guaranteed financial stability when you need it most.
- Delaying contributions to your 401(k) also comes with costs, especially if you’re giving up employer matching funds. You could miss out on years of compounding returns.
Early 401(k) Withdrawals Carry Penalties
If you run into an emergency situation and need cash quickly, an emergency fund is more useful than a 401(k).
Early 401(k) withdrawals — before age 59.5— typically cost you 10% in penalties plus your regular income tax rate. If you’re in the 12% tax bracket and withdraw $5,000 for an emergency, you’ll have $1,500 taken off the top in taxes or penalties. That includes $1,000 automatically withheld for federal taxes, $250 of which you should eventually get back as a refund, and an early withdrawal penalty of $500.
Your emergency fund, meanwhile, would give you immediate access to every dollar you’ve saved.
Emergency Funds Can Be More Reliable
Your 401(k) returns depend entirely on market conditions you can’t control. The S&P 500 index, a benchmark used to discuss the ups and downs of the market overall, gained 24% in 2023, but lost 19% in 2022. Meanwhile, your emergency fund, which could be earning 4% in a high-yield savings account, can provide consistent, guaranteed growth, regardless of market chaos.
This reliability becomes crucial during economic downturns. Job losses often coincide with market crashes—exactly when your 401(k) balance is at its lowest. An emergency fund protects you from the double punch of unemployment and portfolio losses. Drawing from an emergency fund instead of a 401(k) keeps you from selling at the worst moment, when the market is at a bottom.
Important
Our calculations indicate that a $10,000 401(k) withdrawal at age 35 could result in about $164,000 in lost retirement wealth by age 65, assuming the average returns for the S&P 500 since 2000 (about 10%). On the other hand, never investing that $10,000 in the first place and diverting it to emergency savings would result in a similar loss.
The Argument for Building Your 401(k) First
To be sure, delaying retirement contributions also comes with significant costs. You won’t benefit from employer matching, which represents a risk-free gain, and you will likely forego years of compounded returns.
While an early withdrawal penalty would sting in the event of an emergency, so, too, would watching the S&P 500 climb higher every year before you’re able to get any money invested. And the taxes saved on the earnings that went into the 401(k) should roughly offset the taxes you pay when making an early withdrawal—unless your income has risen sharply.
Savings accounts can return as much as 4% as of May 2025, but rates were far lower for most of the past two decades, as the stock market was steadily climbing. That means your money won’t grow nearly as quickly in an emergency fund as it would in a retirement account.
The Bottom Line
Deciding how to prepare for a financial emergency isn’t much fun, and the ultimate decision comes down to personal choice. Some people may feel more comfortable having cash easily at hand, while others prefer to let their money work harder. For some, maybe a balance of cash and investment makes the most sense.