irs.gov - website profile
Transcript or Copy of Form W-2 | Internal Revenue Service
Your employer first submits Form W-2 to SSA; after SSA processes it, they transmit the federal tax information to the IRS. If you can't get your Form W-2 from your employer and you previously attached it to your paper tax return, you can order a copy of the entire return from the IRS for a fee.
irs.gov Alternatives