Home/Documents/CNIC (Pakistani National ID)

Fake CNIC detection: spot edits, forgeries and AI fakes

The Computerised National Identity Card (CNIC) is Pakistan's national identity document, issued by NADRA, and it underpins banking, SIM registration, passports, voting, and tax filing. Its thirteen-digit number is built from a location code, a family number, and a gender digit, so a fabricated number or a swapped gender field often contradicts the number printed beside it.

Last updated:

Most often edited

portrait, CNIC number, name and father name fields

Reviewed by

Pakistani banks, telcos, and eKYC platforms

How CNIC forgeries are made

Number structure and province digit
The number must be thirteen digits, and its first digit must fall in the province and region range from one to eight. A wrong length or an out-of-range first digit marks an invented number.
Gender-digit parity
The final digit is odd for men and even for women. A parity that contradicts the printed gender is a structural contradiction between two fields forgers rarely reconcile.
Validity span logic
Standard cards run ten years from issue, while older holders may show lifetime wording instead. An issue-to-expiry span that fits neither pattern, once the holder's age is weighed, warrants escalation.
Photo and text patching
Substituted portraits and edited name, father's name, or date lines leave cut-line edges, resolution steps, and font passes. Mixed Urdu and English lines make baseline breaks easy to localise.
Layout and QR region
Cards of each generation follow their own layout, and newer cards carry a QR region on the back. A QR or chip area that is a flat graphic on a card claiming that generation signals a reprint.

How to verify a CNIC in 4 steps

  1. 1. Photograph the document

    Capture the front and back flat at full resolution so the number, dates, and QR region survive close analysis.

  2. 2. Check the number

    Confirm thirteen digits, a first digit between one and eight, and a final-digit parity that agrees with the printed gender.

  3. 3. Weigh dates and generation

    Compare issue and expiry dates against the holder's age, and the card layout against the generation its dates imply.

  4. 4. Run a forensic check on the file

    TamperCheck runs 300+ forensic checks including number structure checks and patch detection, returning a risk score from 0 to 100 with findings tied to specific regions of the image.

Red flags in a CNIC

  • A portrait that does not match the page around it

    Zoom in on the edge of the portrait. A pasted or generated image often leaves a faint halo, or lighting and texture that do not match the rest of the document.

  • A CNIC number that appears only once

    Genuine documents usually repeat an identifier in a header, footer, barcode or reference block. Look for every place the CNIC number should appear and check they agree. An edit that updates one and forgets the others is one of the most common mistakes.

  • Lighting on the portrait that disagrees with the card

    Check whether the shadow and glare on the face match the shadow and glare across the rest of the card. A pasted portrait carries the lighting of wherever it came from.

  • Fonts that are nearly right

    Issuers use one tightly specified typeface. Compare digit shapes and letter spacing in the name and number against a genuine specimen of the same edition.

  • Edges and corners that were rebuilt

    Rounded corners, laminate edges and background patterns are hard to recreate. Look for a pattern that breaks, blurs or repeats around the edited area.

What TamperCheck checks on a CNIC

  • 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.

  • 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.

  • 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.

  • And many more checks

    The three above are the layers that carry the most weight on a CNIC. Every upload runs the full suite of 300+ 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.

What a genuine CNIC contains

The number runs thirteen digits, usually printed in a five, seven, and one digit grouping. The first five digits encode the registration location, starting with a province or region digit from one to eight, the middle seven are a family number, and the final digit is odd for men and even for women. The card also prints name, father's or husband's name, date of birth, photograph, issue and expiry dates, and signature, with the address and a QR code on the back.

Several generations circulate legitimately: older laminated cards, chip smart cards, chipless cards, and newer QR-bearing polycarbonate cards, with names and addresses in Urdu and English. The number does not encode a birth date, so the structural checks lean on the gender digit, the province digit, and the issue-to-expiry span, while the print supplies the edit history.

Frequently asked questions

What does the CNIC number encode?

Thirteen digits: a registration location code, a family number, and a final digit that is odd for men and even for women. It does not encode a birth date, so the gender digit and province digit are the checkable parts.

How long is a CNIC valid?

Standard cards are valid for ten years, and holders over sixty may carry lifetime validity, so lifetime wording is not suspicious by itself. The span should be read against the holder's age.

Why do CNICs look different from one another?

Laminated, chip smart, chipless, and newer QR-bearing cards all coexist, and names and addresses print in Urdu and English. Layout differences between generations are normal, while mixing elements within one card is not.

How does TamperCheck verify a CNIC?

TamperCheck tests the number's length, province digit, and gender parity against the printed fields, reviews the validity span, and inspects the portrait and text for patching. Uploads run through a single REST endpoint, are processed ephemerally and not stored, and findings tie to specific regions.

Where does a forensic review of a CNIC start?

On a CNIC, the review prioritises a substituted portrait; edited name, father's name or birth-date fields; and the span between issue and expiry. The rest of a CNIC is covered by the general pixel, font and metadata layers.

What is the quickest tell that a CNIC was edited?

Check the last digit of the CNIC number against the printed gender. When a CNIC has been edited, those two stop agreeing before anything looks wrong on screen.

Is a phone photo of a CNIC enough for remote KYC?

A photo shows what is printed on a CNIC but strips most of the evidence an edit would leave. For remote onboarding, ask for a fresh capture of a CNIC or the original file, and run it through a forensic check instead of relying on a visual read.

What is the difference between a fake and an altered CNIC?

An altered CNIC starts from a genuine one with changed fields such as portrait, so a real number may still exist. A fabricated one comes from a template or an AI model. Altered documents pass number checks, fabricated ones pass visual review, and each leaves different forensic traces on a CNIC.

Does TamperCheck confirm a CNIC with the issuer?

No. TamperCheck analyses the file of a CNIC itself for edits, composited elements and generation signatures. Confirming a CNIC with the issuing body is a separate step, and the two complement each other.

Check a document

Upload a PDF or a photo of CNIC. TamperCheck returns a risk score from 0 to 100 and marks the region that was edited, usually within seconds.

For developers, the API class is pakistan_cnic. See the API and MCP documentation.

Often checked alongside

All supported document types