About NHS Numbers
What is an NHS Number?
The NHS Number is a single patient identifier used across the NHS. In the various UK Nations, it is referred to by different terminology and may have different validation rules.
How do I find out my NHS Number?
Identifying individual NHS Numbers is outside the scope of this package. Still, if you are curious, you can find out your NHS number here NHS website for patients in England, Wales and the IOM, and here NHS Scotland for patients in Scotland.
England, Wales and the Isle of Man
The NHS Number is a single patient identifier used across the NHS in England, Wales, and the Isle of Man.
In 2015, the NHS Number was legally mandated to be used as a single patient identifier across health and care with the introduction of the The Health and Social Care (Safety and Quality) Bill.
The use of the NHS number in health and care organisations in England is specified in the Information Standards Board standard ISB 0149 NHS Number (Note that these NHS Digital links, while live at the time of editing this documentation, may at some stage move to NHS England following the merger of those organisations, which is ongoing, in 2023)
Scotland
Scotland calls the identifier a Community Health Index (CHI) Number, using a similar standard for check-digit validation. However, the first 6 digits of the number are the date of birth in the format DDMMYY
rather than a sequential number. Following this, there is a 3-sequence number.
The ninth digit is always even for females and odd for males.
Northern Ireland
Northern Ireland has similar single patient identifiers, referred to as the Health and Care Number (H&C Number).
Republic of Ireland
While the Republic of Ireland is its own sovereign state, independent from the UK, using its own Individual Health Identifier (IHI) number, it is included here for completeness because the IHI internally uses the range of identifiers reserved for it as per the table below and the NHS Number may possibly be used in cross-border care.
For more detail, see Individual Health Identifier (IHI).
NHS Number Ranges
Live NHS Number Ranges
This table shows how different ranges within the standard number format are distributed across the UK and Ireland.
n
represents a digit, 0-9
, which is the check digit.
Range |
Usage | Description |
---|---|---|
010000000n - 319999999n | Scotland | Used for Scottish Community Health Index (CHI) numbers, which have historically contained the date of birth as the first 6 digits. |
320000000n - 399999999n | Northern Ireland | Used for NI Health and Care Numbers. |
400000000n - 499999999n | England, Wales, IOM | Used for NHS numbers in England, Wales and the Isle of Man. |
600000000n - 799999999n | England, Wales, IOM | Used for NHS numbers in England, Wales and the Isle of Man. |
800000000n - 859999999n | Republic of Ireland | Used by the Republic of Ireland within the IHI (digits 8-17). |
Test/Unallocated Number Ranges
This table shows the ranges not assigned to live use (e.g. testing, unallocated).
Range |
Usage | Description |
---|---|---|
500000000n - 599999999n | Testing | Used for NHS Care Records Service internal testing. |
860000000n - 899999999n | Spare | Unallocated range to allow for future expansion. |
900000000n - 999999999n | Testing | Unallocated and Development / Test systems to use this range. |
NHS Number Check Digit Validation
NHS Numbers in England, Wales and the Isle of Man are a simple 9-digit number with a check digit. The check digit is calculated using a variation of the Luhn algorithm (also known as the Modulus 11 algorithm).
This check digit is intended to make the number somewhat resistant to accidental transcription errors, not to make it cryptographically secure.
Information Sources
Further reading
For those with an unnaturally strong interest in the NHS Number, you may enjoy the following: