Bangkok Lad
City & Life Bangkok Logic

Thirteen digits: what a Thai ID number actually tells you

Every digit of a Thai ID number means something — including whether your parents registered your birth on time. It's on your card for life.

A man pauses outside a district office
IllustrationA man pauses outside a district office

Every Thai national ID number is thirteen digits, and every digit is doing a job.

It isn’t a serial number. It’s a description, of what kind of person you are administratively, where you were registered, and, in one case, whether your parents got the paperwork in on time.

Here’s the structure.

The breakdown

Digit 1, what type of person you are.

This is the interesting one. The published scheme names eight person types, and there is a ninth code in use that the scheme does not number.

DigitWhat it records
1Thai national, born from 1 January 1984, birth registered within the deadline
2Thai national, born from 1 January 1984, birth registered late
3Thai national, or a foreigner holding an alien certificate, whose name was already in a house registration when the register was first compiled
4Thai national or certificated foreigner who moved into a house registration during that same compilation and did not yet have a number
5Thai national added to a house registration afterwards, having been missed by the survey
6Entered the country unlawfully, or lawfully but on a temporary footing
7A child of a type 6, born in Thailand
8Foreigner who entered lawfully and holds an alien certificate, or who was naturalised or granted Thai nationality
0No registration status at all

Three, four and five are all the same five months. The register was compiled between 1 January and 31 May 1984, and the three codes record how you came into it: already there, arriving during it, or added later because the survey missed you. Forty years on they are the digits that say your household existed on paper before you did, or didn’t.

Thirteen digits, each of which means something Thirteen digits, each of which means something What a Thai national ID number encodes Digit one records, among other things, whether the birth was registered within 15 days. 1 Person type 2–5 Province & district 6–10 Group 11–12 Sequence 13 Check digit Published Thai national ID structure. BANGKOK LAD

And then six, seven, eight and zero

One through five are ways of being Thai. Six through eight are ways of not being.

Six is anyone here unlawfully, or lawfully but temporarily. Eight is a foreigner who came in properly, or who has since been naturalised. Between them sits seven, which is not a status anybody chose: a child of a type six, born in Thailand.

Zero is the one that is not in the scheme. The published structure names eight types. Zero is used for people with no registration status — and, in the Department of Provincial Administration’s own material, the group it most often covers is abandoned children, orphans and people with no traceable origin, living in institutional care.

A number that begins with 7 or 0 is doing something the other digits are not. One through five sort Thai nationals by paperwork. Six and eight sort foreigners by manner of entry. Seven and zero describe children who were born into a category, and it is the first character of a number they will be asked for at every counter for the rest of their lives.

This is article 89’s finding in its most literal form. The entitlement is drawn around a category, and the category is stamped on the identifier.

Digits 2–5, where you were registered. Digits 2 and 3 give the province; digits 4 and 5 the district or municipality.

Digits 6–10, the group number, within your person-type category.

Digits 11–12, sequence.

Digit 13, a check digit, calculated from the first twelve. It’s there so that a mistyped number fails immediately rather than quietly becoming somebody else’s.

A woman hands a form across a counter at a busy government office
IllustrationA woman hands a form across a counter at a busy government office

The one that stays with you

Go back to digit 1.

If your number begins with a 2, it means your birth wasn’t registered within fifteen days.

Not a mistake you made. A deadline your parents missed — possibly because the district office was far away, possibly because the family was poor, possibly because a birth in a rural village in 1986 wasn’t a paperwork emergency to anyone involved.

And you carry it on your identity card for the rest of your life.

It’s on every form. Every bank application, every hospital admission, every phone contract, every government transaction. A permanent, machine-readable record of a fifteen-day administrative window that closed while you were a fortnight old.

I don’t think anybody designed that as a mark of anything. It’s a category, created because the system needed to distinguish between registrations that followed the standard process and ones that didn’t. But the effect is that a small administrative failure at the very start of your life becomes a permanent attribute of your identity, and anyone who knows the system can read it in the first character.

Most Thais know this. Very few think about it, in the way you don’t think about your own postcode. But it’s there.

What this is genuinely useful for

Beyond the curiosity, a few practical points.

The check digit means typos fail. If you’ve ever entered an ID number and been told it’s invalid despite being certain you copied it correctly, you almost certainly transposed two digits, and the thirteenth caught it. That’s the system working.

The province and district codes are why the number is tied to registration, not residence. Your ID number records where you were registered, which may have nothing to do with where you’ve ever lived. This trips up people who assume it’s an address.

And for mixed families: children registered in Thailand get Thai numbers on the same structure, which means the first digit applies to them too. If you’re a foreign parent and registration was delayed, that’s the digit it shows up in. Worth knowing before it’s permanent.

A clerk in uniform works through paper files by lamplight
IllustrationA clerk in uniform works through paper files by lamplight

A word about privacy

The structure is published openly by Thai government agencies — this isn’t secret information, and explaining it is not a disclosure.

But it does mean an ID number carries more than it appears to. Somebody who knows the scheme can read your registration province and your person-type from a number you hand over routinely.

Treat it like any other identifier: give it where required and not otherwise. Not because the structure is a secret, but because a number that describes you is worth slightly more care than a number that merely identifies you.

A woman looks down at a card in her hand on a busy street
IllustrationA woman looks down at a card in her hand on a busy street

Final thoughts

There’s something quietly Thai about a thirteen-digit number where twelve digits describe you and the thirteenth exists solely to check the other twelve haven’t been mistyped.

It’s careful. It’s well designed. It anticipates error and defends against it. Whoever specified this in the early eighties was doing serious work.

And then there’s digit one, which distinguishes, permanently and legibly, between people whose births were registered on time and people whose weren’t — a distinction that made administrative sense and has been travelling around on several million identity cards ever since, being read by anybody who happens to know what it means.

Most systems that describe people end up saying more than they intended. Ours does it in the first character.

Common questions

What do the 13 digits of a Thai ID number mean?
Digit 1 is person type; digits 2–5 the registration office (province and district); digits 6–10 a group number; digits 11–12 a sequence; digit 13 a check digit.
What does the first digit mean?
It records person type, and there are eight published categories. 1 is a Thai national whose birth was registered on time; 2 one registered late; 3, 4 and 5 cover people entered in the house registration when it was compiled in 1984, or added afterwards; 6 is someone who entered the country unlawfully or temporarily; 7 is their child born in Thailand; 8 is a lawfully resident or naturalised foreigner. A ninth code, 0, is used for people with no registration status.
What does an ID number starting with 7 mean?
It records a person born in Thailand to a parent in category 6 — someone who entered the country unlawfully, or lawfully but temporarily. It is assigned at birth and does not change.
What does an ID number starting with 0 mean?
No registration status. It sits outside the eight numbered categories and, in the Department of Provincial Administration's own material, covers people with no traceable origin, including abandoned children in institutional care.
What is the last digit for?
It's a check digit calculated from the first twelve, so mistyped numbers fail validation rather than matching someone else.
Does the number show where I live?
No — it records where you were *registered*, which may be unrelated to where you have lived.
Is this information private?
The structure is published openly by government agencies. The number itself should still be given only where required.