Payroll Overview
6
Minutes Read
Published
August 3, 2025
Updated
August 3, 2025

Practical Xero payroll setup for UK startups: compliant implementation and first pay run

Learn how to set up payroll in Xero UK correctly, from HMRC connection to auto-enrolment, ensuring full compliance for your small business.
Glencoyne Editorial Team
The Glencoyne Editorial Team is composed of former finance operators who have managed multi-million-dollar budgets at high-growth startups, including companies backed by Y Combinator. With experience reporting directly to founders and boards in both the UK and the US, we have led finance functions through fundraising rounds, licensing agreements, and periods of rapid scaling.

Before You Begin: Your Payroll Pre-Flight Checklist

Your UK tech startup has just hired its first employee. It's a significant milestone, but the operational reality of payroll quickly follows. This guide explains how to set up payroll in Xero UK, covering the essential pre-configuration steps through to running your first compliant pay cycle. Getting this right from the start is fundamental for compliance and for building a system that provides clear financial data to manage your runway. For most early-stage SaaS or Deeptech companies without a dedicated finance team, a pragmatic and correct implementation is the key to success.

Before you even open Xero, several foundational pieces must be in place. Tackling these first prevents delays and ensures your Xero setup is smooth and accurate. This preliminary work is the foundation of payroll compliance for startups UK.

1. Register as an Employer with HMRC

First, you must register with HM Revenue & Customs (HMRC) as an employer. This process provides your PAYE (Pay As You Earn) and Accounts Office reference numbers, which are essential for identifying your company to the tax authorities. Be aware that, according to gov.uk, "HMRC registration as an employer can take up to 15 working days." Do not leave this to the last minute. This registration enables you to deduct income tax and National Insurance contributions from your employees and pay them to HMRC.

2. Set Up a Workplace Pension Scheme

Second, you need to establish a workplace pension scheme. This is a non-negotiable step. The law is clear: "By law, UK employers must have a pension scheme ready for eligible employees from their first day of employment." For many startups, "NEST is the government-backed auto-enrolment option" and is a straightforward choice. Other popular providers include Smart Pension and The People's Pension. The key is to have the scheme selected and your account details ready before you start your Xero configuration.

3. Gather Employee Information

Finally, collect your new employee's details. You will need either their P45 form from their previous employer or a completed Starter Checklist if they do not have one. This document provides the correct tax code, ensuring the right amount of tax is deducted from their first salary payment. Having this on hand prevents delays and ensures your employee is paid correctly from day one.

How to Set Up Payroll in Xero UK: The One-Time Configuration

With your HMRC details, pension scheme, and employee information ready, you can begin the one-time configuration of Xero Payroll. This process connects your accounting software to the necessary external bodies and maps payroll costs to your financial reports. Properly integrating Xero with UK tax authorities is crucial for automated compliance.

  1. Activate Payroll and Enter Organisation Details
  2. Navigate to the Payroll section in Xero and follow the prompts to activate it. You will be asked to enter your organisation’s details, including the PAYE and Accounts Office reference numbers you received from HMRC. Accuracy here is vital, as these credentials form the digital handshake between Xero and the government. This is the first step in creating your Xero HMRC connection guide. For a broader checklist on company payroll setup, see the UK Payroll Setup for Startups.
  3. Connect to HMRC for Real Time Information (RTI)
  4. Next, you will authorise Xero to file payroll data on your behalf. This step directly addresses one of the most common failure points: misconfiguring HMRC RTI settings. RTI (Real Time Information) is the system that manages payroll reporting. As a required fact, "RTI (Real Time Information) is the system HMRC uses to receive payroll information automatically every time you pay employees." By entering your Government Gateway ID and password into Xero, you permit the software to make these mandatory submissions automatically every time you finalise a pay run. This automation is a core benefit of Xero payroll for small businesses, but it relies entirely on this initial connection being correct.
  5. Configure Pension Auto-Enrolment
  6. Failing to set up auto-enrolment correctly can lead to significant penalties. In Payroll Settings, go to the Workplace Pension tab to begin your Xero auto-enrolment setup. Here, you will select your pension provider (e.g., NEST) from the dropdown list and enter your employer reference number and payment details. You must also set the contribution rates. According to The Pensions Regulator, "As of the 2023/24 tax year, minimum auto-enrolment pension contribution rates are 5% from the employee and 3% from the employer." Xero uses these rates to automatically calculate deductions for all eligible employees.
  7. Map Payroll to Your Chart of AccountsThis is the most critical step for financial visibility. Incorrect mapping of payroll journals to your chart of accounts undermines real-time cash-flow visibility and board reporting. You need to tell Xero where to record each part of your payroll expense. The reality for most early-stage startups is more pragmatic: you do not need dozens of accounts, just the right ones. For a SaaS or E-commerce startup, a simple structure often works well. However, a Deeptech or Biotech startup needs more granularity to track R&D expenses for tax credit claims. Navigate to Payroll Settings, then Pay Items, and map each item to the appropriate account.For a Biotech startup focused on claiming R&D tax credits, your mapping should create clear separation:
    • Wages and Salaries (R&D Staff): Map this pay item to a dedicated expense account like 478 - R&D Staff Costs instead of the default 477 - Wages & Salaries. This isolates R&D-specific salary costs, which is fundamental for your tax credit calculation.
    • Employer NI (R&D Staff): Similarly, map the corresponding Employer NI contributions to 480 - R&D Employer's NI, not the generic 479 - Employer's NI. This ensures all associated R&D personnel costs are grouped together.
    • Employer Pension Costs (R&D Staff): Map these contributions to 482 - R&D Employer Pension to complete the picture of your R&D overhead.
    • Wages and Salaries (Non-R&D Staff): For administrative or commercial staff, use a separate account like 477 - G&A Wages & Salaries to keep these General and Administrative costs distinct from research expenses.
    This detailed mapping ensures your management reports and Profit & Loss statement accurately reflect where your largest cost, personnel, is being allocated.

