200-Day Moving Average Strategy (S&P 500)

The classic 200-day moving average rule on the S&P 500. At every daily close it holds the S&P 500 while the index is above its average of the last 200 closes, and Treasury bills while it is below.

Designed by Jeremy Siegel, 1994; Michael Gayed and Charles Bilello, 2016. Implemented and tracked by Tactfolio.

1×2×3×5×20072011201520192023
Growth of $1, log scale. Strategy SPY. Hypothetical results on daily ETF prices with trading costs, through Sep 2026.
May 2007 – Sep 2026StrategySPY
Annual return (CAGR)8.3%10.7%
Worst drawdown-21.5%-55.2%
Sharpe ratio0.730.62
Volatility11.9%19.7%
Annual return since publication (Mar 2016)11.8%15.6%

The 200-day moving average rule is one of the most widely watched trend-following signals. Jeremy Siegel described it in Stocks for the Long Run (1994), and Michael Gayed and Charles Bilello tabulated the plain daily version in their 2016 paper "Leverage for the Long Run". Hold the S&P 500 while it closes above its average of the last 200 daily closes, and Treasury bills while it closes below.

The idea#

The worst stretches for stocks have mostly happened below the 200-day average, where volatility also tends to be higher. The rule does not try to call tops or bottoms. It accepts selling after a decline has started and buying back after a rebound has begun, in exchange for sitting out the middle of long bear markets.

As Siegel and the paper both note, the main benefit is lower risk rather than higher return. In strong bull markets the rule usually lags, because every false alarm costs a little.

How it works#

At the close of every trading day:

  1. Compare the S&P 500 (SPY) with its 200-day simple moving average.
  2. If SPY closes above its average, hold SPY.
  3. Otherwise, hold Treasury bills (BIL).

Siegel's version waits until the index is 1% above or below the average before switching; this page tests the plain rule without that band.

What the backtest shows#

With real prices the test starts in mid-2007. Since then the rule returned about 8% a year, against about 11% for the S&P 500 and 8% for a 60/40 portfolio. Its worst drawdown was about 22%, far smaller than the S&P 500's 55% and the 60/40 portfolio's 33%, but on risk-adjusted return it only matched the 60/40 portfolio, finishing just below it.

Its best year relative to the market was 2008, which it ended down about 3% while the S&P 500 lost 37%. The cost shows up in choppy years. It lost 13% from June to December 2007 while the market slipped 3%, and 10% in 2011 while the market gained 2%. Its worst drawdown, about 22%, came from April to September 2010, when the S&P 500 crossed its average again and again; it did not recover until March 2013. It also lagged in quick V-shaped rebounds, gaining about 16% in 2019 and 9% in 2020 against 31% and 18% for the market.

Since the paper appeared in early 2016 it has returned about 12% a year, with a clearly better risk-adjusted return than over the whole period.

With simulated history the test starts in 1960. Over that span it returned about 10% a year, close to the S&P 500's 10.5%, with a much better risk-adjusted return and a worst drawdown of about 26% against 55%. It gained 8% in 1974, when the market fell by a quarter, and 21% in 1987, when it stepped aside before the October crash. Its worst simulated drawdown ran from mid-1999 to April 2003.

When it struggles#

  • Sideways markets. When prices hover around the average, a daily check produces many small losses from buying high and selling low.
  • Fast crashes and rebounds. A fall of a few weeks can be over before the signal turns, and the rebound can be well underway before it turns back.
  • Strong bull markets. Any false alarm in a rising market leaves money on the table.

Using it on Tactfolio#

The live strategy runs the plain rule each day on SPY and BIL. Copy it to add a band around the average, try a different length, or compare it with Faber's monthly 10-month version, which checks only once a month.

Year by year

YearStrategySPY
2026*9.3%14.0%
202512.1%17.7%
202424.9%24.9%
202314.7%26.2%
2022-15.0%-18.2%
202128.7%28.7%
20209.4%18.3%
201916.3%31.2%
2018-1.2%-4.6%
201721.7%21.7%
201610.3%12.0%
2015-5.2%1.2%
201411.5%13.5%
201332.3%32.3%
201213.1%16.0%
2011-10.2%1.9%
2010-1.8%15.1%
200922.5%26.4%
2008-2.8%-36.8%
2007*-13.3%-3.4%

* Partial year.

The rules as implemented

This is the exact tree Tactfolio runs, rebalanced daily with signals and trades at the close. Open it to inspect or copy it.

  • StrategyS&P 500 200-Day Timing
    • WeightEqual
      • Ifcurrent price of SPY is above 200d moving average of SPY
        Then
        • WeightEqual
          • TickerSPY
        Otherwise
        • WeightEqual
          • TickerBIL

Sources and caveats

  • Follows the plain rule tabulated by Gayed and Bilello (Table 6). Siegel's version adds a 1% band around the average before switching; it is not used here.
  • SPY stands in for the S&P 500 total return index and BIL for 3-month Treasury bills.
  • Signals and trades use each day's close.

Common questions#

What is the 200-day moving average strategy?#

It is a trend-following rule: hold the S&P 500 while it closes above its average price of the last 200 trading days, and move to Treasury bills while it closes below.

Does the 200-day moving average strategy beat buy and hold?#

Not on return in most periods tested here. Since 2007 it returned less than the S&P 500 but with far smaller drawdowns, and in simulated history since 1960 it nearly matched the market's return with much lower risk.

What is the difference between the 200-day moving average and the 10-month moving average?#

They measure nearly the same trend, since ten months is about 210 trading days. The 200-day rule is checked every day, while Faber's 10-month rule is checked only at month end, which means fewer trades but slower reactions.

Can you use leverage with the 200-day moving average?#

Yes. Gayed and Bilello's Leverage Rotation Strategy holds a two- or three-times leveraged S&P 500 fund above the average instead of the index itself.