Total compensation beyond salary: 401k, health insurance, HSA, dental, vision, equity, disability.
Your Total Compensation shows $145K plus an HSA-eligible health plan. Your friend's offer: $150K with a traditional plan. They see the salary line and think they're ahead. But salary is one line item. Factor in the lower premiums, the employer HSA contribution, and the tax advantages that compound over your Time Horizon, and the lower-salary package often comes out ahead - sometimes by five figures over a decade. The HSA makes this possible because it is the only account in the tax code with three separate tax advantages, and your friend's plan gives no access to it.
An HSA (Health Savings Account) is a tax-advantaged savings and investment account paired with a high-[UNDEFINED: deductible] health insurance plan. It is the only account that is pre-tax going in, tax-free growing, and tax-free coming out for medical expenses - making it the single most tax-efficient vehicle in personal finance.
An HSA (Health Savings Account) is a savings and investment account you can only open if your health insurance plan has high cost sharing - specifically, a [UNDEFINED: deductible] above a threshold set by the IRS (roughly $1,650 for individuals in 2026).
Three terms define how cost sharing works in any health plan:
HSA-eligible plans have higher [UNDEFINED: deductibles] and [UNDEFINED: out-of-pocket maximums] than traditional plans. You accept more cost sharing upfront. In exchange, you get an account with three tax benefits that no other account - not your 401(k), not any Retirement Accounts - can match:
After age 65, you can withdraw for any purpose. Non-medical withdrawals get taxed like a 401(k) distribution - as income at your marginal tax brackets rate. Medical withdrawals stay tax-free forever.
The 2026 contribution limit is roughly $4,300 for individuals and $8,550 for families. Unlike a [UNDEFINED: Flexible Spending Account] (which expires annually), unused HSA funds roll over indefinitely. The account is yours, not your employer's. You keep it when you change jobs.
If you own a P&L, Total Compensation is one of your largest Cost Center lines. Understanding HSA-eligible plans matters from both sides of the table.
As someone designing compensation: HSA-eligible plans typically have lower per-employee insurance costs because the plan structure shifts more cost sharing to the employee. But unlike most Cost Reduction moves, this one does not reduce value for the employee. The tax code subsidizes the HSA, making the combination of lower premiums plus HSA access worth more than a higher-premium traditional plan in most scenarios. This is rare - a positive-sum Cost Structure where the employer's costs decrease and the employee's after-tax wealth increases. If you are designing benefits for a team, this is one of the few Allocation decisions where both sides of the P&L win.
As someone receiving compensation: When evaluating an offer, look past the salary line. An HSA-eligible plan with employer contributions can add $2,000-$4,000+ in annual value depending on your tax brackets and medical expense profile. This value is invisible on the offer letter unless you compute the Expected Total Cost of each plan option - factoring in premiums, [UNDEFINED: deductible], [UNDEFINED: coinsurance], [UNDEFINED: out-of-pocket maximum], employer HSA contributions, and tax savings. Most candidates skip this calculation, which means you gain an Informational Advantage every time you run it.
The opportunity cost of not using an HSA when eligible is one of the highest in personal finance - easily $1,000+ per year in forgone tax savings alone, before Compounding takes effect.
The mechanics in four steps:
Step 1: Qualify. You enroll in a high-[UNDEFINED: deductible] health insurance plan - one where the [UNDEFINED: deductible] exceeds the IRS threshold. These plans have higher cost sharing (higher [UNDEFINED: deductibles], [UNDEFINED: coinsurance], and [UNDEFINED: out-of-pocket maximums]) in exchange for typically lower monthly premiums.
Step 2: Contribute. You put pre-tax dollars into your HSA up to the annual limit. Many employers also contribute to your HSA as part of Total Compensation. Employer contributions count toward your annual limit.
Step 3: Choose your strategy.
Step 4: Harvest. Before 65, withdrawals for non-medical expenses face income tax plus a 20% penalty (see Tax Penalties). After 65, non-medical withdrawals are taxed as income (identical to a 401(k)), while medical withdrawals remain completely tax-free.
The invest-and-defer strategy is where the real value lives. Every medical receipt you save is an option to make a tax-free withdrawal whenever you choose. The money compounds untaxed in the meantime. No other account gives you that combination.
Max your HSA before anything except an Employer 401(k) Match. The investment sequencing logic:
When it might not fit:
The decision rule: compare (annual premium savings from the HSA-eligible plan + tax savings from HSA contributions + employer HSA contribution) against (expected additional cost sharing under the higher-[UNDEFINED: deductible] plan, accounting for [UNDEFINED: coinsurance] and [UNDEFINED: out-of-pocket maximum]). If the left side exceeds the right, the HSA-eligible plan dominates.
Software engineer earning $140K. Marginal combined tax rate: 30% (24% federal + 6% state). HSA contribution: $4,300/year (individual max). Invests HSA balance in index funds returning 7% annually. Alternative: saves the same $4,300/year after-tax in a taxable investment account. Long-term [UNDEFINED: capital gains tax] rate: 15% federal.
HSA path: $4,300 pre-tax goes in each year. Tax savings on contribution: $4,300 x 0.30 = $1,290/year. After 10 years of contributions compounding at 7%: approximately $59,400 total balance. No taxes owed on growth. Withdrawals for medical expenses are tax-free.
Taxable path - funding and growth: To save $4,300 after-tax, you need to earn $4,300 / 0.70 = $6,143 pre-tax. You invest $4,300/year in index funds at the same 7% nominal return. In a taxable account, index funds held long-term are mostly tax-deferred - the main annual cost is taxes on dividend distributions (typically ~1.5% of fund value, taxed at the 15% [UNDEFINED: capital gains tax] rate). This creates a small effective drag of roughly 0.2% per year. Your balance compounds at approximately 6.8%. After 10 years: approximately $58,900.
Taxable path - liquidation: When you sell, you owe 15% [UNDEFINED: capital gains tax] on accumulated gains above your cost basis. Your cost basis includes your $43,000 in contributions plus roughly $3,400 in reinvested after-tax dividends, totaling approximately $46,400. Taxable gain: approximately $12,500. Tax owed: roughly $1,900. You also paid approximately $600 in dividend taxes during the 10-year hold. Net after-tax proceeds: approximately $57,000.
Total tax advantage of the HSA over 10 years: Tax saved on contributions: $12,900. Avoided dividend taxes during accumulation: ~$600. Avoided [UNDEFINED: capital gains tax] at liquidation: ~$1,900. Total: approximately $15,400 in tax advantages on $43,000 of cumulative contributions. The HSA also required $18,400 less in pre-tax income to fund ($43,000 vs $61,400).
Insight: The tax advantage is not a minor perk. It compounds. Over a 30-year career, the gap grows past six figures because Compounding amplifies small annual advantages into large terminal differences. And this example only captures the tax advantage on the HSA itself - it does not include the premium savings or employer contributions that typically accompany the HSA-eligible plan. The earlier you start, the more each year of tax-free growth is worth.
Two health insurance options at your company. Plan A (HSA-eligible): $200/month employee cost, $2,000 [UNDEFINED: deductible], 20% [UNDEFINED: coinsurance] after the [UNDEFINED: deductible], $4,000 [UNDEFINED: out-of-pocket maximum], employer contributes $500/year to your HSA. Plan B (traditional): $450/month employee cost, $500 [UNDEFINED: deductible], 20% [UNDEFINED: coinsurance] after the [UNDEFINED: deductible], $2,000 [UNDEFINED: out-of-pocket maximum]. You expect $1,500 in medical expenses this year. Marginal tax rate: 30%.
Plan A annual cost (expected year, $1,500 expenses): Premiums: $200 x 12 = $2,400. Medical cost sharing: your $1,500 in expenses falls entirely under the $2,000 [UNDEFINED: deductible], so you pay $1,500 out of pocket. [UNDEFINED: Coinsurance] does not apply because you have not exceeded the [UNDEFINED: deductible]. You contribute $4,300 to your HSA pre-tax, saving $4,300 x 0.30 = $1,290 in taxes. Employer adds $500. Net annual cost: $2,400 + $1,500 - $1,290 - $500 = $2,110. You also have $3,300 growing tax-free in your HSA ($4,300 + $500 - $1,500 spent on medical).
Plan B annual cost (expected year, $1,500 expenses): Premiums: $450 x 12 = $5,400. Medical cost sharing: first $500 is your [UNDEFINED: deductible]. Remaining $1,000 falls into [UNDEFINED: coinsurance] at 20%: you pay $200. Total medical out-of-pocket: $700. No HSA. No tax savings. Net annual cost: $5,400 + $700 = $6,100.
Comparison across scenarios. Expected year ($1,500 expenses): Plan A saves $3,990 and builds a tax-free investment account. Moderate year ($4,000 expenses): Plan A medical = $2,000 [UNDEFINED: deductible] + 20% x $2,000 in [UNDEFINED: coinsurance] = $2,400 total. Plan A cost: $2,400 + $2,400 - $1,290 - $500 = $3,010. Plan B medical = $500 + 20% x $3,500 = $1,200. Plan B cost: $5,400 + $1,200 = $6,600. Plan A saves $3,590. Catastrophic year ($15,000+ expenses): Plan A hits the $4,000 [UNDEFINED: out-of-pocket maximum]. Plan A cost: $2,400 + $4,000 - $1,290 - $500 = $4,610. Plan B hits the $2,000 [UNDEFINED: out-of-pocket maximum]. Plan B cost: $5,400 + $2,000 = $7,400. Plan A saves $2,790 even in the worst case.
Insight: The monthly premium is visible on every paycheck. The [UNDEFINED: coinsurance] math, the [UNDEFINED: out-of-pocket maximum] cap, and the HSA tax savings are invisible unless you calculate them. Most people optimize for the visible number - lower [UNDEFINED: deductible], lower perceived risk - and pick the plan that feels safer. Operators run the Expected Total Cost across all three scenarios and pick the option that actually minimizes total annual outflow. In this example, Plan A wins in every scenario because the $3,000/year premium difference ($250/month) overwhelms the higher cost sharing.
The HSA is the most tax-efficient account in the tax code. Prioritize maxing it immediately after capturing your Employer 401(k) Match - it belongs ahead of additional 401(k) contributions and Roth vs Traditional IRA contributions in your investment sequencing.
The highest-value HSA strategy for anyone with sufficient Cash Flow: invest the balance in index funds, pay medical bills from normal Cash Flow, save every receipt, and reimburse yourself years later. This lets Compounding work on the full untaxed balance, turning the account into a long-term Capital Asset.
When evaluating Total Compensation packages, compute the Expected Total Cost of each health plan option - including premiums, [UNDEFINED: deductible], [UNDEFINED: coinsurance], [UNDEFINED: out-of-pocket maximum], employer HSA contributions, and tax savings. The package with the lower salary often generates more wealth.
Treating the HSA as a spending account instead of an investment account. If your Cash Flow can cover medical bills directly, every dollar left in the HSA compounds tax-free. Spending it immediately throws away the growth advantage - the same mistake as cashing out your 401(k) early, but easier to make because the HSA feels like a medical checking account.
Choosing a low-[UNDEFINED: deductible] health plan 'to be safe' without running the Expected Total Cost comparison. Once you factor in [UNDEFINED: coinsurance] and the [UNDEFINED: out-of-pocket maximum], high-[UNDEFINED: deductible] plans with HSA access often cost less total - even in years with significant medical expenses - because the premium savings and tax advantages outweigh the higher cost sharing. Fear of a large [UNDEFINED: deductible] is not a substitute for math.
You're choosing between two plans. Plan X: $180/month employee cost, $2,500 [UNDEFINED: deductible], 20% [UNDEFINED: coinsurance], $5,000 [UNDEFINED: out-of-pocket maximum], HSA-eligible, employer contributes $750/year to your HSA. Plan Y: $400/month employee cost, $750 [UNDEFINED: deductible], 20% [UNDEFINED: coinsurance], $2,500 [UNDEFINED: out-of-pocket maximum], no HSA. Your marginal tax rate is 32%. You expect $2,000 in medical expenses this year. Which plan has the lower Expected Total Cost, and by how much?
Hint: Calculate total annual cost for each plan: (monthly cost x 12) + medical cost sharing - tax savings from HSA contributions - employer HSA contribution. For medical cost sharing: expenses under the [UNDEFINED: deductible] are paid 100% by you; expenses above the [UNDEFINED: deductible] are split via [UNDEFINED: coinsurance] (you pay 20%, insurance pays 80%), up to the [UNDEFINED: out-of-pocket maximum]. Assume you max the individual HSA limit of $4,300.
Plan X: Premiums: $180 x 12 = $2,160. Medical: $2,000 falls entirely under the $2,500 [UNDEFINED: deductible], so you pay $2,000. No [UNDEFINED: coinsurance] applies because you haven't exceeded the [UNDEFINED: deductible]. HSA tax savings: $4,300 x 0.32 = $1,376. Employer HSA: $750. Net cost: $2,160 + $2,000 - $1,376 - $750 = $2,034. Plus you have $3,050 growing tax-free in your HSA ($4,300 + $750 - $2,000).
Plan Y: Premiums: $400 x 12 = $4,800. Medical: first $750 is [UNDEFINED: deductible]. Remaining $1,250 at 20% [UNDEFINED: coinsurance]: $250. Total medical: $1,000. Net cost: $4,800 + $1,000 = $5,800.
Plan X saves $3,766/year and builds an investment account. Even in a catastrophic year where expenses hit the [UNDEFINED: out-of-pocket maximum]: Plan X costs $2,160 + $5,000 - $1,376 - $750 = $5,034. Plan Y costs $4,800 + $2,500 = $7,300. Plan X still saves $2,266.
You've maxed your HSA at $4,300/year for 5 years, investing in index funds averaging 8% annual investment returns. Your balance is $27,400. You have $9,000 in saved medical receipts you haven't reimbursed yet. A colleague says you should reimburse now to 'get your money back.' What is the opportunity cost of following their advice, measured over the next 15 years? Assume a combined federal and state tax rate of 20% on dividends and long-term [UNDEFINED: capital gains tax].
Hint: Calculate the Future Value of $9,000 growing at 8% for 15 years tax-free inside the HSA. Then calculate what $9,000 would produce in a taxable account. In a taxable account, index funds held long-term are mostly tax-deferred: the main annual cost is taxes on dividend distributions (~1.5% yield, taxed at your 20% rate). On sale after 15 years, you owe [UNDEFINED: capital gains tax] on price appreciation above your cost basis. The difference between the two outcomes is the opportunity cost.
Leave $9,000 in HSA: $9,000 at 8% for 15 years = $9,000 x (1.08)^15 = $9,000 x 3.172 = $28,550. This entire amount is withdrawable tax-free whenever you submit those saved receipts.
Reimburse now, invest in taxable account: $9,000 in index funds at 8% nominal. Annual dividend distributions (~1.5% of fund value) are taxed at 20%, creating roughly 0.3% effective drag per year. Your balance compounds at approximately 7.7%. After 15 years: $9,000 x (1.077)^15 = approximately $27,400. On sale, you owe 20% [UNDEFINED: capital gains tax] on gains above your adjusted cost basis ($9,000 original investment plus approximately $2,900 in reinvested after-tax dividends = approximately $11,900 basis). Taxable gain: approximately $15,500. Tax: approximately $3,100. Net proceeds: approximately $24,300.
Opportunity cost of reimbursing now: $28,550 - $24,300 = approximately $4,200. Your colleague's advice costs you over $4,000 on this single decision. The receipts never expire. Keep them, let the money compound.
The HSA builds directly on your two prerequisites. From insurance, you learned that insurance products involve cost sharing between the Buyer and the insurer. Now you've seen the specific mechanics: [UNDEFINED: deductibles], [UNDEFINED: coinsurance], and [UNDEFINED: out-of-pocket maximums] define your cost sharing structure, and your Informational Advantage about your own health risk informs which plan to select. The HSA-eligible plan shifts more cost sharing to you in exchange for access to the most powerful savings vehicle in personal finance. From pre-tax vs post-tax, you learned that a pre-tax dollar is worth more than a post-tax dollar. The HSA takes this principle further than any other account - money enters pre-tax and can exit still untaxed for qualifying expenses. No 401(k) or Roth vs Traditional IRA can match that combination. This connects forward to how you sequence your Allocation of every dollar of income across Retirement Accounts, your tax strategy, and how you evaluate Total Compensation when the offer letter shows more than a salary number.
Disclaimer: This content is for educational and informational purposes only and does not constitute financial, investment, tax, or legal advice. It is not a recommendation to buy, sell, or hold any security or financial product. You should consult a qualified financial advisor, tax professional, or attorney before making financial decisions. Past performance is not indicative of future results. The author is not a registered investment advisor, broker-dealer, or financial planner.