All Malaysian citizens aged 12 years or above are issued a Mykad by the National Registration Office (JPN). The Mykad is a personal identity card that can symbolize the nationality of the cardholder.
The number on the ID card is actually composed of date of birth, state and system number.
The first 6 digits of the ID card are the year, month and date of birth of the cardholder. Then the 7th and 8th digits represent the cardholder’s state or region, each state will have a different number. The last 4 numbers belong to the last digit of the ID number and this number is random.
The last number can distinguish the gender, boys are odd numbers such as 1, 3, 5, 7, 9, while women are even numbers such as 2, 4, 6, 8, 0.
There will also be a set of numbers on the back of the ID card, and the last two digits of the number represent how many ID cards this is. If it is 02, it is the second ID card, and 03 is the third one.
State number for the middle 2 digits of the ID number :
Johor: 01, 21, 22, 23, 24
Kedah: 02, 25, 26, 27
Kelantan: 03, 28, 29
Malacca: 04, 30
Negeri Sembilan: 05, 31, 59
Pahang: 06, 32, 33
Penang: 07, 34, 35
Perak: 08, 36, 37, 38, 39
Perlis: 09, 40
Selangor: 10, 41, 42, 43, 44
Terengganu: 11, 45, 46
Sabah: 12, 47, 48, 49
Sarawak: 13, 50, 51, 52, 53
Kuala Lumpur: 14, 54, 55, 56, 57
Labuan: 15, 58
Putrajaya: 16
Unknown states: 82