Payroll Number Explained for Employers

payroll number

SECTION GUIDE

Payroll numbers are a routine part of UK employment administration, yet many employers and HR teams use them without a clear understanding of their purpose, legal status or impact on payroll accuracy. A payroll number is an internal identifier that links an employee to the correct payroll record. It allows HR teams, payroll departments and software systems to process pay securely, allocate tax and National Insurance correctly and minimise errors when reporting through Real Time Information (RTI). While payroll numbers can be included in RTI submissions, HMRC primarily relies on core personal data, such as name, date of birth and National Insurance number, rather than payroll numbers themselves when matching records.

What this article is about:
This article explains what a payroll number is, how it works, and how employers should assign, use and manage payroll numbers within their HR and payroll systems. It also examines the legal and compliance considerations involved, including data protection, itemised payslip obligations and HMRC reporting. The guide is written for business owners and HR professionals who need a clear, comprehensive explanation that supports accurate payroll operations and reduces the risk of administrative errors.

Employers use payroll numbers to streamline internal processes, reduce duplication and maintain accurate employee records. While there is no legal requirement to use payroll numbers, they are widely adopted because they improve payroll efficiency and support compliance with PAYE and RTI. When a payroll number is incorrect or duplicated, it can lead to mismatches in internal records, payment delays or errors that complicate communications with HMRC, even though HMRC will still process RTI submissions using the core personal and tax data provided. As such, employers benefit from understanding how payroll numbers function and the best practices for managing them.

When implemented correctly, payroll numbers play a valuable role in reinforcing the integrity of your payroll system. This introduction sets the foundation for the sections that follow, where we explore how payroll numbers are defined, assigned, managed and safeguarded across HR and payroll environments, and how employers can maintain legally compliant and operationally robust payroll processes.

 

Section A: What Is a Payroll Number?

 

A payroll number is an internal reference used by employers to identify each employee within their payroll system. It serves as a unique marker that links an individual to the correct pay, tax and employment records. While payroll numbers are not legally required, they form a core part of payroll administration for most UK employers, regardless of whether payroll is run internally or outsourced to a bureau.

At its simplest, a payroll number sits alongside an employee’s name and National Insurance number to ensure payroll data is accurate and consistent every pay period. It helps payroll software distinguish between employees with similar names, maintains continuity when staff move roles internally and provides a reliable reference point for HR teams when reviewing employment records or responding to queries. Because the National Insurance number is a unique, lifetime identifier issued by the UK government, the payroll number operates as an internal companion reference that supports, rather than replaces, that statutory identifier.

 

1. Definition and purpose of a payroll number in UK employment

 

A payroll number is a unique identifier created by the employer. It allows payroll processors and HR staff to retrieve the correct employment file instantly, reducing the risk of errors in pay calculations, deductions or tax reporting. The number helps maintain data integrity across all internal systems, from HR records to pension contributions and time-keeping tools. Used properly, it supports accurate operation of PAYE and Real Time Information (RTI) reporting by keeping internal payroll data aligned with the personal and tax information submitted to HMRC.

 

 

2. How payroll numbers work in payroll systems

 

Modern payroll software uses payroll numbers as a primary indexing tool. This ensures the employee’s record always aligns with their pay history, tax details, contracted hours and year-to-date figures. The number remains consistent throughout employment unless there is a deliberate change to a new system. When payroll information is transmitted to HMRC through RTI submissions, the payroll number may be included automatically depending on how the employer configures the software. However, HMRC does not require payroll numbers to be reported, and it primarily relies on core personal and tax data, such as name, date of birth, National Insurance number and pay details, when matching records.

 

 

3. Difference between payroll numbers, employee ID numbers and NI numbers

 

Payroll numbers often get confused with other types of identifiers. An employee ID may be used across wider HR systems to log into benefits portals or training platforms, but a payroll number relates specifically to payroll processing and pay records. A National Insurance number is a unique, lifetime identifier issued by the government, not the employer, and is used to calculate NI contributions and maintain the individual’s contribution record. In contrast, a payroll number is entirely employer-generated and may follow any structure the business chooses, provided the internal system remains clear and consistent.

 

 

4. Why HMRC sometimes references payroll numbers in PAYE submissions

 

HMRC does not issue payroll numbers, but it accepts them within RTI submissions where employers choose to include them. Including payroll numbers can help both the employer and HMRC match records and avoid confusion where multiple employees have similar names, or where the employer needs to cross-reference internal records when answering HMRC queries. HMRC, however, does not treat payroll numbers as a primary matching field and does not require them in RTI submissions; its systems principally rely on National Insurance numbers and other personal details. If the employer uses payroll numbers consistently, they can still support smoother communication with HMRC and reduce the likelihood of confusion in record-checking.

 

