Developer and Text Tools

Bahrain CPR Numbers: What the Nine Digits Mean and How to Check Them

How Bahrain CPR identity numbers are structured, what the first four digits reveal, what can be checked in a form and how to clean lists of CPR numbers.

Saizul Amin
Saizul Amin28 Oct 2026 · 3 min read
Bahrain CPR Numbers: What the Nine Digits Mean and How to Check Them

Bahrain CPR Numbers: What the Nine Digits Mean and How to Check Them

Every citizen and resident of Bahrain has a Central Population Register (CPR) number. It appears on the smart identity card and is used for banking, health care, telecoms and government services. Forms all over the country ask for it, and typing errors are common. The Bahrain CPR Number Format Checker and Decoder catches the obvious ones.

The structure

A CPR number has nine digits:

PositionMeaning
1–2Year of birth
3–4Month of birth
5–8Serial number
9Final digit

So a CPR beginning 8507 belongs to someone born in July 1985, and one beginning 0312 to someone born in December 2003.

What can be checked

Because the year and month are part of the number, a form can check that:

  • the number has exactly nine digits,
  • the month in digits three and four is between 01 and 12,
  • the year makes sense for the person's age.

The final digit is generally described as a check digit, but the Information and eGovernment Authority does not publish how it is calculated, so this tool does not test it. A number that passes the format check can still contain a wrong serial digit.

Cross-checking with date of birth

A simple and effective check in a form is to ask for the date of birth as well. If the year and month in the CPR do not match the date of birth the user types, ask them to confirm. This catches many typing mistakes, such as swapped digits.

Cleaning a list

HR and customer files often contain CPRs with spaces, dashes, Arabic digits or missing leading zeros. A CPR starting with 0, for example for someone born in 2003, can lose its first digit in a spreadsheet and become eight digits long. Paste the column into the checker to find these cases. Format the spreadsheet column as text to keep leading zeros.

An example

For the list:

  1. 850712345: valid format, born July 1985.
  2. 031254321: valid format, born December 2003.
  3. 991312345: fails, month 13.
  4. 12345678: fails, only eight digits.

Using the CPR in systems

  • Store CPR numbers as text, not numbers.
  • Accept Arabic-Indic digits and convert them.
  • Show the decoded month and year to the user.
  • Verify identity through official channels when it matters, such as the eKey and government services.

Privacy

CPR numbers are personal data under Bahrain's Personal Data Protection Law, and the number reveals the month and year of birth. Collect it only when you need it, protect it and limit who can see it. The checker runs in your browser and sends nothing anywhere.

Expatriates and children

Expatriates receive a CPR when they first obtain residence in Bahrain, and the same structure applies, with the year and month of birth at the start. Children receive a CPR after their birth is registered. When designing forms for families, make it easy to enter several CPRs, and check each one separately.

Common errors in practice

The most common problems are an eight-digit number caused by a lost leading zero, a CPR typed in the passport number field, and two digits swapped in the serial. The first two can be detected automatically; the third needs the final digit or an official check, which is why identity checks through government services remain important.

Limits

The checker validates the format only. It does not confirm identity, does not check the final digit and is not legal advice. The Information and eGovernment Authority is the official source for CPR numbers.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages