Independent fund research. Built on SEC filings.

How we research funds

Fund comparison

XHB vs. XLK: which is better?

Bottom line

XHB vs XLK: the short answer

XHB (State Street(R) SPDR(R) S&P(R) Homebuilders ETF) and XLK (State Street(R) Technology Select Sector SPDR(R) ETF) are both etfs.

But XLK is far broader, holding 79 positions to 39 for XHB, so beyond the top names it adds exposure XHB doesn't have.

XLK is cheaper at 0.08% vs 0.35% — a difference of $27 a year per $10,000 invested.

Over five years, XLK returned +18.1% a year vs +13.2% for XHB.

Updated Nov 19, 2026

XHB vs XLK side by side

XHBXLK
TypeETFETF
Fund familySPDR (State Street)SPDR (State Street)
CategoryConsumer SectorTechnology Sector
Expense ratio0.35%0.08%
Annual cost per $10k$35$8
10-yr cost on $10k (prospectus)$443$103
Max front loadNoneNone
12b-1 fee0%0.02%
1-yr return−0.7%+24.6%
5-yr return (annualized)+13.2%+18.1%
10-yr return (annualized)+12.6%+22.3%
Best quarter+47.9%+30.4%
Worst quarter−34.5%−19.7%
Net assets (fund)$1.6B$123.9B
Number of holdings3979
Portfolio turnover31%5%
Returns as ofDec 31, 2025Dec 31, 2025

Source: SEC Form N-PORT and fund prospectuses

Year-by-year returns

YearXHBXLKDifference
2025−0.7%+24.6%−25.3%
2024+9.9%+21.6%−11.7%
2023+60.1%+56.0%+4.1%
2022−28.9%−27.7%−1.2%
2021+49.6%+34.5%+15.1%
2020+27.7%+43.6%−15.8%
2019+41.4%+50.0%−8.5%
2018−25.7%−1.6%−24.1%
2017+31.7%+34.3%−2.6%
2016−0.2%+14.8%−15.0%

Source: Fund prospectus bar charts

Holdings overlap

XHB and XLK share none of their top holdings.

XHB top 10

  1. Owens Corning — 4.10%
  2. Advanced Drainage Systems Inc — 3.59%
  3. KB Home — 3.56%
  4. Builders FirstSource Inc — 3.56%
  5. Meritage Homes Corp — 3.52%
  6. Toll Brothers Inc — 3.52%
  7. Installed Building Products Inc — 3.48%
  8. PulteGroup Inc — 3.43%
  9. Masco Corp — 3.40%
  10. Somnigroup International Inc — 3.40%

XLK top 10

  1. NVIDIA Corp — 14.65%
  2. Apple Inc — 12.85%
  3. Microsoft Corp — 8.38%
  4. Micron Technology Inc — 5.42%
  5. Broadcom Inc — 5.41%
  6. Advanced Micro Devices Inc — 5.28%
  7. Intel Corp — 3.68%
  8. Applied Materials Inc — 3.20%
  9. Lam Research Corp — 3.02%
  10. Cisco Systems Inc — 2.58%

FAQ

What is the difference between XHB and XLK?
XHB (State Street(R) SPDR(R) S&P(R) Homebuilders ETF) and XLK (State Street(R) Technology Select Sector SPDR(R) ETF) are both etfs. But XLK is far broader, holding 79 positions to 39 for XHB, so beyond the top names it adds exposure XHB doesn't have.
Which is cheaper, XHB or XLK?
XLK has the lower expense ratio (0.08%).
Should I own both XHB and XLK?
Because their portfolios differ, owning both can add diversification — check how they fit your overall allocation.

Educational comparison based on public filings; not investment advice. Past performance does not guarantee future results.