Section A Summary
Payroll numbers are internal identifiers that strengthen the accuracy and efficiency of payroll and HR administration. Although not required by law, they help employers manage records securely and support accurate PAYE and RTI reporting by keeping internal records aligned with the employee’s core personal and tax data. Understanding their purpose and how they interact with payroll systems sets the foundation for the employer responsibilities explored in later sections.

 

Section B: How Payroll Numbers Are Assigned

 

Payroll numbers can be assigned in various ways depending on the size of the organisation, the payroll software used and the employer’s internal processes. There is no legal format or rule governing payroll numbering, which gives employers complete discretion. What matters is that the chosen system is consistent, secure and avoids duplication. Employers typically implement payroll numbers during onboarding, where the employee’s personal and tax details are entered into the payroll system. Some businesses use simple sequential numbering, while others prefer departmental codes, alphanumeric combinations or automatically generated numbers from payroll software. The method chosen should help streamline payroll operations and reduce the risk of administrative errors.

 

1. Common assignment methods

 

Small and medium-sized employers often use sequential numbering—001, 002, 003 and so on. Larger organisations may allocate numbers by department, location or job grade to aid internal reporting. Where payroll software issues automated numbers, employers may allow the system to generate the identifier without manual intervention. All methods are acceptable as long as employee records remain clear and consistent and duplication is avoided within each PAYE scheme operated by the employer.

 

 

2. Payroll software rules and employer discretion

 

Most payroll platforms permit full customisation of payroll numbers. Employers can edit, override or reset numbers, but they should do so cautiously because alterations can affect linked records such as pension schemes, benefits platforms or HR databases. Employers must ensure that any changes are reflected across all integrated systems to avoid discrepancies. Any change should also be documented to maintain audit trails and ensure alignment with future RTI submissions, although historic submissions do not require amendment.

 

 

3. Reusing or retiring payroll numbers

 

Best practice is to retire payroll numbers when an employee leaves to maintain the integrity of historical payroll data. Reusing numbers can cause confusion, especially where HMRC records need to be checked or historical pay information reviewed. Some payroll systems prevent reuse automatically; others leave the decision to the employer. For audit continuity and ease of reconciliation, most employers choose not to recycle numbers, particularly where multiple payrolls or PAYE schemes are operated.

 

 

4. When payroll numbers change

 

Payroll numbers may need to change during mergers, acquisitions, restructures or system migrations. In these cases, employers should ensure the old number is mapped correctly to the new one within the payroll system and that the transition is documented. Where practical, employers should avoid unnecessary renumbering as it increases the risk of errors that can then cascade into RTI submissions or internal reporting. Such changes do not require amendments to past RTI submissions, as HMRC records will continue to rely on the original data submitted at the time. If an employee leaves the organisation and later returns, some employers reinstate the original number, while others allocate a new one depending on their internal policy.

 

Section B Summary
Payroll numbers can follow any structure the employer chooses, as long as the system is logical, consistent and avoids duplication. Employers should avoid recycling numbers and ensure any changes are properly mapped across linked systems. A clear assignment approach creates a stable foundation for compliant and accurate payroll administration and avoids confusion across PAYE schemes and internal record-keeping.

 

Section C: Legal and HR Considerations

 

Although payroll numbers are not legally mandated, their use sits within a broader framework of employment law, payroll regulation and data protection. HR teams must ensure that payroll numbers support compliance rather than undermine it. This section sets out the key legal and operational considerations for employers when issuing, storing and using payroll numbers.

Payroll numbers interact with several statutory requirements, particularly around payslips, PAYE reporting and employee data handling. Mistakes in how payroll numbers are managed can create avoidable risks, including incorrect HMRC submissions, mismatched employee records and breaches of data protection law. Employers therefore benefit from clear internal rules and a consistent approach.

 

1. Whether payroll numbers are legally required

 

There is no legal requirement to allocate payroll numbers to employees. The UK’s employment legislation, including the Employment Rights Act 1996 and the Itemised Pay Statement Regulations, does not mandate them. However, most employers adopt payroll numbers to help meet other legal duties such as accurate PAYE calculations, RTI submissions and issuing correct itemised pay statements. The absence of payroll numbers does not breach the law, but poor record-keeping or inaccurate payroll data can, particularly where it leads to non-compliance with PAYE or payslip obligations.

 

 

2. Data protection risks and rules

 

Payroll numbers are personal data if they can identify an individual when combined with other information. Employers must therefore store and process them in line with the UK GDPR and the Data Protection Act 2018. Payroll numbers should not reveal sensitive information, such as department codes that could imply health conditions or union membership. Employers must also ensure secure storage, controlled access and suitable retention schedules. Processing payroll numbers requires a lawful basis under Article 6 UK GDPR, typically the performance of the employment contract or compliance with the employer’s legal obligations relating to payroll. Payroll numbers should never be used as passwords or authentication codes.

 

 

