Skip to main content
Quant Investing Lab

Retirement accounts

How to Protect Your 401(k) From a Market Crash: What the Data Supports

How do I protect my 401k from a market crash? What the data supports: allocation, steady contributions, and bonds. And the panic moves that make it worse.

John Bergerat
By John Bergerat, MSc Quantitative Finance·
16 min read
Blue ink illustration: a small figure bolts storm shutters onto a lighthouse above a raging sea, one shutter tagged BEFORE, while enormous waves break against the rock below.

How do I protect my 401(k) from a stock market crash? Mostly before the crash, and mostly with structure: an allocation calibrated so that a bad year is survivable, contributions that keep flowing while shares are cheap, and a clear view of which assets actually cushioned past crashes (plus the one recent year when none of them did). What the data does not support is the move most people actually make, which is selling after the fall and buying back after the recovery.

One number reframes the whole question: a 50% loss needs a 100% gain just to get back to even. Protection is therefore mostly about limiting the depth of the hole before the fact, not about reacting once you are standing in it. And one structural fact works quietly in your favor: a 401(k) is not a lump sum. It buys every payday, through the trough, at prices a lump-sum investor would need real courage to accept.

This note walks through what a crash does to a retirement account, what held up in 2000-02, 2008, 2020, and 2022, the documented menu of protections with their trade-offs, and the panic moves whose cost shows up in the data. It is education, not personalized advice. The goal is that you can weigh the trade-offs yourself.

A crash hurts twice: once on the screen, once in the math

Losses and gains are not symmetric. If your balance falls 10%, you need an 11.1% gain to recover. Fall 30%, and you need 42.9%. Fall 50%, and you need a full 100%. The reason is simple: the gain has to be earned on a smaller base.

If the portfolio fallsIt must then gain to break even
10%11.1%
20%25.0%
30%42.9%
40%66.7%
50%100.0%
The Gain Required to Recover Grows Faster Than the LossIf losses and gains were symmetricGain actually required-10% → +11.1%-30% → +42.9%-50% → +100%0%10%20%30%40%50%60%Portfolio loss0%40%80%120%160%Gain needed to break even
The gain required to recover grows faster than the loss itself, which is why limiting drawdown depth matters more than reacting to it.

This curve is the quantitative case for thinking about protection before a crash rather than during one. A portfolio built so that a severe bear market costs it 25% instead of 50% does not need half the recovery. It needs a 33% gain instead of a 100% gain, roughly a third of the climb.

But the curve describes a lump sum sitting still, and a 401(k) does not sit still. Payroll contributions keep arriving every two weeks, whatever the market is doing. During 2000 through 2002, the S&P 500 posted three consecutive negative years, a cumulative 37.4% decline with dividends reinvested. Anyone still contributing in 2001 and 2002 was buying shares 20% to 37% below the prior peak, twenty-six times a year, without needing to feel brave about it. The 2000 paychecks bought closer to the top; the discount built as the bear ground on.

Those cheap shares were profitable long before the index itself reclaimed its old high. This is the 401(k)'s structural advantage over a lump sum, and most of the protection menu below works by not interrupting it.

The same returns in a different order: $1.13 million or $429,000

Here is the piece of crash arithmetic that surprises people the most. It is called sequence-of-returns risk, and for an account that receives monthly contributions, when a crash happens matters as much as whether it happens.

The simulation is fully specified, so you can rebuild it in a spreadsheet. Take 35 years. Assign 32 of them a +9% return and three of them a -25% crash. Contribute $500 a month, booked as $6,000 at each year-end after that year's return applies. Now run it twice with the same 35 returns, permuted:

  • Account A takes the three crash years early, in years 2 through 4.
  • Account B takes the same three crash years at the end, in years 33 through 35.

Both accounts experience an identical set of returns: the arithmetic average is 6.1% per year in both, and the compound growth rate of the sequence is the same 5.6%. Both contribute the same $210,000 in total. Account A finishes at $1,134,715. Account B finishes at $429,094.

Same Returns, Different Order: the Cost of a Late Crash$1,134,715$429,094Crash in years 2-4, then calmSame crash, moved to years 33-3505101520253035Year ($6,000 contributed at each year-end)$0$300k$600k$900k$1200kAccount value
Two accounts, identical contributions and identical returns in a different order: the early-crash account ends 2.6 times larger than the late-crash one.

Same average, 2.6 times the money. The mechanism is dollar-weighting. Account A's crash hits a balance of a few thousand dollars, and every contribution made during the crash buys cheap shares that then compound for three decades. Account B's crash hits nearly a million dollars, after the compounding is already done — its biggest dollars meet its worst returns.

I build backtesters and Monte Carlo engines for a living, and I ran this simulation three ways for this piece: monthly contributions, annual contributions, and contributions booked mid-year. The exact endings shift by a few percent; the ordering and the size of the gap never change.

Two implications follow directly from the mechanism, not from opinion. First, for a saver in their 20s or 30s, a crash is arithmetically closer to a sale than a catastrophe, provided contributions continue. Second, the danger zone is the decade around retirement, when the balance is at its maximum and a crash does Account B damage. That asymmetry is precisely what glide paths, covered next, exist to manage.

