So if I have it deducted from paycheck I'm better off than if I contribute on my own ?
If HSA is funded with payroll deduction:
Pro: it isn't subject to FICA taxes
Con: depending on your circumstances, it may lower your social security benefit at retirement.
IMO, the pro outweighs the con.
I disagree with those arguing against viewing HSA's as retirement funds, particularly for individuals looking to contribute to traditional accounts (rather than Roth). As mentioned above, HSA delivers triple tax advantage for contributions, gains, and distributions used for medical expenses. In the event that no medical expenses are incurred, only distributions are taxed. The investor is no worse off than having contributed to a traditional IRA/401k. There may be considerations regarding creditor protections that I'm not accounting for.