I Backtested Perfect Market Timing for 32 Years. The Worst Timer Still Made $240,000
What if you invested $1,000 every year at the market's exact best day, or its exact worst?
Imagine three investors. Each puts $1,000 into SPY, the S&P 500 fund, once a year from 1994 to 2025, and never sells. The first has a crystal ball and always buys at the year's lowest close. The second has the worst luck in history and always buys at the year's highest close. The third doesn't think about it and buys on the first trading day of January.
A fourth investor is so worried about bad timing that they never buy stocks at all and put the same $1,000 a year into Treasury bills. All four put in exactly $32,000 over 32 years. Here is what each has on October 23, 2026, with dividends reinvested.
Perfect timing, 32 years in a row, beat the worst possible timing by about $73,000. It beat doing nothing clever by about $31,000. Those are real gaps. But the gap between the worst timer and the person who never invested is about $194,000, almost three times as large. Every version of being in the market crushed every version of staying out.
Why the entry day matters less than it feels
Within any single year, the timing gap is big. On average the year's highest close was 31.6% above its lowest, ranging from 9.9% in the calmest year to 89.1% in the wildest. So why does a lifetime of perfect timing only add 11% over buying in January?
- Each new $1,000 is a smaller and smaller share of the pot. By 2020 the account held tens of thousands of dollars; buying that year's $1,000 at the perfect price barely moved it.
- The worst day is usually late in a rising year. The year's highest close came in December in 21 of the 32 years. The unlucky investor wasn't buying before crashes; mostly they were buying a few weeks before the next January, at a price the market soon passed.
- Time in the market does the heavy lifting. A 1994 dollar compounds for 32 years whatever day of 1994 it went in. The difference between a good and a bad entry gets dwarfed by everything that happens after it.
There were stretches when the T-bill investor was ahead. At the 2009 low, after $16,000 put in, T-bills held $20,705 while the perfect timer had $15,645, the January buyer $13,965 and the worst timer $11,283. Even the crystal ball was under water. What separated the outcomes wasn't the entry day. It was who stayed put through 2008 and who didn't.
| Date | Put in so far | Perfect timer | First-day buyer | Worst timer | T-bills |
|---|---|---|---|---|---|
| Oct 9, 2002 (dot-com low) | $9,000 | $10,539 | $9,737 | $8,159 | $11,095 |
| Mar 9, 2009 (financial crisis low) | $16,000 | $15,645 | $13,965 | $11,283 | $20,705 |
| Mar 23, 2020 (COVID low) | $27,000 | $81,329 | $73,140 | $61,831 | $33,487 |
| Oct 23, 2026 (today) | $32,000 | $312,917 | $281,592 | $240,063 | $46,295 |
Look at that table the other way round. The thing that hurt every stock investor, perfect or not, was the deep drawdowns. At the 2009 low all three stock accounts were below the money put in, and at both the 2002 and 2009 lows T-bills were ahead of everyone. If entry timing is a small lever, the depth of the drops you sit through is the big one.
The bigger lever: stepping aside in bad environments
So I ran one more test. I use a daily market regime signal that reads the environment as Risk ON, Neutral or Risk OFF; its history starts in August 2018. Same idea as above, $1,000 a year from 2019 to 2025 (seven deposits, $7,000), but now some accounts also follow the signal: in SPY in Risk ON and Neutral, in cash at 0% in Risk OFF.
Even buying at the worst price of every year, the account that sidestepped Risk OFF periods ended with more than the perfect timer who held through everything. In this window, avoiding the worst of 2020 and 2022 was worth more than seven years of flawless entries.
What the signal costs you
- It is a backtest. The signal's history before March 2026 was generated by the model after the fact, so treat the exact figures as an upper bound, not a promise. Seven years and seven deposits is also a small test.
- It misses rallies. The signal version trailed plain SPY in 2019 and 2025, years when being out of the market cost money.
- It trades. It moved into or out of cash about 7 times a year. In a taxable account those trades create taxable gains; in an IRA they don't.
- Cash earned nothing in the signal test. A money-market yield on the idle days would have helped a little.
My take
If you're waiting for the perfect moment to invest, the data says stop. Thirty-two years of perfect timing beat January buying by 11%, and the unluckiest investor alive still ended with five times what T-bills paid. The decision that actually moves your result is whether you hold through deep drawdowns, and how much risk you carry into them.
That second part is something you can check today. Many portfolios carry more crash risk than their owners think, because the same few big stocks show up in every fund they own.
Questions readers ask
How much does perfect market timing really add?
In this test, $1,000 a year in SPY from 1994 to 2025 bought at each year's lowest close grew to $312,917 by October 2026. Buying on the first trading day of each year grew to $281,592, so 32 years of perfect timing added about 11%.
What if you always invested at the worst time?
Buying $1,000 at each year's highest close from 1994 to 2025 still grew to $240,063, about 23% less than perfect timing but more than five times the $46,295 the same deposits earned in T-bills.
Is it better to wait for a dip before investing?
Waiting for the perfect dip added little here. The year's highest close came in December in 21 of 32 years, so the 'worst' buyer was mostly buying late in rising years. Staying invested mattered far more than the entry day.
What matters more than the entry day?
Avoiding deep drawdowns. In a backtest of $1,000 a year from 2019 to 2025, buying at every year's worst price but sitting in cash on Risk OFF days ended at $17,432, above the $17,020 of perfect timing without it. The rule follows a daily macro regime forecast that scores market stress, liquidity, sentiment and the economic cycle and calls Risk ON, Neutral or Risk OFF. Results are hypothetical, and the forecast's history before March 2026 was generated after the fact.
Does market timing ever work?
Only a little, even when it is perfect. Buying $1,000 of SPY at every year's lowest close from 1994 to 2025 beat buying on the first trading day of January by about 11% ($312,917 vs $281,592 by October 2026). The gap between the worst timer and someone who stayed in T-bills was about $194,000, almost three times larger than the gap between perfect and worst timing.
Is it a bad idea to invest when the market is at a high?
Not in this test. The worst timer bought at each year's highest close from 1994 to 2025, which came in December in 21 of the 32 years, and $32,000 put in still grew to $240,063 by October 2026.
Is it safer to keep money in cash than risk bad timing?
Not over the long run. $1,000 a year in T-bills from 1994 to 2025 grew to $46,295 by October 2026, less than a fifth of what the worst possible stock timer had. Cash was ahead at the 2002 and 2009 lows, but by the March 2020 low the worst timer had $61,831 against $33,487 in T-bills.
How big is the gap between the best and worst day to invest each year?
Big within a single year. From 1994 to 2025 the year's highest close was on average 31.6% above its lowest, ranging from 9.9% in the calmest year to 89.1% in the wildest. Over 32 years of yearly deposits, though, the worst timer ended only about 23% behind the perfect one.
Did even perfect timing lose money in a crash?
Yes. At the March 9, 2009 low, after $16,000 put in, the perfect timer had $15,645, the first-day buyer $13,965 and the worst timer $11,283, while T-bills held $20,705. What separated the outcomes later was who stayed invested through 2008.
What does $1,000 a year in the S&P 500 grow to?
In this test, $1,000 in SPY on the first trading day of each year from 1994 to 2025, $32,000 in total with dividends reinvested, grew to $281,592 by October 23, 2026.
How I tested it
- Prices: SPY daily closes adjusted for dividends and splits, 1994 to October 23, 2026.
- Each plan adds $1,000 once a year for 32 years (1994–2025) at that year's lowest close, highest close or first trading day, and holds to October 23, 2026. Highs and lows are on dividend-adjusted closes and are only known in hindsight.
- T-bills: the same $1,000 on the first trading day of each year, earning the 13-week T-bill rate daily.
- Signal test: 2019–2025 deposits; each day's exposure is set by the previous day's regime reading (no look-ahead). Risk ON and Neutral = 100% SPY; Risk OFF = cash at 0%. No trading costs or taxes.
- The regime signal's history from August 2018 to March 2026 was generated by the model after the fact; readings since then were published live.
Backtested, hypothetical results: not actual trading, and they may not reflect taxes, fees or trading costs beyond those stated. Past performance, actual or hypothetical, does not guarantee future results. This is education, not personal investment advice.
Next strategy test: Buying the day before a crash →
All 20 strategies compared in one test: All 20 strategies, one test →