What Medicare may have access to Government Wages Are
A Medicare may have access to Government Wage (MQGW) is a specific type of earnings that counts toward Medicare coverage for government employees who did not pay into Social Security during their work years. If you worked for a federal, state, or local government agency and were not covered by Social Security, your employer may have reported your wages to Medicare under this category instead.
The key difference is timing: most workers build Medicare coverage through payroll taxes while they work. Government employees in certain pension systems never paid Social Security tax, so they have no Social Security record. Medicare created the MQGW system to give these workers a way to earn Medicare coverage based on their government service.
Your W-2 form will show whether your wages were reported as MQGW. This matters because you need a certain amount of MQGW to become covered by Medicare Part A (hospital insurance) without paying a premium when you turn 65.
Key Takeaways
- Medicare may have access to Government Wages appear on your W-2 in Box 12 with code "M" and represent earnings that count toward Medicare coverage for government workers not covered by Social Security.
- You need 40 quarters of MQGW (roughly 10 years of full-time work) to get premium-free Medicare Part A at age 65, the same requirement as Social Security-covered workers.
- Your W-2 is the official record of your MQGW, so keep copies from every year you worked in a government job not covered by Social Security.
- If your W-2 does not show MQGW in Box 12, contact your former employer's payroll or human resources department to request a corrected form or written verification.
- When you explore for Medicare, bring all your W-2 forms so Social Security can count your MQGW quarters toward your coverage.
Where to Find MQGW on Your W-2
Look at Box 12 on your W-2 form. This box lists special types of income and uses letter codes to identify what kind. For Medicare may have access to Government Wages, the code is the letter "M". The dollar amount next to the M is your MQGW for that year.
Not every government employee will have an M code on their W-2. If you worked for a government agency but were covered by Social Security (meaning you paid Social Security tax), your wages will not appear as MQGW. They will show up in Box 1 as regular wages instead.
If you worked for multiple government employers over your career, you may have W-2 forms from different years with M codes in Box 12. Each one counts toward your total MQGW quarters. Keep all of these forms in a safe place — you will need them when you turn 65 and explore for Medicare.
How MQGW Quarters Count Toward Medicare Coverage
Medicare uses a quarter system to measure work history. One quarter equals roughly three months of work, and you can earn up to four quarters per year. To get premium-free Medicare Part A at age 65, you need 40 quarters total — which is about 10 years of full-time work.
For MQGW, Social Security counts the quarters based on how much you earned in a year. In 2024, you earn one quarter for every $1,680 in MQGW (this amount changes each year). So if you earned $6,720 in MQGW in one year, you would get four quarters for that year.
The quarters do not have to be consecutive. If you worked for a government agency for five years, then left, then worked for a different government agency for another five years, both periods count. Social Security adds them together to reach your 40-quarter total.
What Happens If Your W-2 Does Not Show MQGW
If you worked for a government employer but your W-2 does not show an M code in Box 12, there are several possible reasons. Your employer may not have reported your wages as MQGW, or you may have been covered by Social Security instead. The first step is to contact your former employer's payroll or human resources department.
Ask them directly: "Were my wages reported as Medicare may have access to Government Wages?" If they say yes, request a corrected W-2 form (called a W-2c). If they say no, ask whether you were covered by Social Security during that job. If you were, those wages count toward Medicare through your Social Security record instead.
If your employer no longer exists or you cannot reach them, you can contact Social Security directly. Call 1-800-772-1213 or visit your local Social Security office with your old pay stubs, pension statements, or any other documents showing your government employment. Social Security can sometimes verify your MQGW history without the W-2.
Bringing Your W-2s to Medicare Enrollment
When you turn 65 and are ready to sign up for Medicare, you will need to show your work history. Social Security uses your W-2 forms to count your MQGW quarters and determine whether you may have access to for premium-free Part A. Bring copies of every W-2 from every government job where you earned MQGW.
If you are explore online through Medicare.gov or by phone, you do not need to mail your W-2s right away. But have them ready to reference. You will need to tell Social Security the years you worked and the employers. If there is any question about your quarters, Social Security will ask you to send the W-2s as proof.
If you are explore in person at a Social Security office, bring the original W-2s or certified copies. Social Security will review them on the spot and can often tell you when ready whether you have enough quarters for premium-free Part A.
If You Do Not Have Enough Quarters
If you have fewer than 40 quarters of MQGW, you can still get Medicare Part A at age 65, but you will pay a monthly premium. The premium amount depends on how many quarters you do have. The fewer quarters, the higher the premium.
You also have the option to keep working if you are still able. Each additional year of MQGW earnings adds up to four more quarters toward your total. Some people work a few more years specifically to reach the 40-quarter threshold and avoid the Part A premium.
Another option is to look at your spouse's work history. If your spouse has 40 quarters of Social Security coverage or MQGW, you may be able to get premium-free Part A based on their record when you turn 65. This is called "deemed filing" and Social Security can explain whether you may have access to.
Common Mistakes to Avoid
The most common mistake is throwing away old W-2 forms. Many people keep only recent tax returns and discard W-2s from years ago. But for MQGW purposes, you need the W-2s from every year you worked in a government job not covered by Social Security — even if that was 20 or 30 years ago. If you no longer have them, request copies from your former employer or the IRS.
Another mistake is assuming that all government work counts as MQGW. Some government employees are covered by Social Security, especially if they worked for a local government or started their job after a certain date. Check your W-2 to see whether you have an M code. If you do not, your wages may count through Social Security instead.
A third mistake is waiting until after you turn 65 to gather your W-2s. By then, if there are errors or missing forms, it can delay your Medicare coverage. Start collecting your W-2s a few months before your 65th birthday so you have time to request corrections if needed.
Frequently Asked Questions
Can I count MQGW from multiple government jobs?
Yes. If you worked for a federal agency, then a state agency, then a county agency — and all three reported your wages as MQGW — Social Security adds all the quarters together. Bring W-2s from every government job to prove your total work history.
What if my employer went out of business and I cannot get a copy of my W-2?
Contact the IRS at 1-800-829-1040 and ask for a copy of your W-2 from that year. The IRS keeps records going back several years. You can also contact Social Security; they may have a record of your MQGW earnings even without the original W-2.
Does MQGW count the same as Social Security wages for Medicare?
Yes. Both count toward the 40-quarter requirement for premium-free Medicare Part A. If you have 25 quarters of Social Security coverage and 15 quarters of MQGW, you have 40 quarters total and may have access to for premium-free Part A.
When should I start gathering my W-2s for Medicare?
Start about three to six months before your 65th birthday. This gives you time to request missing or corrected forms from employers or the IRS. If everything is in order, you can explore for Medicare as soon as you are may be able to access, without delays.
What if my W-2 shows MQGW but I also paid Social Security tax?
This can happen if you worked for a government employer that was covered by both systems. Social Security will count both the MQGW and the Social Security wages toward your 40-quarter requirement. Bring all your W-2s so they can see the full picture.