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

> Hold the S&P 500 above its 200-day moving average and T-bills below, checked daily. Rules, backtest, yearly returns, and a live version.

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; the live version is at https://tactfolio.com/s/tactfolio/sp500-200-day-timing.

The 200-day moving average strategy holds the S&P 500 while it closes above its average of the last 200 daily closes. When it closes below, the strategy holds Treasury bills. Jeremy Siegel described the rule in *Stocks for the Long Run* (1994). Michael Gayed and Charles Bilello tabulated the plain daily version in their 2016 paper "Leverage for the Long Run".

## Key points

- The 200-day moving average is one of the most widely watched trend signals.
- The rule checks the S&P 500 every day and holds either stocks or Treasury bills.
- Its main benefit is lower risk, not higher return.
- Since mid-2007 its worst drop was about 22%, against 55% for the S&P 500.
- It loses money in choppy, sideways markets, when prices keep crossing the average.

## What is the 200-day moving average?

The 200-day moving average is the average closing price of the last 200 trading days, updated each day. A **moving average** smooths out daily ups and downs so you can see the trend. Each day the newest close is added and the oldest one drops off.

Two hundred trading days is a little less than a calendar year. When the price is above this line, the market is usually in an uptrend. When it is below, it is usually in a downtrend.

## Why follow the 200-day moving average?

The rule aims to step aside during the worst part of long market falls. The worst stretches for stocks have mostly happened below the 200-day average. Volatility, meaning how much prices swing, also tends to be higher there.

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, it sits out the middle of long bear markets, the long stretches of falling prices.

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 does the 200-day moving average strategy work?

At the close of every trading day, the rule compares the S&P 500 with its 200-day average.

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). Treasury bills are short-term US government debt, so they act like cash.

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.

Here is a made-up example. Say SPY closes at $510 and its 200-day average is $500. It is above the line, so you hold SPY. If the next day it closes at $495, it is below the line, so the rule moves to BIL.

## What the backtest shows

Figures quoted here were measured on prices through 2026-09-25. The chart and tables at https://tactfolio.com/strategies/200-day-moving-average are recomputed after every market close.

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](https://tactfolio.com/strategies/60-40-portfolio.md).

Its worst drawdown was about 22%. A drawdown is how far a portfolio falls from its last high point. That is far smaller than the S&P 500's 55% and the 60/40 portfolio's 33%. But on risk-adjusted return, the return for each unit of risk, 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%. It lost 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](https://tactfolio.com/docs/simulated-history.md), the test starts in 1960. Over that span it returned about 10% a year, close to the S&P 500's 10.5%. It had 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. It gained 21% in 1987, when it stepped aside before the October crash. Its worst simulated drawdown ran from mid-1999 to April 2003.

Every figure here is a hypothetical backtest on past prices, after trading costs. It is not a record of real trades or a promise about the future. Our guide to [reading a backtest](https://tactfolio.com/docs/concepts/reading-a-backtest.md) shows how to judge results like these.

## When does the 200-day moving average strategy struggle?

The 200-day rule struggles when markets move sideways or crash and rebound fast.

- **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. 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.

## How to try the 200-day moving average on Tactfolio

The live strategy at the top of this page runs the plain rule each day on SPY and BIL. Copy it to add a band around the average or try a different length. You can change both in the [visual builder](https://tactfolio.com/docs/builder.md).

You can also compare it with [Faber's monthly 10-month version](https://tactfolio.com/strategies/faber-10-month-moving-average.md), which checks only once a month. The [Golden Cross](https://tactfolio.com/strategies/golden-cross.md) uses the 200-day average too, but compares it with a 50-day average.

## The rules as implemented

Runs daily, rebalancing every run, with signals and trades at the close:

- Weight: Equal
  - If: current price of SPY is above 200d moving average of SPY
    - Then:
      - Weight: Equal
        - **SPY**
    - Otherwise:
      - Weight: Equal
        - **BIL**

## Sources and caveats

- [Leverage for the Long Run, 2016 Charles H. Dow Award paper (CMT Association PDF)](https://docs.cmtassociation.org/dow-award/2016-gayed-bilello.pdf)
- [Jeremy J. Siegel, Stocks for the Long Run (1994; 6th edition 2022)](https://www.mhprofessional.com/stocks-for-the-long-run-9781264282197-usa)

- 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. You hold the S&P 500 while it closes above its average price of the last 200 trading days. You 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. 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 look back over nearly the same stretch, since ten months is about 210 trading days. The 200-day rule averages every daily close and is checked every day. Faber's 10-month rule averages ten month-end closes and is checked only at month end. That means fewer trades but slower reactions.

### Can I use the 200-day moving average on QQQ or other funds?

Yes, the rule works the same way on any fund with enough price history. This page only tests it on the S&P 500. Copy the live strategy, swap SPY for a fund such as QQQ, and run the backtest to see how the change would have done.

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

Yes. Gayed and Bilello's [Leverage Rotation Strategy](https://tactfolio.com/strategies/leverage-rotation-strategy.md) holds a two- or three-times leveraged S&P 500 fund above the average instead of the index itself. Leverage makes losses bigger as well as gains. These funds reset daily, so held for longer their returns can differ a lot from the multiple in their name. Our [TQQQ strategies test](https://tactfolio.com/learn/tqqq-strategies.md) shows how the rule did with a 3x Nasdaq 100 fund back to 1986, crash by crash.

### Can I automate the 200-day moving average strategy?

Yes. Copy the live strategy and run it in Trade on a Tactfolio paper account or in your own Alpaca account, paper or live. Trade runs it on a daily schedule and only trades when SPY crosses its average. It is long only, holds US-listed ETFs, and uses the starting balance you choose.