What held up in past crashes, and the year nothing did

When I computed the episode table below from Aswath Damodaran's annual total-return series at NYU Stern, one column behaved and one column told a more complicated story. Here are the four major crash episodes of the past quarter century, stocks against US 10-year Treasuries, dividends and coupons included:

EpisodeS&P 500 total returnUS 10-year Treasury total return
Dot-com bust, 2000-02 (cumulative)-37.4%+41.8%
Global financial crisis, 2008-36.5%+20.1%
Covid crash year, 2020+18.0%+11.3%
Inflation shock, 2022-18.0%-17.8%
Stocks vs 10-Year Treasuries in Four Crashes (Total Return)-37.4%+41.8%Dot-com 2000-02(cumulative)-36.6%+20.1%2008+18.0%+11.3%2020-18.0%-17.8%2022-50%-25%0%25%50%S&P 500 (peach when negative)US 10-year Treasury
Treasuries cushioned the two growth-driven crashes, 2020 round-tripped inside a single year, and 2022 is the episode where the cushion itself deflated.

The first two rows are the classic pattern. In 2000-02, while stocks lost more than a third, 10-year Treasuries returned 16.7%, 5.6%, and 15.1% across the three years, a cumulative gain of 41.8%. In 2008, stocks fell 36.5% and Treasuries returned 20.1%. When recessions and deflation scares hit, rates fall, bond prices rise, and the bond sleeve of a portfolio absorbs part of the shock. That is the entire empirical case for holding bonds you do not otherwise find exciting.

The 2020 row deserves its own sentence: the fastest crash in modern history happened in February and March, and by December 31 the S&P 500 had finished the year up 18.0%. An investor who spent 2020 doing absolutely nothing captured that entire round trip.

Then there is 2022, and this caveat is not optional. Stocks lost 18.0%; 10-year Treasuries lost 17.8%, statistically the same drawdown. Bonds are a shock absorber against growth shocks, because those pull interest rates down. They are not a shock absorber against inflation shocks, because those push rates up and hit stocks and bonds together. Any protection plan built entirely on "bonds go up when stocks go down" was tested in 2022 and failed the test. Diversification across asset classes narrows the distribution of outcomes; it does not guarantee a cushion in every scenario.

The documented menu, tool by tool

None of what follows is a recommendation. It is the set of mechanisms that exist inside or around a 401(k), each with the trade-off stated.

ToolMechanismTrade-off
Age-based allocation / glide pathCaps drawdown depth as the balance growsGives up expected return in strong years
Target-date fundAutomates the glide path and rebalancingOne-size glide; two funds with the same date can differ a lot
Rebalancing bandsForces systematic buying of the fallen assetFeels terrible to execute in the moment
Continued contributionsBuys through the trough automaticallyNone financial; purely a test of nerve
Stable value fundBook-value accounting smooths principalLow long-run return; transfer restrictions
Roth / traditional splitHedges future tax rates, not market riskComplexity; neither side is free

Age-appropriate allocation is the direct answer to the recovery-math curve. The equity share determines how deep the hole can get; the bond share determines the cushion (with the 2022 caveat attached). The sequence simulation above shows why the appropriate depth changes with age: the same crash is a discount at 30 and a structural loss at 60.

Target-date funds industrialize that logic, stepping equity exposure down along a published glide path. The mechanism is sound and the automation removes the weakest link, which is the investor's own timing. The trade-off is that the glide is generic, and glide paths with the same retirement year can vary meaningfully in equity share across providers. The prospectus states the path; it is a two-minute read.

Rebalancing bands (for instance, acting when an allocation drifts five percentage points from target) convert volatility into a disciplined buy-low, sell-high rule. Inside a 401(k) this has a property taxable accounts lack: no tax cost on the trades. The catch is behavioral. A rebalance during a crash means selling the asset that just protected you to buy the one that just fell.

Where do stable value funds fit?

Stable value funds exist almost exclusively inside employer plans, which makes them the one genuinely 401(k)-specific instrument on the menu. They hold short and intermediate bonds wrapped in insurance contracts that allow book-value accounting, so the reported principal does not swing daily with rates. The trade-off is symmetrical: an asset that cannot show a drawdown also compounds slowly, and wrap contracts typically restrict rapid transfers. As a place where the conservative slice of an allocation sits, they are a documented option; as a whole strategy, they concede the growth a retirement account exists to capture.

The Roth versus traditional split protects against a different crash: the one in your assumptions about future tax rates. Holding both types diversifies a risk no allocation chart shows. The mechanics are compared in our Roth versus traditional calculator, and if you want to stress-test allocations rather than tax treatment, the portfolio simulator runs those numbers on your own inputs.

Blue ink illustration: a small figure calmly stacks sandbags on a dike under a clear sky, while a storm front darkens the far horizon over the sea.
Every tool in the menu shares one property: it is put in place in calm weather. By the time the storm arrives, the dike is either built or it is not.

What people actually do instead, and what it costs

The behavior data is the strongest part of this whole file, because it is measured, not theorized.

