Premiums for health insurance purchased through Medicare, Marketplace or COBRA are all
tax deductible because they are all paid on an after-tax basis. On the other hand, premiums for employer-sponsored healthcare are already taken out pretax. Since you receive these tax savings in your paycheck, deducting premiums during the annual tax season is not allowed.