Resident Identity Card

From Wikipedia, the free encyclopedia
Resident Identity Card
(above) and obverse (below) of a Resident Identity Card (Second-generation identification card)
TypeIdentity card
Issued by China
Valid inPeople's Republic of China
EligibilityHukou registration required
CostRegistration fee: RMB20,
Replacement for lost or damaged cards: RMB40
Size85.60mm×54.00mm×1.00mm [1]
Resident Identity Card
Chinese name
Simplified Chinese居民身份证
Traditional Chinese居民身份證
Tibetan name
Zhuang name
ZhuangCuhminz Sonhfwnceng
Uyghur name
Uyghurكىملىك قانۇنى

The Resident Identity Card (Chinese: 居民身份证; pinyin: Jūmín Shēnfènzhèng) is an official identity document for personal identification in the People's Republic of China. According to the second chapter, tenth clause of the Resident Identity Card Law, residents are required to apply for resident identity cards from the local Public Security Bureau, sub-bureaus or local executive police stations.[2]


First generation Resident Identity Card

Prior to 1984, citizens within the People's Republic of China were not required to obtain or carry identification in public.[3] On April 6, 1984, the State Council of the People's Republic of China passed the Identity Card Provisional Bill (中华人民共和国居民身份证试行条例), commencing the process of gradual introduction of personal identification, in the footsteps of many developed countries at the time. The first generation identification cards were single paged cards made of polyester film. Between 1984 and 1991, trials for the new identity card system took place in Beijing, Shanghai and Tianjin. Shan Xiurong (单秀荣), a Chinese Opera performer and soprano from Beijing, was the first person to receive a first-generation identity card in China.[4]

On September 6, 1985, the Standing Committee of the 12th National People's Congress passed the Identity Card Bill of the People's Republic of China, which regulated that all citizens over the age of 16 apply for identification cards.[5] At that point, the Ministry of Public Security of the People's Republic of China created a unified authority responsible for the issuing and management of the ID cards. From 2003, it is reported that a total of 1.14 billion ID cards have been created in China,[6] for a total of 960,000,000 holders. However, as a result of technological development and certain techniques made available to the civilian population, the existing cards became relatively easier to counterfeit, opening the increasing threat of false identification.

On June 1, 2003, the National People's Congress passed the new Resident Identity Card Law,[2] which expanded the scope of documents issued, and allowed soldiers in the People's Liberation Army and members of the People's Armed Police to apply for special identity cards. Individuals under the age of 16 were also permitted to voluntarily apply for an identification card. The law also established the use of newer, second-generation cards, which are machine-readable and more difficult to forge.


The identity card contains basic information regarding the individual, such as the following:

Reverse side
  • Full name – in Chinese characters only. Non-Chinese ethnic names and foreign names are transliterated into Chinese. First-generation ID cards contained handwritten names for rare Chinese characters, whilst the second-generation cards exclusively used computer-printed text in a larger font compared to that of the first generation, and do not support rarer characters.
  • Gender – containing one character for either male () or female ().
  • Ethnicity – as officially listed by the People's Republic of China.
  • Date of birth – listed in the Gregorian calendar format, in YYYY年MM月DD日 Big-endian (ISO 8601) order.
  • Domicile – the individual's permanent residence as dictated by the Identity Card Bill of the People's Republic of China.
  • Identification number
  • Photo of the individual
Obverse side
  • Issuing authority (first-generation cards utilised a stamp; second-generation cards display text only)
  • The limits to validity of the document (for individuals under 16 years of age: five years; for individuals between 16 and 25 years of age: ten years; for individuals between 26 and 45 years of age: twenty years; for individuals over 46 years of age: long-term)
Sample of a second generation card, showing the personal information displayed on both sides.

Information stored in the identity database for second-generation ID cards includes work history, educational background, religion, ethnicity, police record, medical insurance status, landlord's phone number and personal reproductive history.[citation needed] In addition, more detailed personal information can be obtained by viewing hukou information from the card database. Starting on January 1, 2013, Beijing has started trials to include fingerprints in the ID cards, making it more difficult to forge ID cards or for people to use the ID cards of others.

In 1984, discussion over the contents of the identity card became controversial regarding whether to include details such as "marital status" and "occupation"; considering the actual situation of the People's Republic of China at the time, these details ultimately were not included in the ID card.

