Uganda NIN Validator & Decoder — Class, Gender & Birth Year

Validate a 14-character Ugandan NIN and decode its class, gender and birth-year digits.

Free Uganda NIN validator. Check the 14-character alphanumeric format of a Ugandan National Identification Number (NIRA) and decode the documented class, gender and birth-year digits — entirely in your browser. Privacy-first, no network requests, nothing is sent anywhere. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What does a Uganda NIN encode?

The NIRA NIN is 14 alphanumeric characters. By documented convention the first character is the applicant class (C = citizen), the second is the gender code (M or F), the third and fourth are the last two digits of the year of birth, and the remainder is a NIRA-assigned serial.

Uganda NIN validator and decoder

The NIN (National Identification Number) is the unique identity number issued by Uganda’s National Identification and Registration Authority (NIRA) and printed on the National ID card (Ndaga Muntu). It is required for voter registration, opening a bank account, SIM registration, employment and access to many government services. Unlike most national IDs it is alphanumeric, so it needs character-level rather than numeric validation. This tool checks the format and decodes the documented parts, entirely offline.

The documented NIN structure

A NIN is exactly 14 alphanumeric characters (A–Z and 0–9), upper-cased automatically. By documented convention the layout is [C][G][YY] followed by a 10-character serial:

  • Position 1 — applicant class: C = Ugandan citizen, F = foreign / non-citizen record.
  • Position 2 — gender code: M = male, F = female.
  • Positions 3–4 — the last two digits of the year of birth.
  • Positions 5–14 — a serial assigned by NIRA.

NIRA does not publish a check-digit algorithm, so the only deterministic offline checks are the 14-character alphanumeric format and a recognised class and gender prefix. The serial itself cannot be verified.

Example

Take the NIN CM90012345678X. The tool reads position 1 as C (Ugandan citizen), position 2 as M (male), positions 3–4 as 90 (born in a year ending in 90), and the remaining 012345678X as the NIRA serial. The format passes — 14 valid alphanumeric characters with a recognised class and gender — so it is well-formed, though NIRA alone can confirm it was actually issued.

PositionFieldExample
1Applicant classC (citizen)
2GenderM / F
3–4Birth year (last 2 digits)90
5–14NIRA serial012345678X

Where the NIN is required

Since the mass enrolment run by NIRA, the NIN has become the backbone identifier for public and private services in Uganda:

  • SIM-card registration — mobile operators must tie every SIM to a verified NIN.
  • Banking and mobile money — account opening and KYC checks reference the NIN.
  • Voter registration — the Electoral Commission cross-checks the National ID.
  • Employment and payroll — NSSF and URA (tax) records use the NIN.
  • Public services — health, education and social-support programmes increasingly key on it.

Because so many services depend on an exact match, a single mistyped character in a form can block a transaction. A structural check of the 14-character format and the decoded class/gender/year prefix catches the obvious data-entry errors before they reach a system that will simply reject the record.

What this tool cannot confirm

NIRA does not publish a check-digit algorithm for the serial portion and does not offer a public verification API. This validator therefore confirms only that a number is well-formed and that its documented prefix decodes to a recognised class, gender and birth-year. It cannot confirm that a NIN was actually issued, is active, or belongs to a specific person — that requires an authoritative check through NIRA’s own systems. Treat a “well-formed” result as “worth submitting”, not “verified”.

When a format check is enough — and when it is not

Format validation is the right first gate for the common operational cases: catching typos at data entry, cleaning a spreadsheet of member or customer records before an import, and rejecting obviously malformed numbers in a web form before they reach your backend. It is not sufficient where the law or the risk requires identity assurance — KYC onboarding, SIM registration, or payroll enrolment — because a structurally perfect NIN can still belong to someone else or to no one. For those flows, treat this validator as step one and the official verification channels of NIRA — the National Identification and Registration Authority as the authoritative step two.

Sources

  • National Identification and Registration Authority (NIRA) — nira.go.ug — the authority that issues the NIN and Ndaga Muntu card.

Privacy-first: everything runs in your browser with no network requests. The tool decodes structure only — it never queries the NIRA database, and your NIN never leaves your device.

The legal basis for the NIN and the national register is Uganda’s Registration of Persons Act (2015), which established NIRA and made the NIN the primary identifier for government services; the identifier’s role in service delivery is documented across official government portals such as Uganda’s e-Citizen services. For any decision that depends on identity rather than format, NIRA verification is the only authoritative source.