Supported document type
Detect tampered and deepfake Egyptian National ID Card
The Egyptian National ID card, issued by the Ministry of Interior's Civil Status Authority to citizens aged fifteen and over, is the identity anchor for banking, fintech onboarding, and government services in Egypt. Its fourteen-digit number encodes century, birth date, governorate of birth, and a sex-linked serial digit, so an edited card can contradict its own number on several points at once.
API slug: egypt_national_id
Last updated:
What a genuine Egyptian national ID contains
The number reads century digit, six-digit birth date, two-digit governorate code, four-digit serial, and a final check digit. The century digit is two for the 1900s and three for the 2000s, the governorate code names the place of birth with 88 for those born abroad, and the thirteenth digit is odd for men and even for women. The card carries full name, address, profession, issuing office, date of birth, sex, and photograph, with issue and expiry dates on cards issued since 2009.
The card prints Arabic text and either Eastern Arabic or Western digits, and both are normal. The residential governorate on the card can also differ from the birth governorate in the number. Older cards print religion and a married woman's husband's name, while newer cards may omit them. The check digit's algorithm is not publicly documented, so the analysis uses structure and parity, and the validity term is seven years.
How Egyptian national ID forgeries are made
Number structure and century
The number should be fourteen digits with a first digit of two or three. A different length or an impossible first digit contradicts the structure.
Birth-date decode
Digits two to seven should form a real calendar date that agrees with the printed date of birth. An impossible or mismatched date exposes an edited number or date.
Governorate-code check
The governorate code should come from the valid set, which runs from 01 to 35 and 88 for births abroad. A code outside that set marks an invented number.
Sex-parity check
The thirteenth digit is odd for men and even for women. A parity that contradicts the printed sex is an internal inconsistency forgers rarely reconcile.
Photo and expiry patching
Portrait swaps and edited expiry or address lines leave cut-line edges, font passes, and resolution steps. An expiry that is not seven years after issue also contradicts the issuing rules.
What TamperCheck checks on an Egyptian national ID
TamperCheck runs 200+ forensic checks across three layers and returns a risk score from 0 to 100 with plain-English findings tied to specific regions of the document. These three carry the most weight on this document class.
Portrait substitution and face-swap analysis
The document is isolated from whatever it was photographed on, then the portrait region is assessed against the card surface around it. A pasted or generated face rarely matches the substrate it was placed onto.
Date and validity consistency
Issue, expiry, and period dates are checked against one another and against the file's own creation metadata, which catches backdating and validity extension.
Reference and document number checks
Document, account, and reference numbers are checked for issuer format conformance and against every other place the same value appears on the page.
And many more checks
The three above are the layers that carry the most weight on an Egyptian national ID. Every upload runs the full suite of 200+ checks regardless of document class, spanning file structure and metadata, pixel-level forensics, font and text rendering, optical and print characteristics, provenance signals, AI-generation signatures, and many more checks.
Who verifies an Egyptian national ID, and why
Egyptian banks, fintechs, and telecom providers. In each case the document is being used to unlock money, access, or a legal status, which is exactly what makes it worth forging.
How to verify an Egyptian national ID in 4 steps
Photograph both sides
Capture the card flat at full resolution so the fourteen digits, dates, and address lines survive close analysis, including the code on the back.
Decode the number
Split it into century, birth date, governorate, serial, and check digit, and compare the encoded date and the thirteenth digit with the printed date of birth and sex.
Weigh the issue and expiry
Check that the expiry sits seven years after issue, and that older-card fields such as religion are not mixed into a newer layout.
Run a forensic check on the file
The number carries the structural story, and the print carries the edit history. TamperCheck runs 200+ forensic checks including national-number decoding and patch detection, returning a risk score from 0 to 100 with findings tied to specific regions of the image.
Frequently asked questions
What does an Egyptian national ID number encode?
Fourteen digits: a century digit, the birth date, a governorate code, a serial whose last digit shows sex, and a check digit. A number that contradicts the printed birth date or sex was assembled rather than issued.
Can the check digit be recomputed?
Its algorithm is not publicly documented, so TamperCheck relies on the structure, date logic, governorate code, and sex parity rather than recomputing it.
Why can the governorate differ from the address?
The governorate in the number is the place of birth, while the card prints the current residence. A difference between them is normal.
How does TamperCheck verify an Egyptian national ID?
TamperCheck decodes the number, compares it with the printed fields, and inspects the portrait, address, and expiry regions for patching. Uploads run through a single REST endpoint, are processed ephemerally and not stored, and findings tie to specific regions.
TamperCheck analyses egyptian national id card uploads with a hybrid forensic and AI pipeline tuned for this document class. Upload endpoints accept PDF and common image formats; class is inferred automatically. See the API documentation for authentication, async jobs, and webhooks.