Unique pupil numbers

Guide for schools and local authorities on unique pupil numbers (UPNs) and a tool for generating them.


UPN generator: 2015 to 2016 academic year

This file may not be suitable for users of assistive technology. Request an accessible format.

If you use assistive technology (eg a screen reader) and need a version of this document in a more accessible format, please email Please tell us what format you need. It will help us if you say what assistive technology you use.


The unique pupil number (UPN) is a 13-character code that identifies each pupil in the local-authority-maintained school system.

The guide is for schools and local authorities, and provides information on UPNs, including:

  • guidelines on maintaining UPNs
  • data protection
  • how to generate UPNs

The spreadsheet is a tool for generating UPNs.