Medicare is funded by a payroll tax, not a federal income tax
Medicare is not a federal income tax. Instead, it is funded by a payroll tax that comes out of your paychecks while you work. This tax goes into a dedicated Medicare trust fund, separate from general federal income taxes. The money collected pays for hospital insurance, medical insurance, and prescription drug coverage for people age 65 and older, as well as some younger people with disabilities or end-stage renal disease.
The payroll tax that funds Medicare is called the Medicare tax, and it has been part of the Social Security system since 1965. When you see "Medicare tax" on your pay stub, that is the amount being set aside specifically for this program — it does not go into your general federal tax bill.
Key Takeaways
- Medicare is funded by a 2.9% payroll tax split between you and your employer, not by federal income tax.
- If you are self-employed, you pay the full 2.9% Medicare tax yourself, plus an additional 0.9% tax if your income exceeds certain thresholds.
- The money you pay in Medicare taxes during your working years goes into a trust fund that covers your care after age 65.
- Medicare taxes are withheld from your paycheck automatically and are separate from federal income tax withholding.
How the Medicare payroll tax works
When you work for an employer, Medicare tax is automatically deducted from your paycheck. Your employer pays an equal amount on your behalf. Together, these contributions add up to 2.9% of your wages — you pay 1.45% and your employer pays 1.45%. This happens regardless of how much money you make.
If your income is higher, there is an additional Medicare tax. If you earn more than $200,000 as a single filer (or $250,000 if married filing jointly), you pay an extra 0.9% Medicare tax on the amount above that threshold. Your employer does not match this additional tax — you pay it alone.
The Medicare tax line on your pay stub is separate from federal income tax withholding. Federal income tax goes to the U.S. Treasury and funds general government operations. Medicare tax goes directly to the Medicare Hospital Insurance Trust Fund and the Supplementary Medical Insurance Trust Fund.
What happens if you are self-employed
If you work for yourself, you are responsible for paying both the employee and employer portions of the Medicare tax. This means you pay 2.9% of your net self-employment income, rather than the 1.45% that an employee would pay. You can deduct half of this amount when you file your federal income tax return, but you still owe the full 2.9%.
Self-employed people also owe the additional 0.9% Medicare tax if their income exceeds the same thresholds as employees — $200,000 for single filers or $250,000 for married couples filing jointly. You calculate and pay this tax when you file your annual tax return using Schedule SE.
Medicare taxes after you turn 65
Once you turn 65 and enroll in Medicare, you stop paying the regular Medicare payroll tax if you are no longer working. However, if you continue to work past 65, you still pay Medicare tax on your wages — there is no age limit on this requirement. The money you pay continues to go into the Medicare trust fund.
Your Medicare premiums in retirement are separate from the payroll tax you paid while working. Part B premiums (medical insurance) and Part D premiums (prescription drug coverage) are deducted from your Social Security check or billed directly to you each month. These are not taxes — they are insurance premiums you pay to stay enrolled in those parts of Medicare.
The difference between Medicare taxes and Medicare premiums
It is straightforward to confuse Medicare taxes with Medicare premiums because both involve money going to Medicare. The key difference is timing and purpose. Medicare taxes are payroll deductions you make while working — they fund the program for everyone. Medicare premiums are monthly charges you pay after you turn 65 to stay enrolled in specific parts of Medicare.
Most people do not pay a Part A premium (hospital insurance) because they paid Medicare taxes for at least 10 years while working. But you do pay premiums for Part B and Part D if you enroll in those parts. These premiums are based on your income and change each year.
How to find your Medicare tax information
Your Medicare tax withholding appears on your pay stub under "Medicare tax" or "Med tax." The amount shown is what your employer deducted from that paycheck. At the end of the year, your employer sends you a W-2 form that shows the total Medicare tax you paid during the year.
If you are self-employed, you report your Medicare tax on Schedule SE when you file your federal income tax return. You can also see a record of your lifetime Medicare tax contributions on your Social Security Statement, which you can view online at ssa.gov. This statement shows how much you have paid into the system over your working years.
What to ask your doctor or benefits counselor
If you are approaching Medicare age and want to understand how your past tax contributions affect your coverage, ask your doctor's office or a Medicare counselor these questions: "Based on my work history, will I have to pay a Part A premium?" and "How do my past Medicare tax payments affect what I pay now?" A benefits counselor can review your specific situation and explain what you will owe once you enroll.
If you have questions about your Medicare tax withholding while still working, contact your employer's payroll department or the Internal Revenue Service at 1-800-829-1040.
Frequently Asked Questions
Can I get a refund of Medicare taxes I paid while working?
No. Medicare taxes are not refundable. The money you paid goes into the trust fund and is used to pay benefits for current Medicare beneficiaries. You cannot reclaim these contributions, but they do count toward your may be able to access for Part A coverage without a premium once you turn 65.
What if I did not work long enough to may have access to for Medicare without paying a premium?
If you worked fewer than 10 years and paid Medicare taxes, you will owe a Part A premium when you turn 65. The amount depends on how many quarters of coverage you have. You can still enroll in Medicare and pay this premium monthly, or you may be able to work a few more years to reach the 10-year threshold.
Does Medicare tax count toward my federal income tax refund?
No. Medicare tax and federal income tax are separate. Medicare tax withheld from your paycheck does not reduce your federal taxable income or affect your refund. Only federal income tax withholding is used to calculate what you owe on your federal return.
If I work past 65, do I have to keep paying Medicare tax?
Yes. As long as you are working and earning wages, you must pay Medicare tax regardless of your age. There is no exemption once you turn 65 or enroll in Medicare. The tax continues until you stop working.