The record types in an EFW2 file
An EFW2 file contains RA, RE, RW, RS, RT and RF records, plus RO and RU records when an employee has an amount that belongs in them. Each record is 512 characters long and is identified by its first two characters.
| Record | Name | How many | Position in the file |
|---|---|---|---|
| RA | Submitter | One | First |
| RE | Employer | One per employer | After RA |
| RW | Employee wage | One per employee | After RE |
| RO | Employee optional | One per employee with box 8 or certain box 12 amounts | Immediately after its RW |
| RS | State and local wage | One per municipality row (RITA and CCA only) | After its RW, or its RO |
| RT | Employer totals | One per employer | After the last employee |
| RU | Optional totals | One per employer, only if any RO was written | After RT |
| RF | Final | One | Last |
With SSA federal chosen, the converter writes no RS records. SSA's specification says the RS record is optional and that "SSA and IRS do not read or process this information". With RITA or CCA chosen, the converter handles state and municipal filing.
RA: submitter record
The RA record identifies who is sending the file. For an employer filing its own payroll, that is the employer. For a practice filing for a client, it is the practice.
It carries the submitter's EIN, the Business Services Online user ID, the organisation's name and address, and a contact name, telephone number and email address. If SSA has a question about the submission, it contacts this person.
RE: employer record
The RE record identifies whose payroll this is: the employer's EIN, name and address, the tax year, and the kind-of-employer and employment-code fields.
Because the tax year is on this record, each converter file converts for one year only. The tax year 2026 converter puts 2026 here. Using it to generate a 2025 file would produce a record whose year does not match its contents.
RW: employee wage record
There is one RW record per employee. It holds the name, Social Security number and address, and W-2 boxes 1 to 7 and 10, the two parts of box 11, the box 13 checkboxes, and box 12 codes C, D, E, F, G, H, Q, V, W, Y, AA, BB, DD and FF. From tax year 2026 it also carries the box 14b Treasury tipped occupation codes. See the RW record.
RO: employee optional record
The RO record holds box 8 allocated tips and the box 12 codes that are not on the RW record: A, B, J, K, L, M, N, P, R, S, T, Z, EE, GG, HH and II, plus the three codes new for 2026, TA, TP and TT.
"Optional" here means the record is written only when it applies. SSA's rule is that the record is written when one of its fields applies to the employee, and never when it would hold only blanks and zeros. An employee with qualified overtime (code TT) therefore needs one.
RS: state and local wage record
The RS record follows the RW it belongs to, or that employee's RO. SSA's layout gives it state wage and state tax fields, but SSA does not read them. In an Ohio municipal file it carries the municipality, the tax type, the local wages and the local tax withheld, in fields the two Ohio agencies define. See the RS record.
There is one RS record per municipality row. An employee who needs both a workplace and a residence record needs two spreadsheet rows with the same Social Security number. The converter writes one RW for that employee, followed by both RS records.
RT: employer totals record
The RT record holds the count of RW records and the total of each RW money field.
A file whose RT does not match the RW records before it is rejected. For that reason, the free version's partial file totals only the rows it contains. A file with ten employees and an RT that describes fifty would be corrupt, not partial.
RU: optional totals record
The RU record holds the count of RO records and the total of each RO field. It is written only when at least one RO record was. RITA's specification lists RU as required, which, read with SSA's rule, means whenever an RO record is present.
RF: final record
The RF record ends the file and repeats the count of RW records.
Why the file has no RV records
The format also defines an RV record, a state total record. No file from this converter contains one. RITA and CCA are municipal agencies, not state ones, so there is no state total to report.