Moving a Payroll Engine Off a Legacy Platform Safely
System DesignModel answerLast updated
Plan the move of a regulated payroll function from an old on-prem system to a new platform, covering rollout strategy, data checks, parallel runs, cutover, rollback and communication.
Scenario
Your company runs payroll on an aging on-premises system whose calculation rules are partly custom code. Leadership has decided to move to a cloud payroll platform. Pay dates are fixed by law and by contract, payroll data is highly sensitive, and tax and audit rules apply.
Assume a working scale (state your own if you prefer): about 20,000 employees, 3 legal entities, 8 countries, a mix of biweekly and monthly pay groups, and roughly 10 years of history.
Task
Describe how you would plan and execute this migration. Your answer should cover:
- Scoping: which questions you would ask first, and which assumptions you would state.
- Rollout strategy: big-bang versus phased, and how you would choose the order of waves.
- Phases and exit gates: what happens from discovery through post-launch support.
- Data mapping and validation: how you would prove the migrated data and the new calculations are correct.
- Cutover timing and runbook: when to switch, and how the switch itself is run.
- Risk mitigation and rollback: what can go wrong, how you would detect it, and what you do if it does.
- Security, privacy and compliance: how sensitive data and audit obligations are handled.
- Stakeholder communication and governance: who must agree, and how you keep people informed.
- Decommissioning: what happens to the old system afterwards.
Be explicit about trade-offs and about the criteria that would make you stop or reverse.
Hints
Hint 1
Payroll is unusual: the pay date cannot slip, paid money cannot be recalled, and year-to-date balances must carry across. Let those facts drive your choices.
Hint 2
Compare big-bang with waves by pay group or country. Think about blast radius, temporary dual interfaces, and what each wave teaches the next.
Hint 3
Define measurable gates: mock conversions that must pass thresholds, parallel pay cycles with per-employee net pay comparison, and a named group signing off each variance.
Hint 4
Rollback is different after money has moved. Plan the decision points before the bank file is released, and an off-cycle correction path afterwards.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
What a strong answer shows
Payroll migration is a high-stakes decision problem. A strong answer treats three things as non-negotiable: the pay date cannot move, money already paid cannot be undone, and year-to-date (YTD) balances and statutory filings must stay continuous. Everything else (phasing, gates, communication) follows from those.
1. Scope and assumptions
Ask first, then state assumptions:
- Headcount, entities, countries, pay frequencies. Assume about 20k employees, 8 countries, 3 entities, biweekly US and monthly UK/EU.
- What moves: employee master data, compensation, deductions and benefits, garnishments, tax setup, bank details, YTD/QTD balances, and historical payslips.
- Constraints: zero missed or late payments, correct statutory filings, SOX-style controls, GDPR and data residency for EU data, retention of 4 to 7 years.
- Integrations: HRIS, time and attendance, benefits carriers, GL/ERP, banks (ACH, BACS, SEPA), tax agencies.
- What happens to legacy afterwards (usually read-only archive).
2. Big-bang versus phased
Big-bang is shorter and needs only one integration switch, but every failure hits everyone at once. Phased limits blast radius and lets each wave improve the next, at the cost of a longer timeline and temporary dual interfaces.
Recommendation: phased by pay group or country. Start with a small, simple group (for example a few hundred UK monthly employees), proceed to larger groups, and leave the most complex one (US, multi-state tax) for last when the process is proven. Each wave is preceded by parallel runs.
3. Phases and gates
- Discovery (4 to 6 weeks). Inventory data elements, custom calculation rules, interfaces, reports. Interview payroll operators: undocumented manual workarounds are the biggest source of surprises. Profile data quality (duplicates, missing bank data, terminated staff with balances).
- Design and mapping (4 to 6 weeks). Source-to-target spec with a transformation rule, owner and sign-off per field. Build crosswalks for pay codes (for example about 400 legacy codes consolidated to about 150) and tax jurisdictions. Decide what moves as structured data (current state plus current-year YTD) and what is archived (older years as documents).
- Build and mock conversions (8 to 12 weeks). Scripted, repeatable ETL, never manual loads. Run at least three full mocks into a test tenant; each must meet thresholds before the next begins.
- Parallel runs (2 to 3 cycles per wave). Same inputs into both systems; legacy remains the system of record and pays people.
- Cutover (per wave). See section 5.
- Hypercare (about 2 cycles). Elevated support, daily variance review, then move legacy to archive.
4. Validation in layers
- Counts and control totals: headcount by entity and status; sums of salary, YTD gross, tax and deductions must match exactly.
- Field-level reconciliation: 100% automated comparison of critical fields (bank account, tax elections, pay rate); sampling for the rest.
- Business rules: no active employee without bank or tax setup; garnishment priority preserved.
- Parallel comparison: per-employee net pay within a tight tolerance (such as 0.01). Every variance is explained and signed off, e.g. intentional rule change or rounding method. Example exit criterion: at least 99.9% exact match and 100% of variances explained across two consecutive cycles.
- Downstream: GL journal balances, bank file passes a test or pre-note, tax filing previews match legacy.
Payroll, Finance and Internal Audit sign off; this doubles as audit evidence.
5. Cutover timing and runbook
- Best timing: just after a tax-year boundary (for example January 1 in the US, April 6 in the UK), once year-end processing is closed, so little YTD needs to move.
- Acceptable: start of a quarter, which keeps quarterly filings in one system.
- Avoid: mid-quarter, bonus or equity-vest cycles, open enrollment, merit-increase months.
Runbook for a biweekly group: freeze legacy changes about five business days before the run; record changes made during the freeze in a delta log; run the final delta load and validate it; hold go/no-go about three days before; run the first live payroll with buffer ahead of the bank deadline.
6. Risks and rollback
| Risk | Mitigation |
|---|---|
| Wrong net pay | Parallel runs, variance sign-off, pre-payroll audit report on first live cycle |
| Missed pay date | Buffer before bank deadline; off-cycle manual payment process rehearsed |
| Bad bank data | Format validation, pre-note test, flag recent changes |
| Tax errors | Boundary-aligned cutover, filing previews, early tax vendor engagement |
| Hidden legacy logic | Operator interviews, unexplained variances in mocks |
| PII exposure | Encryption, least privilege, masked test data, audit logs, privacy impact assessment |
| Integration breaks | End-to-end tests with every feed |
Rollback is time-dependent. Before the bank file is released, you can fall back to legacy for that cycle if triggers fire (for example variance above threshold, failed control totals, or an unresolved critical defect). Keep legacy runnable and its data current through the first cycles. After money has moved, you cannot reverse it; you correct with off-cycle payments or adjustments in the next cycle. So the decision point is before release, and the triggers must be written down and agreed in advance.
7. Security and compliance
Encrypt in transit and at rest, restrict access to SSNs and bank data, mask data in non-production, keep audit logs, respect EU residency, and complete a privacy assessment. Maintain segregation of duties between who loads data and who approves it. Retain history per statutory periods.
8. Governance and communication
Form a steering group with HR, Payroll, Finance, IT, Legal, and Internal Audit. Use a RACI for sign-offs. Communicate to employees early on what changes (payslip layout, portal, dates), provide a help channel during hypercare, and brief managers and vendors (banks, carriers, tax agencies). Report weekly on gate status and defects.
9. Decommissioning
Keep legacy read-only until retention, audit, and the first year-end under the new platform are complete. Verify archived payslips and records are retrievable, then retire the system with documented approval.
Common mistakes
- Choosing a cutover date mid-quarter or during a bonus cycle.
- Skipping operator interviews and missing manual workarounds.
- Treating rollback as possible after payment.
- Using real data in test environments without controls.
- Declaring success from record counts alone rather than parallel net-pay comparison.