Selling after the fall, rebuying after the recovery. Morningstar's Mind the Gap study compares the dollar-weighted returns investors actually earned with the total returns their own funds posted. Over the ten years ended December 2024, the average dollar in US funds and ETFs earned 7.0% per year against the funds' 8.2%: a gap of 1.2 percentage points per year, roughly 15% of the return the funds delivered. The gap exists because money flows in after gains and out after losses, and it widened in the fund categories with the most volatile cash flows. That is the recurring cost of timing, paid by people who owned the right funds.

Going to cash until things calm down. The scare statistic here is real: Javier Estrada computed that $100 invested in the Dow in 1900 grew to $25,746 by the end of 2006, but missing just the 10 best days, 0.03% of all trading days, cut the final sum by 65%, to $9,008. The honest version, though, requires the other half of his table: avoiding the 10 worst days raised the final sum by 206%. Both extremes are fantasy, and the reason is where those days live.

Meb Faber's follow-up found that roughly 60% to 80% of both the best and the worst days occur after the market has already started declining, because that is when volatility clusters. The best days and the worst days are neighbors — both live in the same high-volatility stretches, usually mid-bear-market. So the realistic outcome of going to cash is missing some of both, and the realistic cost is different: nobody reliably identifies, in real time, the day the regime turns. Inside a 401(k), where trades cost nothing and trigger no taxes, the panic exit is frictionless to execute and just as hard to reverse on time.

Raiding the account. A 401(k) loan taken during a crash pulls money out at depressed prices, and a hardship withdrawal does it with taxes and, often, a penalty stacked on top. Both convert a paper drawdown into a permanent one at the worst possible exchange rate. Sometimes life forces the choice; the data simply says it belongs in the emergency category, not the strategy category.

Can macro signals see a crash coming?

This is my corner of the field, so let me state its limits precisely.

The pattern in the episode table is not random: the deepest, longest drawdowns of the past 25 years, 2000-02 and 2008, wrapped around recessions, while the non-recession crash of 2020 round-tripped within months. Two indicators have real documentation behind them. The yield curve: Estrella and Mishkin's New York Fed research found the 10-year minus 3-month Treasury spread outperformed other financial indicators in predicting recessions two to six quarters ahead. The labor market: the Sahm rule flags a recession underway once the three-month average unemployment rate rises 0.50 percentage points above its low of the prior twelve months.

Here is what the documentation does not say: that these signals time the stock market. The sample is a handful of recessions since the 1960s, the lead times vary by quarters, and 2022 delivered an 18% down year, a 25% drawdown at its October trough, with no recession at all. My master's thesis at HEC Lausanne applied the Bailey et al. probability-of-backtest-overfitting framework to trading signals on US stocks, and the central lesson transfers directly: with this few independent events, a rule that looks prophetic in a backtest is often noise wearing a suit. I treat macro signals as a research and monitoring problem, not a timing service. My research note on anticipating market crashes documents the backtests, including where they disappoint.

Questions people ask when markets fall

Should I stop contributing during a crash?

That is a personal cash-flow decision, so here is the data instead of an answer. In the sequence simulation above, the account that kept contributing straight through its crash finished at $1,134,715, and the crash-era contributions were the highest-returning dollars it ever invested. Contributions made near the 2002 and 2009 troughs bought shares 37% to 40% below the prior peak. In the simulation, the contributions never stop; in practice they stop when household cash runs out, which makes crash protection partly a cash-buffer question rather than a portfolio one. How much to contribute in the first place is its own question.

What happens if I just do nothing?

Doing nothing has a measured track record. The 2020 crash year closed up 18.0%. The 2022 loss was recovered, with dividends, by the end of 2023. The 2008 collapse took until 2012 to recover on a total-return basis, and the dot-com bust took until 2006, seven calendar years.

Those are the worst cases on record for a do-nothing lump sum; an account still receiving contributions broke even earlier in each episode. Against that, the measured cost of doing something, per Mind the Gap, averaged 1.2 percentage points per year.

Does dollar-cost averaging work in a crash?

Dollar-cost averaging is not something a 401(k) owner adopts; it is what the account already does by payroll. Mechanically, a fixed dollar amount buys more shares at lower prices, which lowers the average cost per share relative to the average price paid. It does not guarantee a profit and it does not beat a lump sum in a rising market. What it does, and what the sequence chart shows, is convert a long trough from pure damage into accumulation.

How long do crashes last historically?

The NBER's business cycle chronology puts the average US recession at 10.3 months from peak to trough across 1945-2020. Market recoveries spread wider: months in 2020, two calendar years for 2022, five years for 2008, seven for the dot-com bust, all measured on total return. The honest summary is a range, not a promise, and the range is the reason the protection tools above are structured around years of patience rather than weeks of forecasting.

A crash will eventually arrive; the average of one recession roughly every six postwar years guarantees it. The data's answer to how to protect your 401(k) from a market crash is that almost all of the protection is installed in advance, in the allocation, the glide, and the payroll deduction, and almost none of it is available in the moment, when the only cheap thing left is the shares.