Saudi National ID Validator

Validate Saudi national identity numbers with the Luhn check digit

Ad placeholder (leaderboard)

The Saudi national identity number is a 10-digit identifier issued by the Ministry of Interior. Saudi citizens hold a national ID (Hawiya) that begins with 1, while residents hold an Iqama number that begins with 2. Both are used across Absher, banking KYC, HR onboarding and government services. This free validator runs the official check-digit algorithm so you can catch a mistyped number before it reaches a system that will reject it.

How it works

The Saudi national ID uses a Luhn (modulus-10) check digit, the same family of algorithm used by payment cards. Working over all 10 digits:

  1. Starting from the leftmost digit, take every other digit (positions 1, 3, 5, 7, 9) and double it. If doubling produces a two-digit number, add those two digits together (equivalently, subtract 9).
  2. Add the remaining digits (positions 2, 4, 6, 8, 10) unchanged.
  3. Sum everything. The number is valid when the total is divisible by 10.

The tool also classifies the leading digit: 1 for a citizen national ID and 2 for a resident Iqama. The validator shows you the Luhn sum and the sum mod 10 remainder so you can see precisely why a number passed or failed.

Example

For a 10-digit number starting with 1, the tool doubles the first, third, fifth, seventh and ninth digits, reduces any two-digit results to a single digit, adds the even-position digits as-is, and checks whether the grand total ends in zero. If the total is, say, 60, the remainder is 0 and the ID passes; if it is 63, the remainder is 3 and the ID fails.

Tips and notes

  • A failed check almost always means a digit was typed wrong or transposed. Re-check all 10 digits against the source document.
  • The leading-digit rule is informational: a Luhn-valid number that starts with neither 1 nor 2 is flagged because it is not a standard national identity number.
  • A valid checksum is necessary but not sufficient. Confirm identity through Absher or the issuing authority. Everything runs locally, so the number never leaves your device.
Ad placeholder (rectangle)