The first-generation ID cards contained a black-and-white photograph portrait of the individual; following the introduction of the second-generation cards, all identification portraits are printed in colour. From 1 January 2013 a mandatory switch to the second-generation cards came into force; all first-generation cards became void and unusable. If used, first-generation cards are treated as expired ID cards, and will not be accepted. It is a criminal offense to accept first-generation ID cards if the person who accepts it knows that it is a first-generation card.

The dimensions of the second-generation cards are 85.725 mm × 53.975 mm × 0.900 mm, and the identity photo is sized at 358 × 441 pixels (width by height), printed at a resolution of 350dpi on RGB using 24-bit True Color, prepared using JPEG compression techniques in line with the requirements of ISO DIS 10918-1. The final image appears as a 26 mm × 32 mm portrait box in the top-right hand corner.[7]

Additional features in ethnic minority areas[edit]

Within the ethnic minority regions in China, identity cards possess corresponding text in the respective minority language for both first-generation and second-generation cards. For example, cards officially signed and issued in Guangxi all contain accompanying text in Zhuang, as well as Chinese characters. According to the fourth clause of the Resident Identity Card Law, "based on the de facto situation within the organs of self-government within autonomous ethnic regions, the content of the resident identity card can, alongside Chinese characters, be decided to include the text of the ethnic group exercising regional autonomy or choice of a local generic text".[8] This law permits resident identity cards within designated ethnic minority regions to have bilingual text, and depending on region, cards may contain accompanying text in Zhuang, Uyghur, Yi, Tibetan, Mongolian or Korean.

Ethnic minority residents represented by the local autonomous region can apply to have an additional ethnic minority language displayed on their identity cards, whilst Han Chinese and other ethnic residents' cards only have Chinese characters displayed. Ethnic minorities within their representative autonomous regions can have their personal name displayed in both their native language and Chinese characters; for example, within Xinjiang Uyghur Autonomous Region, a card belonging to a Uyghur may display the cardholder's name as "纳斯尔丁·阿凡提(نەسىرىدىن ئەپەندى)" (Effendi Nasreddin), however ethnic Kazakhs and Xibe people living in Xinjiang may only have their names written in Chinese. The following table shows the languages used on identity cards within minority regions:

Field Simplified Chinese
Zhuang Tibetan
Mongol Uyghur
(Yi pinyin)
Name 姓名
SINGQMINGZ རུས་མིང་།
(rus ming)

(oboɣ ner-e)
(xyt hmi)
Gender 性别
(pho mo)
ᠴᠢᠨᠠᠷ ᠤᠨ

(činar-un ilɣal)
(sse hni)
Ethnicity 民族
MINZCUZ མི་རིགས།
(mi rigs)
(co cux)
Date of birth 出生
SENG སྐྱེས་དུས།
(skyes dus)

