How to Download Your Social Security Statement

Sign in to your my Social Security account and download your Statement as an XML file. The 12 steps below show every screen. Then go through the five checks after the steps, because your benefit is calculated from the earnings record in that file.

Jump to: the steps · what to check · questions

1

Go to ssa.gov/myaccount

Click the link above or button below to open Social Security's website (ssa.gov).

SSA.gov myaccount landing page showing Sign In and Create an Account buttons
2

Sign in with Login.gov or ID.me

You'll need to sign in using Login.gov or ID.me. If you don't have an account, you can create one — it takes about 10 minutes and requires identity verification.

Most people use ID.me. You may need to verify your identity with a photo ID the first time.

SSA sign-in page showing Login.gov and ID.me options
3

Click OK to continue to ID.me

If you chose ID.me, you'll see a message about leaving SSA's website. Click 'OK' to continue to the ID.me sign-in page.

SSA page showing 'You are leaving Social Security's website' message with OK button
4

Enter your ID.me email

On the ID.me page, enter the email address you used when creating your ID.me account, then click Continue.

ID.me sign-in page with email entry field
5

Enter your password

Enter your ID.me password and click Continue.

ID.me password entry page
6

Choose how to receive your verification code

ID.me will send a code to verify it's you. Choose to receive it by text message or phone call, then click Continue.

ID.me verification method selection showing Text me and Call me options
7

Enter the 6-digit code

Check your phone for the verification code and enter it on this screen. Click Continue when done.

ID.me page for entering the 6-digit verification code
8

Agree to the Privacy Act Statement

Click 'Next' to agree to Social Security's terms and access your account.

SSA Privacy Act Statement page with Next button
9

Click 'Your Social Security Statement'

On your my Social Security homepage, look for the section that says 'Your Social Security Statement' with a download icon. Click it.

My Social Security welcome page showing Your Social Security Statement link
10

Click 'Download Statement Data as an XML file'

You'll see options to view your statement as a PDF or download the data. Click the link that says 'Download Statement Data as an XML file' — that's the one we need!

Don't download the PDF — we need the XML file for accurate calculations.

Download statement page showing the XML file download link
11

Save the file to your computer

A 'Save As' window will appear. Save it somewhere easy to find, like your Downloads folder. The file will be named something like 'social-security-statement.xml'.

Windows Save As dialog showing the XML file being saved
12

Check the file, then upload it

Your file is now saved in your Downloads folder. Before you upload it, go through the five checks below. Then upload it to MySSAgent from your account.

File Explorer showing the downloaded social-security-statement file

What to check when you open your Statement

Every benefit estimate starts from your Social Security earnings record, so a gap or a mistake there carries into every number that follows. These five checks take a few minutes.

1. Count your zero years

Social Security averages up to 35 years of your highest earnings, adjusted for wage growth. If you have fewer than 35 years of earnings, each missing year counts as zero in that average.

Zero years usually have an ordinary cause: years raising children, school, time between jobs, or years running a business that paid you little or no wage. Once you have 35 years of earnings, the zeros drop out of the average. If you are still working, each new year of earnings can replace a zero.

Own a business? Paying yourself mostly in distributions can create zero years on purpose. How business owners create zero years, and the fix.

Source: SSA: how benefits are computed

2. Compare each year with your W-2s or tax returns

Look for a job that is missing, a year that shows less than you earned, or self-employment income that never posted. Your record holds what was reported to SSA, so the W-2s and tax returns you kept are the way to spot a year that came out wrong.

Source: SSA: your Statement

3. A year at the cap is correct

Social Security only counts earnings up to a yearly limit, called the taxable maximum: $184,500 in 2026 and $192,300 in 2027. If you earned more, the Social Security column shows the limit. The Medicare column has had no limit since 1994, so in a high-earning year it can be higher, and that is expected.

Source: SSA: contribution and benefit base

4. Have the PDF? Download the XML too

On the Statements we have checked, the PDF lists recent years one by one and groups older years into multi-year totals. A grouped row of $61,000 across ten years could be ten steady years or one good year and nine zeros, and the PDF does not say which. The XML lists every year on its own line, so each zero year is visible.

Why your analysis needs the XML file

Source: what we found reading paired PDF and XML Statements

5. Fix a mistake early, because there is a time limit

SSA can generally correct a year on your record within 3 years, 3 months and 15 days after that year. After that, a correction is still possible in some cases, for example when SSA's record does not match a W-2 or a tax return that was filed.

To ask for a correction, contact SSA and use Form SSA-7008, Request for Correction of Earnings Record, with proof such as your W-2s or tax returns.

Source: Time limit (20 CFR 404.802) · Corrections after the time limit (20 CFR 404.822) · Form SSA-7008

What MySSAgent does with the file

Upload the XML and the analysis uses each year exactly as SSA recorded it, zero years included. It does not estimate or fill in missing years. A Registered Social Security Analyst® is available on complex cases.

Advisors: send this page to a client who offers you the PDF. For your own practice, see MySSAgent for advisors.

Questions

How do I download my Social Security Statement as an XML file?

Sign in to your my Social Security account at ssa.gov, open your Statement, and choose the option to download your Statement data as an XML file. The 12 steps on this page walk through each screen.

What is a zero year on my Social Security earnings record?

A year with no earnings covered by Social Security. Your benefit is based on an average of up to 35 years of your highest earnings, so if you have fewer than 35 years of earnings, each missing year counts as zero in that average.

Why download the XML instead of the PDF?

The XML lists every year of your earnings record on its own line. On the Statements we have checked, the PDF groups older years into multi-year totals, which can hide zero years.

Can I correct a mistake in my Social Security earnings record?

Yes. SSA can generally correct a year within 3 years, 3 months and 15 days after that year, and in some cases later, for example when its record does not match a W-2 or a filed tax return. Contact SSA and use Form SSA-7008 with proof such as W-2s or tax returns.

Once you have the file