XLP Long-Term Returns vs SPY: Does Holding XLP Win?
Long-Term Comparison โข XLP Long-Term Returns vs SPY: Does Holding XLP Win?
๐ก Summary
How did holding XLP compare with holding SPY over the historical test? XLP returned 6.96% annually versus 8.50% for SPY, with a shallower maximum drawdown. The result describes a historical period and does not establish future performance.
Key Metrics & Specifications
| Test Period | 1998-12-22 to 2026-11-27 |
| Strategy CAGR | 6.96% |
| Strategy Max Drawdown | -35.89% |
| Strategy Sharpe | 0.52 |
| SPY CAGR | 8.50% |
| SPY Max Drawdown | -55.19% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 6.96% |
| Rules | Buy US consumer staples stocks (XLP) at the start and hold it with dividends reinvested. Compare with holding SPY over the same dates. Decisions use the close; trades fill at the next day's close. |
| Out-of-Sample CAGR | 9.89% vs SPY 13.91% from 2018-07 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 6.96% | -35.89% |
| SPY | 8.50% | -55.19% |
Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.
1998-12-22 โ 2026-11-27. Export dated 2026-11-29. Historical simulation; future results can differ. Read the underlying experiment.
โก Interactive Compound Growth Simulator
Adjust initial investment and holding duration to calculate compounded terminal wealth.
* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.
The question behind the comparison
A reader may want to know whether holding US consumer staples stocks offered a useful balance between long-term returns and declines compared with the broader S&P 500.
What the rules do
The test holds XLP from the start, reinvests dividends, and compares it with holding SPY over the same dates. Decisions use the close, with trades filled at the next day's close.
Consumer staples exposure can appeal to readers interested in a sector-focused alternative to the broader market. The strategy was invested in something other than cash on 99.97% of days.
What the results show
From 1998-12-22 to 2026-11-27, XLP had an annualized return of 6.96%, compared with 8.50% for SPY. Its maximum drawdown was -35.89%, compared with -55.19% for SPY; both had a Sharpe ratio of 0.52.
In the out-of-sample period starting 2018-07, XLP returned 9.89% annually versus 13.91% for SPY. Its Sharpe ratio was 0.68, compared with 0.77 for SPY.
With trading costs doubled from 0.1% per leg, the strategy's annualized return remained 6.96% and its maximum drawdown remained -35.89%. The test recorded 1 trade, so this cost check offers limited evidence about more frequently traded strategies.
Where the approach struggles
XLP lagged SPY's annualized return over the full period and in the out-of-sample period. A shallower historical drawdown did not prevent substantial losses: in 2002, XLP returned -20.09% versus -21.58% for SPY.
The strategy concentrates exposure in consumer staples and remains invested rather than moving to cash during declines.
This is historical research, not a forecast. Past simulated results do not predict future returns.
โ ๏ธ Risk Considerations
Historical backtests cannot establish how either holding will perform in the future. Concentration in consumer staples and a substantial historical drawdown are risks to consider when interpreting this comparison.
๐ฏ Target Audience
This page is for readers comparing long-term consumer staples exposure with the broader US stock market.
Frequently Asked Questions (FAQ)
Q. Did XLP outperform SPY over the full test?
No. XLP returned 6.96% annually, while SPY returned 8.50%.
Q. Did XLP have a smaller maximum drawdown?
Yes. XLP's maximum drawdown was -35.89%, compared with -55.19% for SPY.
Q. Did higher trading costs change the result?
In the doubled-cost run, the strategy's annualized return remained 6.96% and its maximum drawdown remained -35.89%. The test recorded 1 trade.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.