3. Payslips and the role of payroll numbers

 

The law requires employers to provide itemised pay statements under the Employment Rights Act 1996 (section 8) and the Itemised Pay Statement Regulations, but payslips do not have to show payroll numbers. Including them is optional. Some employers use payroll numbers on payslips to help staff identify their records or support queries. If included, the number must be accurate and consistent with internal payroll records, as discrepancies can lead to confusion or incorrect payroll adjustments.

 

 

4. Preventing duplication and HMRC mismatches

 

Duplicate payroll numbers or errors in numbering can result in inaccurate RTI submissions, which may complicate HMRC’s ability to support the employer in resolving tax queries. RTI submissions will not be rejected solely due to incorrect payroll numbers because HMRC matches records primarily using name, date of birth, National Insurance number and pay data. However, inconsistencies caused by misaligned payroll numbers can hinder internal reconciliation processes, prolong HMRC queries and increase the risk of incorrect earnings or tax code information being reviewed against the wrong internal record. Employers should adopt controls to ensure payroll numbers remain unique, including system checks, onboarding procedures and audits during system changes. Where numbers appear in HMRC submissions, they must match the payroll system’s internal record to avoid confusion.

 

Section C Summary
Payroll numbers support compliance with payroll law but must be managed carefully to avoid data protection risks and HMRC reporting errors. Although not legally required, they help employers meet record-keeping duties, streamline payroll operations and maintain accuracy across HR systems. A structured approach reduces administrative risk and ensures payroll remains legally compliant.

 

Section D: Payroll Number Issues and Best Practice

 

Payroll numbers, while straightforward in principle, can cause significant operational and compliance problems if managed poorly. Inaccurate, duplicated or outdated payroll numbers can distort payroll records, create discrepancies in HMRC reporting and generate unnecessary administrative work for HR teams. This section sets out the common issues employers face and the best practice approaches that strengthen payroll accuracy and reduce risk.

A clear internal framework for issuing, recording and updating payroll numbers supports the integrity of payroll systems. Employers benefit from ensuring that payroll teams, HR departments and external processors follow consistent processes. Good practice in this area reduces the likelihood of errors that can impact tax codes, earnings records and employee trust.

 

1. Common problems

 

  • Duplicate numbers assigned to different employees
  • Numbers accidentally changed or overwritten
  • Missing numbers due to incomplete onboarding
  • Legacy numbering systems conflicting after mergers or software upgrades

 

Each of these issues can lead to payroll confusion, incorrect pay allocation or difficulties matching employee data across HR and payroll systems.

 

2. Impact on PAYE, RTI and tax codes

 

When payroll numbers are wrong in payroll software but accurate in HR systems—or vice versa—RTI submissions may include incorrect identifiers. HMRC will still process the submission because payroll numbers are not a required field, but mismatched numbers can create confusion during later tax code checks, employer queries or employee disputes. HMRC’s matching process is driven primarily by personal details and the National Insurance number, but inconsistencies in payroll numbers can complicate employer-side reconciliation and prolong investigations.

 

 

3. Internal process controls

 

Employers should implement internal controls to maintain payroll number accuracy. These include:

  • Ensuring onboarding processes validate whether a number has already been used
  • Maintaining a central numbering protocol or system settings that prevent duplication
  • Documenting any changes and ensuring they cascade across all integrated systems
  • Conducting periodic audits, particularly after system migrations or organisational changes

 

A structured approach reduces avoidable errors and supports compliance with payroll reporting requirements. Employers running multiple PAYE schemes should also ensure payroll numbers are unique within each scheme to avoid cross-recording errors.

 

4. Best practice for clarity and record-keeping

 

To maintain strong payroll governance, employers should:

  • Use simple, logical numbering systems
  • Avoid reusing numbers for former employees
  • Ensure payroll numbers remain consistent across HR, pensions and payroll systems
  • Provide staff with clear internal guidance on assigning and updating numbers
  • Maintain secure storage and restrict access to only those with a legitimate business need

 

These practices reinforce data accuracy and improve the reliability of payroll administration.

Section D Summary
Payroll numbers can cause significant issues if not maintained correctly. Employers should prioritise clarity, consistency and internal controls to prevent duplication, mismatched records and HMRC complications. A disciplined approach ensures payroll numbers remain an effective tool for supporting accurate payroll operations and compliance.

 

FAQs

 

Is a payroll number the same as a PAYE reference?

 

No. A PAYE reference is issued by HMRC to identify the employer, while a payroll number is created by the employer to identify the employee. They serve different functions and should not be confused.

 

Does HMRC issue payroll numbers?

 

No. HMRC does not create or assign payroll numbers. Payroll numbers are entirely employer-generated, although HMRC systems will accept them within RTI submissions if the employer chooses to include them. They are not required for HMRC matching.

 

