FinchContext
Run with

Build IRS Form 941 E-File (94x MeF XML)

Skill: Convert quarterly payroll figures into a Form 941 MeF XML return

Region: United States Category: Employment Tax Does: Takes a quarter's payroll totals and maps them onto the IRS 94x Modernized e-File (MeF) XML schema for Form 941, Employer's Quarterly Federal Tax Return — the return employers use to report withheld income tax and both halves of Social Security and Medicare tax. System: IRS 94x MeF (Modernized e-File)

The 94x MeF XML schemas are tax-year/quarter-specific and distributed through the IRS e-Services / MeF package (Pub. 4164 + the 94x schema set). Element names below are representative of the line structure on Form 941, not the verbatim XSD element names — always map onto the current TY schema. Transmission requires an IRS EFIN/ETIN and (for self-transmitting) MeF A2A credentials; most filers go through an approved 94x MeF provider.


When e-filing applies


Input data required

Group Fields
Filer EIN, business name, address, quarter, tax year
Wages & withholding total wages/tips/comp (Line 2), federal income tax withheld (Line 3)
Social Security taxable SS wages (5a) and tips (5b), SS tax = base × 12.4%
Medicare taxable Medicare wages & tips (5c) × 2.9%; Additional Medicare (5d) wages × 0.9%
Adjustments fractions of cents, sick pay, tips & group-term life (Lines 7–9)
Credits qualified small-business payroll R&D credit (Line 11), Form 8974
Deposits total deposits for the quarter (Line 13)
Schedule B per-day liability for semiweekly depositors (or Line 16 monthly breakdown)

Line structure (Form 941 → XML)

Line 1   Number of employees
Line 2   Wages, tips, and other compensation
Line 3   Federal income tax withheld
Line 5a  Taxable Social Security wages      × 0.124  → 5a col 2
Line 5b  Taxable Social Security tips       × 0.124
Line 5c  Taxable Medicare wages & tips      × 0.029
Line 5d  Wages subject to Additional Medicare × 0.009
Line 5e  Total Social Security + Medicare taxes (sum of 5a–5d col 2)
Line 6   Total taxes before adjustments (3 + 5e + 5f)
Line 7–9 Adjustments (fractions of cents, sick pay, tips/GTL)
Line 10  Total taxes after adjustments
Line 11  Nonrefundable credits (Form 8974)
Line 12  Total taxes after credits
Line 13  Total deposits
Line 14  Balance due   (12 > 13)
Line 15  Overpayment   (13 > 12)  → apply to next return / refund
Line 16  Monthly depositor liability  OR  Schedule B (semiweekly)

Calculation rules


Worked example (Q1, one employer)

Total wages $300,000; federal income tax withheld $45,000; all wages under the SS base and under $200k/employee:

Line 2   300000.00
Line 3    45000.00
Line 5a  300000.00 × 0.124 = 37200.00
Line 5c  300000.00 × 0.029 =  8700.00
Line 5e   45900.00
Line 6    90900.00   (= 45000 + 45900)
Line 10   90900.00
Line 12   90900.00
Line 13   90900.00   (deposited timely)
Line 15        0.00  (balanced)
Line 16   Monthly: M1 30300 + M2 30300 + M3 30300 = 90900.00

The figures are then emitted as the Form 941 element set inside the 94x MeF return (ReturnHeader with filer EIN/quarter + ReturnData with the IRS941 schema), wrapped for MeF transmission.


Validation checklist


Last updated: 2026-05-31 — 94x MeF schemas and the Social Security wage base change yearly; confirm element names, the current-year SS wage base, deposit schedule, signature options, and deadlines against current IRS 94x MeF / Pub. 4164 guidance before use.