Running Your First Pay Cycle: A Step-by-Step Workflow

Once the foundational setup is complete, you can move on to the recurring monthly workflow. This process is what you will repeat each time you pay your staff. The goal is to make it routine, accurate, and efficient.

  1. Add Your Employee
  2. Go to the 'Employees' tab in the Payroll section and add your first team member. You will enter their personal details, start date, and salary. In the 'Taxes' tab, you input the tax code and other information from their P45 or Starter Checklist. In the 'Pension' tab, you will enrol them in the pension scheme you configured earlier. Xero will automatically assess their eligibility based on age and earnings.
  3. Create and Post the Pay Run
  4. To start the process, go to 'Pay Runs' and click 'Add Pay Run' for the relevant period. Xero automatically pulls in all employees scheduled for that pay period and calculates their gross pay, tax, NI, and pension deductions. This is your moment to review everything. Check for any required adjustments, like overtime or bonuses. Once you are confident the figures are correct, click 'Post Pay Run'. Posting finalises the calculations and generates the corresponding journal entry in your accounts, reflecting the costs you mapped in the setup phase.
  5. File with HMRC (RTI Submission)
  6. Upon posting the pay run, Xero automatically prompts you to file the RTI submission with HMRC. This is the practical execution of the RTI connection you set up earlier. With a few clicks, the payroll data for that period is sent directly to the tax authorities. This step is mandatory and time-sensitive; it must be completed on or before each employee's pay day.
  7. Make the PaymentsA scenario we repeatedly see is founders assuming Xero moves the money. It does not. Xero calculates what you owe; you are responsible for making the actual bank payments. You will need to make three separate payments:
    • Pay Your Employees: Make a bank transfer to each employee for their net pay amount, as shown on their payslip. Most business bank accounts allow you to upload a payment file, which Xero can generate, to pay multiple employees at once.
    • Pay Your Pension Provider: Make a separate payment to your pension provider (e.g., NEST) for the total of the employer and employee contributions. Your pension provider’s portal will show you the amount due and the payment deadline.
    • Pay HMRC: Finally, you must pay HMRC the total tax and National Insurance liability (both employee and employer contributions). Xero shows this amount in your payroll reports. Remember this crucial deadline: "Total tax and NI liability payments to HMRC are due by the 22nd of the month following the payroll run." Set a calendar reminder for this payment each month. For an operational calendar of key dates, see the UK Payroll Deadlines Calendar for Startups.

Understanding Your Role: Xero's Automation vs. Your Responsibility

Setting up payroll in Xero for the first time is a project that transforms into a routine process. By distinguishing between the one-time setup and the recurring workflow, you can approach it methodically and avoid common pitfalls.

The most important distinction to remember is the division of responsibility. Xero is a powerful tool for calculation, reporting, and submission. It automates the complex parts of tax and pension calculations and connects directly to HMRC. However, the business owner remains responsible for providing correct initial data, reviewing each pay run for accuracy, and executing all bank payments to employees, pension providers, and HMRC on time. This understanding is key to successful payroll compliance for startups UK.

The goal is a compliant and reliable system, not an unnecessarily complex one. For an early-stage company, a clean setup that correctly maps costs and meets all regulatory deadlines is a significant asset. It provides the clean data needed for financial models, investor reports, and accurate cash-flow management. A well-configured Xero payroll system does not just pay your team; it becomes a source of truth for your largest expense, giving you the clarity needed to manage your runway effectively. See the Payroll Overview hub for broader context.

Frequently Asked Questions

Q: Does Xero automatically pay my employees, pension provider, and HMRC?
A: No. Xero is a calculation and reporting tool, not a payment service. It tells you exactly how much to pay, to whom, and by when. You are responsible for executing the actual bank transfers from your business bank account to your employees, pension scheme, and HMRC.

Q: How long does HMRC employer registration take?
A: According to GOV.UK, registering with HMRC as a new employer can take up to 15 working days. It is critical to complete this step well before your first employee's start date to receive the necessary PAYE and Accounts Office reference numbers for your Xero setup.

Q: What is the most common mistake when setting up Xero payroll?
A: One of the most common failure points is incorrectly configuring the connection to HMRC for Real Time Information (RTI) submissions. This can happen due to using the wrong Government Gateway credentials. Double-checking these details during setup is vital for automated, compliant filing.

Q: Why is mapping payroll to the Chart of Accounts so important?
A: Correctly mapping payroll costs to specific accounts provides clear financial visibility. For a tech startup, this allows you to isolate R&D staff costs for tax credit claims and gives your board accurate reports on where your largest expense, personnel, is being allocated.

This content shares general information to help you think through finance topics. It isn’t accounting or tax advice and it doesn’t take your circumstances into account. Please speak to a professional adviser before acting. While we aim to be accurate, Glencoyne isn’t responsible for decisions made based on this material.

Curious How We Support Startups Like Yours?

We bring deep, hands-on experience across a range of technology enabled industries. Contact us to discuss.