# Detect tampered and deepfake CNIC (Pakistani National ID)

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

**Canonical URL:** https://tampercheck.ai/documents-support/pakistan_cnic
**API document class:** `pakistan_cnic`
**Last updated:** 2026-10-04

---

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

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

## What TamperCheck checks on a CNIC

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.

### Barcode and QR payload comparison

Encoded payloads are decoded and compared against the human-readable values printed alongside them. Editing the visible text without re-encoding the barcode is a common and highly detectable mistake.

### 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 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 a CNIC, and why

Pakistani banks, telcos, and eKYC platforms. 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 a CNIC in 4 steps

1. **Photograph the document.** Capture the front and back flat at full resolution so the number, dates, and QR region survive close analysis.
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. **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. **Run a forensic check on the file.** TamperCheck runs 200+ 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.

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

## Related document types

- TamperCheck Forensic Report: https://tampercheck.ai/documents-support/forensic_analysis_report
- Unknown: https://tampercheck.ai/documents-support/unknown

---

Try TamperCheck now: https://tampercheck.ai/dashboard · Docs: https://tampercheck.ai/docs · Pricing: https://tampercheck.ai/pricing
