Health savings accounts have become popular workplace perks with significant tax-advantaged investment opportunities — but many Americans have no idea how they work.

About 26 million people had an HSA at the end of 2023, according to Devenir, a research and investment firm based in Minneapolis. Assets in these accounts reached about $137 billion by this June, and are expected to grow to $175 billion by the end of 2026.