The One-Way Street: Can You Move Cost Basis from an HSA to a Taxable Account?
In the chess game of personal finance, investors often look for "loopholes" to optimize their tax liability. One common question is whether a wash sale—usually seen as a penalty—can be used as a tool to "move" a high cost basis from a tax-advantaged Health Savings Account (HSA) to a standard taxable brokerage account. The logic seems sound: if you sell at a loss in the HSA and buy back in the taxable account, shouldn't the loss be added to the new shares? However, the IRS has very specific (and strict) views on this maneuver. This guide breaks down the technical reality of wash sales across account types and why this specific strategy is a "tax trap" rather than a trick.
Table of Content
- Purpose: The Goal of Basis Shifting
- Mechanics: How Wash Sales Work Across Accounts
- Step-by-Step: The Anatomy of a Disallowed Loss
- Use Case: Common Misconceptions
- Best Results: Avoiding Permanent Loss Disallowance
- FAQ
- Disclaimer
Purpose
The primary reason an investor might attempt this is Tax Alpha. By "moving" a loss from an HSA (where losses aren't tax-deductible anyway) to a taxable account, you would theoretically increase the basis of the taxable shares, thereby reducing future capital gains taxes.
- Cost Basis Migration: Attempting to teleport a paper loss into a taxable environment.
- Loss Harvesting: Trying to "rescue" an underperforming HSA investment to offset taxable income.
- The Reality: The IRS sees this as a violation of Revenue Ruling 2008-5, resulting in a "permanent" loss of that tax benefit.
Mechanics
To understand why this doesn't work, we have to look at how the IRS treats Substantially Identical securities across different account "buckets."
- The 61-Day Window: A wash sale occurs if you buy a security within 30 days before or after selling it at a loss.
- Account Aggregation: The IRS treats all your accounts (HSA, IRA, 401k, Taxable) as one single entity for the purpose of identifying a wash sale.
- The Basis Problem: In a normal taxable-to-taxable wash sale, the loss is deferred and added to the new basis. In a taxable-to-HSA wash sale, the loss is forfeited because the HSA does not track "basis" for tax purposes.
Step-by-Step
1. Identifying the Loss Position
Assume you own 100 shares of XYZ in your taxable account with a basis of $100. The price drops to $70. You have a $3,000 unrealized loss.
- You sell the 100 shares in your taxable account to realize the $3,000 loss.
- Within 30 days, you buy 100 shares of XYZ in your HSA.
- Result: This is a wash sale. The $3,000 loss is disallowed on your tax return.
2. The 'Basis Bump' Failure (Taxable to HSA)
Normally, that $3,000 loss would be added to the basis of the new shares. However, because the new shares are in an HSA:
- The IRS does not allow you to increase the basis of assets inside a tax-advantaged account.
- The $3,000 tax deduction is gone forever. You cannot use it now, and it won't help you later.
3. The Reverse Scenario (HSA to Taxable)
If you sell at a loss in the HSA and buy in a taxable account:
- Since an HSA is already tax-exempt at the federal level, you don't "realize" a capital loss for tax purposes when you sell.
- You cannot "transfer" a loss that the IRS doesn't recognize as a tax event in the first place.
- The shares in your taxable account will simply have a basis equal to what you paid for them in that account.
Use Case
This tutorial is critical for those who:
- Manage Multiple Portfolios: Investors using platforms like Fidelity or Schwab that allow both HSA and Brokerage accounts on one dashboard.
- Automated Reinvestment: Users who forget that a dividend reinvestment (DRIP) in an HSA can trigger a wash sale for a loss taken in a taxable account.
- Tax-Loss Harvesting: Active traders trying to maximize their $3,000 annual income offset.
Best Results
| Action | Tax Result | Basis Impact |
|---|---|---|
| Taxable Loss -> Taxable Buy | Loss Disallowed | Basis Increases (Deferred) |
| Taxable Loss -> HSA Buy | Loss Disallowed | Loss Forfeited (Permanently) |
| HSA Loss -> Taxable Buy | No Tax Event | Standard Basis (No "Migration") |
| Wait 31 Days | Loss Allowed | Clean Transaction |
FAQ
Can I move my cost basis from an HSA to a taxable account?
No. There is no legal mechanism to "export" the cost basis or losses from a tax-advantaged account (HSA, IRA, 401k) to a taxable one. These accounts are walled off from each other for tax reporting purposes.
Does my broker track wash sales between my HSA and Brokerage?
Usually, no. Most brokers only report wash sales that occur within the same account. You are responsible for identifying and reporting wash sales that happen across different accounts (e.g., selling in ETrade and buying in your HSA at Fidelity).
How can I avoid this mistake?
If you want to harvest a loss in your taxable account, wait at least 31 days before buying that same security in any other account, including your HSA or your spouse's accounts.
Disclaimer
Wash sale rules are complex and subject to IRS interpretation, specifically regarding "substantially identical" securities. This guide is based on current tax law as of early 2026 and should not be considered professional tax advice. Always consult with a CPA or tax professional when reporting cross-account transactions. For further reading, refer to IRS Publication 550.
Tags: WashSaleRule, HSA, TaxLossHarvesting, CostBasis
