If you've ever filled in a South African form — whether for a bank account, a rental application, a job, or a government service — you've been asked for your identity number. It appears on your smart ID card, in your green ID book, on your birth certificate, and across virtually every official document you'll ever sign.
But what exactly is a South African identity number? What does it contain? And how is it different from other ID-related terms you might encounter? This guide covers everything you need to know.
What Is a South African Identity Number?
Your South African identity number is a 13-digit number issued by the Department of Home Affairs to every South African citizen and permanent resident. It is the primary identifier used across all government systems, financial institutions, and private sector services in South Africa.
The identity number appears on:
- Your smart ID card (the green card with the chip)
- Your green ID book (the older document format)
- Your birth certificate
- Tax certificates, payslips, and SARS correspondence
- SASSA grant documentation
- Any official South African form that asks for identification
You can validate any South African identity number instantly using our free tool — it checks the format, extracts the date of birth and gender, and verifies the Luhn checksum.
Identity Number vs ID Number — What Is the Difference?
They are the same thing. "Identity number" and "ID number" are interchangeable terms that refer to the same 13-digit number. You may also see it called:
- SA ID number
- South African ID number
- RSA identity number
- Identity document number
All of these refer to the exact same number. South African legislation typically uses "identity number" — the term comes directly from the Identification Act 68 of 1997, which governs the issuance of identity documents by Home Affairs. If a form specifically asks for your identity document number, it's the same 13-digit number printed on your Smart ID card, green ID book, or driver's licence.
What Your Identity Number Contains
Your 13-digit identity number is not random — you can use our SA ID number generator to see how each digit is built. Each section encodes specific information about you. Here is what each segment means:
Digits 1–6: Your Date of Birth
The first six digits represent your date of birth in YYMMDD format. For example, if your identity number starts with 900628, you were born on 28 June 1990.
Note that the year is only two digits, which means there is some ambiguity between the 1900s and 2000s. South African systems typically resolve this by assuming anyone with YY of 00–99 was born in the century that makes them a plausible age for their documented circumstances. In practice, this is handled at the time the identity document is issued.
Digits 7–10: Your Gender
Digits 7 to 10 form a four-digit sequence that encodes gender:
- 0000–4999: Female
- 5000–9999: Male
This is a binary encoding based on the gender recorded at registration with Home Affairs. It reflects the gender on your identity document, not necessarily any other legal or personal classification.
Digit 11: Citizenship Status
The 11th digit indicates whether you are a South African citizen or a permanent resident:
- 0: South African citizen
- 1: Permanent resident
Digit 12: A Legacy Digit
The 12th digit was historically used to encode race classification during the apartheid era. This practice was scrapped in 1986. Today, this digit is always 8 for documents issued from that point forward, and it carries no meaningful information.
It is a common misconception that the 12th digit still encodes race. It does not. Any identity number issued or reissued after 1986 will have an 8 in this position.
Digit 13: The Luhn Checksum
The final digit is a checksum calculated using the Luhn algorithm. It is used to detect errors in the identity number — if the number has been mistyped or corrupted, the checksum will not validate. This is what our ID number checker uses to verify whether an identity number is mathematically valid.
How to Read Your South African Identity Number
Here is a worked example. Take the identity number 9006285800080:
- 900628 — Date of birth: 28 June 1990
- 5800 — Gender sequence: 5800 is between 5000–9999, so Male
- 0 — Citizenship: South African citizen
- 8 — Legacy digit (no meaning)
- 0 — Luhn checksum (validates the number)
For a complete breakdown of the identity number format, read our detailed guide: South African ID Number Format Explained.
How to Validate a South African Identity Number
You can check whether any South African identity number is valid in seconds using the tool on our homepage. It checks:
- That the number is exactly 13 digits
- That the date of birth encoded in digits 1–6 is a real calendar date
- That the Luhn checksum (digit 13) matches the rest of the number
It also extracts and displays the date of birth, gender, and citizenship status from the number.
Validate an identity number now →
Who Receives a South African Identity Number?
A South African identity number is assigned to:
- South African citizens — issued at birth registration or when a first identity document is applied for
- Permanent residents — issued when permanent residence is granted
South African citizens living abroad, naturalised citizens, and citizens who have held identity documents for decades all have the same 13-digit format. The number does not change. Once assigned, your identity number is yours for life.
Foreign nationals on temporary visas (work permits, study permits, tourist visas) are not issued South African identity numbers. They use passport numbers for identification instead.
Identity Number vs Passport Number
These are two entirely different documents and numbers:
- Your identity number is permanent, issued by Home Affairs, and tied to your citizenship or permanent residence status. It does not expire.
- Your passport number is a travel document number that changes every time you renew your passport (typically every 10 years). It is used for international travel but is not a standard domestic identifier.
When a South African form asks for "ID number" or "identity number", it always means the 13-digit number — not a passport number, unless the form specifically asks for passport details.
Can You Look Up Someone's Identity Number?
No — not legitimately. South African identity numbers are personal information protected under the Protection of Personal Information Act (POPIA). You cannot search a public database to find someone else's identity number by name.
What you can do is verify an identity number that someone has provided to you — checking that it is mathematically valid and that the details it encodes (date of birth, gender) match what the person has told you. This is what our identity number validation tool is designed for.
Businesses that need to verify identity for compliance purposes (FICA, KYC) use formal verification services that check against the Home Affairs database with appropriate authorisation. Our guide on ID validation services for businesses covers this in more detail.
Frequently Asked Questions
Is my identity number the same as my ID number?
Yes. "Identity number" and "ID number" are different names for the same 13-digit number. South African law and official documentation typically use "identity number", while everyday usage often shortens it to "ID number".
Does my identity number change if I change my name?
No. Your identity number remains the same regardless of name changes. The number is linked to you as an individual, not to your name. Your new name will be reflected on your updated identity document, but the 13-digit number stays the same.
What if my identity number is 12 or 14 digits?
A valid South African identity number is always exactly 13 digits. A 12- or 14-digit number is either a typo or not a South African ID number. Use our ID checker tool to verify the correct format.
Can I tell someone's age from their identity number?
Yes — the first six digits encode the date of birth in YYMMDD format. You can calculate the person's age from those digits, though the century (19xx vs 20xx) requires context if the document is not available.
Is an identity number the same as a tax number?
No. Your South African tax number (issued by SARS) is different from your identity number. However, SARS uses your identity number as a reference in its systems, and in many cases your tax number can be found using your identity number through eFiling.
What is the format of a South African identity number?
The format is: YYMMDD SSSS C R Z — where YYMMDD is your date of birth, SSSS is the gender sequence (0000–4999 female, 5000–9999 male), C is citizenship (0 = citizen, 1 = permanent resident), R is the legacy race digit (always 8), and Z is the Luhn checksum. For a full breakdown, read our ID number format guide.