Should payroll numbers appear on payslips?

 

It is optional. Employers may choose to include payroll numbers on payslips to support employee identification or internal record-keeping, but this is not a legal requirement under the Employment Rights Act 1996 or the Itemised Pay Statement Regulations.

 

Can two employees have the same payroll number?

 

There is no statutory prohibition, but it is strongly discouraged. To avoid errors, each employee should have a unique payroll number within the relevant PAYE scheme. Duplication increases the risk of incorrect pay, mismatched records and administrative complications.

 

What happens if a payroll number is wrong on an HMRC submission?

 

HMRC will still process the submission, as payroll numbers are not required fields. However, a wrong number may complicate record-checking, internal reconciliation and the resolution of tax code queries. Employers should correct the number in their payroll system and ensure future RTI submissions reflect the updated information.

 

 

Conclusion

 

Payroll numbers play a practical but important role in the accuracy and efficiency of payroll operations. While not legally required, they support employers in maintaining clear, organised and compliant records across HR and payroll systems. A structured approach to assigning and managing payroll numbers helps minimise administrative errors, prevents duplication and reduces the risk of mismatched HMRC records.

For business owners and HR professionals, understanding how payroll numbers interact with PAYE, RTI and data protection requirements is key to maintaining strong internal governance. Employers who apply consistent numbering systems, secure storage practices and clear internal processes can significantly reduce the likelihood of payroll disputes, tax issues and system inconsistencies.

A well-managed payroll numbering process reinforces trust in the payroll system and supports good practice across the wider organisation. By following the guidance in this article, employers can ensure payroll numbers remain an effective tool for accurate payroll administration and compliance.

 

Glossary

 

Payroll NumberAn employer-generated identifier assigned to an employee for payroll processing and internal record-keeping.
PAYE ReferenceA unique code issued by HMRC to identify an employer’s PAYE scheme.
Employee IDAn internal identifier used across HR systems, separate from a payroll number and not linked specifically to payroll processing.
National Insurance NumberA unique, government-issued lifetime identifier used to calculate National Insurance contributions and maintain an individual’s contribution record.
RTI Submission“Real Time Information” reporting, where employers submit pay and tax data to HMRC each time employees are paid.
Itemised Pay StatementA legally required payslip that sets out earnings and deductions under the Employment Rights Act 1996.

 

Useful Links

 

GOV.UK – PAYE and payroll for employersOfficial guidance on PAYE obligations, payroll reporting and employer duties
GOV.UK – Real Time Information (RTI) reportingGuidance on submitting payroll information to HMRC each pay period
GOV.UK – PayslipsGovernment rules on what must be included in an employee’s itemised pay statement

 

About DavidsonMorris

As employer solutions lawyers, DavidsonMorris offers a complete and cost-effective capability to meet employers’ needs across UK immigration and employment law, HR and global mobility.

Led by Anne Morris, one of the UK’s preeminent immigration lawyers, and with rankings in The Legal 500 and Chambers & Partners, we’re a multi-disciplinary team helping organisations to meet their people objectives, while reducing legal risk and nurturing workforce relations.

Read more about DavidsonMorris here

About our Expert

Picture of Anne Morris

Anne Morris

Founder and Managing Director Anne Morris is a fully qualified solicitor and trusted adviser to large corporates through to SMEs, providing strategic immigration and global mobility advice to support employers with UK operations to meet their workforce needs through corporate immigration.She is recognised by Legal 500 and Chambers as a legal expert and delivers Board-level advice on business migration and compliance risk management as well as overseeing the firm’s development of new client propositions and delivery of cost and time efficient processing of applications.Anne is an active public speaker, immigration commentator, and immigration policy contributor and regularly hosts training sessions for employers and HR professionals.
Picture of Anne Morris

Anne Morris

Founder and Managing Director Anne Morris is a fully qualified solicitor and trusted adviser to large corporates through to SMEs, providing strategic immigration and global mobility advice to support employers with UK operations to meet their workforce needs through corporate immigration.She is recognised by Legal 500 and Chambers as a legal expert and delivers Board-level advice on business migration and compliance risk management as well as overseeing the firm’s development of new client propositions and delivery of cost and time efficient processing of applications.Anne is an active public speaker, immigration commentator, and immigration policy contributor and regularly hosts training sessions for employers and HR professionals.

Legal Disclaimer

The matters contained in this article are intended to be for general information purposes only. This article does not constitute legal advice, nor is it a complete or authoritative statement of the law, and should not be treated as such. Whilst every effort is made to ensure that the information is correct at the time of writing, no warranty, express or implied, is given as to its accuracy and no liability is accepted for any error or omission. Before acting on any of the information contained herein, expert legal advice should be sought.