(törögsen edür)
(yur te)
Year-Month-Day 年月日
(nián yuè rì)
NIENZ NYIED HAUH ལོའི་ཟླ་ ཚེ་ས་ ཉིན།
(lo'i zla, tshe sa, nyin)

(on, sar-a, edür)
يىل ئاي كۈن
(yil, ay, kün)
ꈎ ꆪ ꑍ
(kut, help, nyit)
년 월 일
(nyŏn, wŏl, il)
Domicile 住址
DIEGYOUQ སྡོད་གནས།
(sdod gnas)

(saɣuɣ-a ɣaǰar)
(it dde)
Resident Identity number 公民身份号码
(gōngmín shēnfèn hàomǎ)
GUNGHMINZ SINHFWN HAUMAJ སྤྱི་དམངས་ཐོབ་ཐང་ཨང་རྟགས།
(spyi dmangs thob thang ang rtags)
ᠢᠷᠭᠡᠨ ᠦ
ᠦᠨᠡᠮᠯᠡᠯ ᠦᠨ

(irgen-ü bey-e ǰin ünemlel-ün nomɛr)
كىملىك نومۇرى
(kimlik nomuri)
(go mip gop bo zyp sat sat ma)
(kongmin sinbunjŭng pŏnho)
Issuing authority 签发机关
(qiānfā jīguān)
CIEMFAT GIHGVANH མཆན་སྤྲོད་ལས་ཁུངས།
(mchan sprod las khungs)
ᠭᠠᠷ ᠤᠨ

(ɣar-un üsüg ǰiruču olɣon ögxügsen beigölɣ-a)
تارقاتقان ئورگان
(tarqatqan organ)
(gop bo zyp sat fat dde)
(palgŭp kikwan)
Validity 有效期限
(yǒuxiào qīxiàn)
MIZYAUQ GEIZHANH ནུས་ཐོན་ངུས་ཙོད།
(nus thon ngus tsod)

(xüčün büxüi xüɣüčaɣ-a)
كۈچكە ئىگە مۇددىتى
(küchke ige mudditi)
(ssi hxit te kop)
(yuhyo kihan)

Identity card number[edit]

Obverse side of a second-generation ID card

From October 1, 1999, the PRC State Council approved the establishment of a citizen identification number system, and currently consists of an 18-digit code. This number has a function similar to that of the social security number in the United States. Each citizen has a unique number that remains unchanged for their entire lifetime.

1 1 0 1 0 2 Y Y Y Y M M D D 8 8 8 X
Address code Date of Birth code Order code Checksum
  • Address code refers to the resident's location, where administrative divisions (including cities, banners, and districts) have their own specific codes. (For example, the code for Xicheng District in Beijing is 110102.) Change of address does not modify this code, however, which means that the code therefore reflects one's birthplace or the location of one's first-time card issuance (in the case where people are born before the resident identity card system was introduced).
  • Date of Birth in the form YYYY-MM-DD.
  • Order code is the code used to disambiguate people with the same date of birth and address code. Men are assigned to odd numbers, women assigned to even numbers.
  • The Checksum is the final digit, which confirms the validity of the ID number from the first 17 digits, utilizing ISO 7064:1983, MOD 11-2. The checksum is obtained by:
  1. Marking the Identity card number right-to-left for the parity-check codes;
  2. Weight coefficient calculation ;
i 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Wi 7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2 1
  1. Calculation of
Checksum derivation process
Checksum derivation process in Visual Basic
Dim a, w, s ,id
 msgbox "This procedure for checking the identity card number and or-bit",vbokonly+vbinformation,"identity check procedures"
 id=inputbox("Enter the ID number 15 or 18 before the identity card numbers of 17 or","ID","11010519491231002")
 if vartype(id) <> 0 then
'Test the legality of the importation of numbers
  l = 0
  do until l = 1
   l = 1
   p = ""
   if len(id) <> 17 then
     if len(id) <> 15 then
      l = 0
      p = "enter the median is not correct, please enter 15 or 17-digit."
     end if
   end if
   for i = 1 to len(id)
    a = mid(id, i, 1)
    if asc(a) < asc("0") or asc(a) > asc("9") then
     l = 0
     p = p & vbCrLf & vbCrLf & "Please enter the number, do not include the characters“" & a & "”。"
     exit for
    end if
   if l = 0 then
    id = inputbox("illegal input" & vbCrLf  & vbCrLf & p, "input error", id)
   end if
'Will be number 15 or 17 places to number
  if len(id) = 15 then
   id = left(id, 6) & "19" & right(id, 9)
  end if
'Number 17 for the calculation of parity-check codes
  for i = 2 to 18
   a = mid(id, 19-i, 1)
   w = 2^(i-1) mod 11
   s = a * w + s
  s = (12 - (s mod 11)) mod 11
  if s = 10 then s = "X"
'After checking the number of output
  inputbox "the identity card number of the parity-check codes for the“" & s & "”" & vbcrlf & vbcrlf & "by checking the ID card numbers are as follows:", "Check completed", id & s
 end if
Checksum derivation process in TypeScript
// Must input 17 bit string of RID from left to right
function calcChecksum(rid: string) {
    const workArr = rid.split('').reverse();
    let sum = 0;
    for (let j = 0; j < 17; j++) {
        sum += workArr[j] * Math.pow(2, j + 1) % 11;
    return (12 - (sum % 11)) % 11;

// Test
alert(calcChecksum('63280119790817003')); // will alert 6
Checksum derivation process in Ruby
# accepts first 17 digits of the card number and calculates checksum
def calculate_checksum(card_id)
  sum = 0
  card_id.reverse.each_char.with_index do |ch, idx|
    w = (2**(idx + 1)) % 11
    sum += ch.to_i * w
  (12 - sum % 11) % 11

puts checksum('34262219840209049') # first 17 digits
# => 10
puts checksum('63280119790817003')
# => 6
Checksum derivation process in Python
>>> id_checksum = lambda s:(1 - 2 * int(s, 13)) % 11
>>> check('63280119790817003')
>>> check('34052419800101001')
10L # according to the standard, this means 'X'
Checksum derivation process in PHP
 *身份证验证,传入身份证,返回true即为正确。 ID number validation, pass in ID number, return true if success.
 *只能传入字符串,传入参数必须加引号。 can only pass in strings, parameter should be surrounded by quote marks.
function check_id_number($id)
    if (strlen($id) != 18) {
        return false;

    $temp = (str_split($id));
    $temp[17] == 'x'|| $temp[17] == 'X' ? $check = 10 : $check = $temp[17];
    $temp = array_reverse($temp);

    $sum = 0;
    foreach ($temp as $key => $value) {
        $w = pow(2, $key+1) % 11;
        $sum += $value * $w;

    if ((12 - $sum % 11) % 11 != $check) {
        return false;
    return true;
Checksum derivation process in R
> checkCode
function(ID) {
  stopifnot(length(grep('^[0-9]{17}$', ID)) != 0)
  code <- (12 - sum( (2^(17:1))%%11 * as.integer(strsplit(ID, split=NULL)[[1]]) )) %% 11
> print(checkCode('34262219840209049'))
[1] 10

Usage of identification[edit]

Prior to purchasing tickets at a railway station, individuals must verify their identity by tapping their Resident Identity Card over an RFID reader.

The identity card is the only acceptable legal document used to obtain resident permits or driving licenses, open bank accounts, register for mobile phone numbers, apply for tertiary education and technical college for mainland Chinese citizens, and is one of the acceptable legal documents used to buy train tickets and pass through security checkpoints within domestic terminals at airports in mainland China. Documentation is also required for marriages, household registrations and legal cases.

Recently, there have been more services that require the display of Resident Identity Cards, such as at Internet cafes and certain stores.[9]

Police are required to inspect identification documents where:

  • Criminal suspects need to be identified;
  • To inspect those related to personnel involved in an incident;
  • In the occurrence of a serious security emergency, and there is a requirement to obtain the identity of a person at the scene;
  • If the law requires so during a case.

Anti-counterfeiting measures[edit]

Hidden text of "JMSFZ" found within the texture of the second-generation identity cards.

First generation identity card[edit]

Polyester plastic film, which utilizes an anti-counterfeit laser logo.

Second generation identity card[edit]

Second-generation identity cards contain a non-contact IC chip card, a directional holographic "Great Wall" image, an anti-counterfeiting film made of green multi-layer polyester (PETG) composite material, optical variable optical storage containing the text "中国CHINA" situated on the card, and a microfilm string generating the letters "JMSFZ" (initials for the Pinyin of "Jumin Shenfenzheng"), and a "Great Wall" logo revealed by ultraviolet light.[7]

Security and criticism[edit]

Unlike the biometric identity cards in EU countries which comply with ICAO standards, the second-generation ID card imposes older technologies similar to MIFARE used on public transportation systems, which, unlike its ICAO-compliant counterparts, lacks the proper encryption of personal data such as BAC control, thus making the information stored on the chip openly accessible to any ID card readers at a near enough distance. Also, because identity cards lack a different numbering scheme from the citizen's identity number for Chinese nationals, there's currently no way to deregister a lost ID card completely even when the loss of the identity card is reported to the police.[10] The above characteristics have made identity cards vulnerable to identification theft.[11]

See also[edit]


  1. ^ GA/T 448-2021 居民身份证总体技术要求, 中华人民共和国公安部, retrieved 2023-08-17
  2. ^ a b 中华人民共和国居民身份证法 –
  3. ^ 1984年4月6日 居民身份证制度施行
  4. ^ "改革开放30年专题第48期:居民身份证". 《新京报》. Archived from the original on 2011-07-18. Retrieved 2008-10-12.
  5. ^ 中华人民共和国居民身份证条例(失效)【1985-09-06】
  6. ^ 关于《中华人民共和国公民身份证法(草案)》的说明 –
  7. ^ a b 第二代居民身份证的防伪特征
  8. ^ 中华人民共和国居民身份证法·第一章·第四条·第二款项: "民族自治地方的自治机关根据本地区的实际情况,对居民身份证用汉字登记的内容,可以决定同时使用实行区域自治的民族的文字或者选用一种当地通用的文字。". See original text at Wikisource.
  9. ^ "男子借身份证上网吧被拘3日". Archived from the original on 2019-11-05. Retrieved 2009-04-10.
  10. ^ 关注二代身份证缺陷:法律惩治尚无法治本
  11. ^ 倾听·转型中国:丢了身份证,安全咋保障

External links[edit]