XLK vs XLP — 26-Year Performance Comparison
Technology vs Consumer Staples — backtested 1999–2024
XLK wins$104,919 vs $66,700 on $10,000 over 26 years
XLKTechnology
Final value$104,919
CAGR+9.5%
Max drawdown-74.3%
Best year+62% (2009)
Years won15 of 26
XLPConsumer Staples
Final value$66,700
CAGR+7.6%
Max drawdown-15.4%
Best year+28% (2019)
Years won11 of 26
Growth of $10,000
1999–2024XLKXLP
XLK$104,919
XLP$66,700
50/50 mix$106,525
50/50 blend: $106,525 (+9.5%/yr CAGR)
Splitting equally between XLK and XLP would have outperformed both individually — diversification smoothed the ride. Try a custom split →
Year-by-year: XLK vs XLP
| Year | XLK | XLP | Winner |
|---|---|---|---|
| 2024 | +24.0% | +14.7% | XLK |
| 2023 | +57.8% | -1.3% | XLK |
| 2022 | -28.2% | -3.2% | XLP |
| 2021 | +34.5% | +18.6% | XLK |
| 2020 | +43.9% | +10.7% | XLK |
| 2019 | +50.3% | +27.6% | XLK |
| 2018 | -1.6% | -8.5% | XLK |
| 2017 | +38.8% | +13.7% | XLK |
| 2016 | +13.9% | -2.4% | XLK |
| 2015 | +4.3% | +7.0% | XLP |
| 2014 | +19.8% | +16.0% | XLK |
| 2013 | +27.7% | +26.1% | XLK |
| 2012 | +14.0% | +10.8% | XLK |
| 2011 | +2.7% | +14.0% | XLP |
| 2010 | +11.1% | +14.1% | XLP |
| 2009 | +61.7% | +14.9% | XLK |
| 2008 | -42.3% | -15.4% | XLP |
| 2007 | +16.4% | +14.3% | XLK |
| 2006 | +12.2% | +14.3% | XLP |
| 2005 | +1.6% | +3.1% | XLP |
| 2004 | +3.7% | +5.6% | XLP |
| 2003 | +49.6% | +12.6% | XLK |
| 2002 | -37.5% | -5.6% | XLP |
| 2001 | -31.2% | +1.2% | XLP |
| 2000 | -40.2% | +17.2% | XLP |
| 1999 | +61.0% | -9.0% | XLK |
More comparisons
Build your portfolio
Mix XLK + XLP with custom allocations
Try a 70/30 or 40/60 split — or add up to 3 more ETFs. See exactly how your custom portfolio would have performed.
Open Portfolio Builder →Past performance does not guarantee future results.