What to redact on a W-2 or pay stub
What to redact on a W-2 or pay stub depends on who asked for it. A landlord or a lender needs to see who pays you and how much. A background-check firm may only need to confirm the job. Here is what each part of the form shows, what each reader usually needs, and how to cover the rest with the file staying on your computer.
The short answer
- Usually cover: your Social Security number (or keep only its last four digits), and your home address if the reader does not need it. On a pay stub, also your employee ID and the bank account your pay goes into.
- Usually leave: your name, your employer's name, the year or pay period, and the pay figures the reader asked to see.
- For a background check: ask whether you can cover the pay figures too.
- For your tax preparer: send the form as it is. They need the full numbers to prepare your return.
- To have your Social Security number and other details found for you, offline: Lex Cloak.
What to redact on a W-2, box by box
The boxes on a W-2 are lettered and numbered, so you can work down the form. Your copy may already show only the last four digits of your Social Security number: the IRS lets employers shorten it on the copies they give employees.
| Box | What it shows | Usually |
|---|---|---|
| a | Your Social Security number | Cover it, or keep only the last four digits |
| b | Your employer's identification number (EIN) | Leave it. It identifies your employer, not you |
| c | Your employer's name and address | Leave it. It shows who pays you |
| e and f | Your name and address | Leave your name. Cover your address if the reader does not need it |
| 1 to 6 | Wages and tips, and the federal income, Social Security and Medicare tax withheld | Leave them for a landlord or lender. For a background check, ask |
| 12 | Coded amounts, such as what you put into a 401(k) and what your health coverage costs | Ask whether the reader needs it |
| 15 to 20 | State and local wages and tax, and your employer's state ID number | Treat them like boxes 1 to 6 |
What to redact on a pay stub
Pay stubs have no standard layout, but most carry the same parts.
| Part of the stub | What it shows | Usually |
|---|---|---|
| Your name and address | Who the pay is for | Leave your name. Cover your address if the reader does not need it |
| Employer, pay period and pay date | Who pays you, and for which dates | Leave them |
| Pay figures | Hours, pay rate, gross and net pay, and year-to-date totals | Leave them for a landlord or lender |
| Employee ID and Social Security number | Your number in your employer's payroll, and sometimes part of your Social Security number | Cover them |
| Deductions | Retirement savings, health plans, union dues, and court-ordered payments like a wage garnishment | Ask first. They can say more about you than the reader needs |
| Direct deposit | The bank account your pay went into | Cover the account number |
What a landlord, a lender or a background check needs to see
Practice varies, so when in doubt, ask the person who asked for the document what they need. This is general information, not legal or tax advice.
A landlord, for a rental application
A landlord asking for pay stubs or a W-2 is usually checking your income: who pays you, how much and how recently. Ask what they need. Cover your Social Security number, your employee ID and the bank account on a pay stub. The FTC says a landlord does not need your Social Security number until you have agreed to rent.
A mortgage lender
Fannie Mae's Selling Guide, which sets the rules for the mortgages Fannie Mae buys, asks that a W-2 clearly identify you as the employee, and that a pay stub name your employer, include your year-to-date earnings and be dated no more than 30 days before you applied. So leave the pay figures in, and ask your loan officer before you cover anything.
A background check
An employer or a screening firm may ask for a W-2 to confirm a job you held. Ask which parts it needs before you send it. If it only needs to confirm the job, your name, your employer's name and the year may be enough, so ask whether you can cover the pay figures and your Social Security number.
A court filing
In a federal court filing, Rule 5.2 of the Federal Rules of Civil Procedure allows only the last four digits of a Social Security number or taxpayer identification number. State courts have their own rules, so check the court's before you file. In Lex Cloak, the Legal profile has a public federal court filing option that keeps the last four digits and removes the rest.
An AI assistant
To have ChatGPT or another assistant explain your withholding or check your pay, it needs the figures, not who you are. Take out your name, your address, your Social Security number and your employee ID first.
How to redact a W-2 or pay stub on your computer, offline
Lex Cloak is a desktop app for Windows and for Macs with Apple silicon. It reads the form, scanned pages included, and marks what it recognises for you to review.
- Open the W-2 or pay stub in Lex Cloak. A PDF from your payroll site and a scanned copy both work.
- Review what it marks: your Social Security number, names and addresses, and on a W-2 the employer's EIN. On a pay stub it also marks an employee ID and a bank account number where the stub labels them, such as Employee ID or Account Number. Turn off anything that should stay, like the EIN.
- Cover the figures yourself if they have to go. Lex Cloak does not mark wages, deductions or totals, so select them or hold Shift and drag a box over them.
- Save the redacted copy. The text under each box is removed from the saved file, and your original stays as it was.
An account number the stub has already shortened to its last four digits, like ****1234, is not marked, and usually does not need to be. A number printed in full with no label may not be marked either, so look over the direct deposit line yourself.
The work runs on your computer, so nothing about the form is uploaded, and redaction works with no internet connection. The app goes online for a few small things, like checking for updates and renewing your license, and none of them carries anything from your documents. Before saving, it checks the finished file for anything you marked that can still be read.
Scanning is free, and so are your first three documents. Check the system requirements. Using Adobe Acrobat, Preview on a Mac or a free app instead? The steps for each are in how to redact a PDF. Redacting a whole tax return? See how to redact a tax return or W-2.
How to check the redacted copy
- Open the redacted copy, not the original.
- Search it for something you covered, such as your employee ID. Nothing should come back.
- Try to select the text under a black box. If you can select it, it is still there.
A scanned form may have no text to search, so a search finds nothing whether the redaction worked or not. The full check, scans included, is in how to check a redacted PDF is actually redacted.
Common questions
- What should I redact on a W-2?
- Usually your Social Security number (or keep only its last four digits), and your home address if the reader does not need it. Leave your name, your employer’s name and the pay figures for a landlord or lender. For a background check, ask whether you can cover the pay figures too.
- What should I redact on a pay stub?
- Usually your employee ID, any part of your Social Security number, and the bank account your pay goes into. Leave your name, your employer’s name, the pay dates and the pay figures for a landlord or lender, and ask before you cover deductions or totals.
- Can I black out my salary on a W-2 for a background check?
- Ask the screening firm. If it only needs to confirm that you held the job, it may accept the pay figures covered. If it is checking your pay, it needs them.
- Why does my W-2 show only the last four digits of my Social Security number?
- The IRS lets employers shorten the number on the copies they give employees, replacing the first five digits with asterisks or Xs. The copy your employer files with the government shows the full number.
- Should I redact my W-2 before I give it to my tax preparer?
- Usually not. Your preparer needs your Social Security number and the full figures to prepare your return.
Related guides
Sources
Each rule comes from the page that publishes it, read on October 28, 2026. Rules change, so check the current version before you rely on one.