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