You're required to keep payroll records for at least three years after the tax year they relate to, in case of HMRC audits.