Unique Master Citizen Number

From Wikipedia, the free encyclopedia

Unique Master Citizen Number (Serbo-Croatian: Jedinstveni matični broj građana / Јединствени матични број грађана, JMBG / ЈМБГ, Macedonian: Единствен матичен број на граѓанинот, ЕМБГ, Slovene: Enotna matična številka občana, EMŠO) is an identification number that was assigned to every citizen of former Yugoslav republics of the SFR Yugoslavia. It continues to be used in almost all of the countries that were created after the dissolution of YugoslaviaBosnia and Herzegovina, Montenegro, North Macedonia, Serbia and Slovenia use it in its original form, while Croatia has switched to a new identification number called the Personal Identification Number (Osobni identifikacijski broj, OIB).


The JMBG was introduced in the Socialist Federal Republic of Yugoslavia on January 8, 1977[1] and applied to all citizens born before then and alive at the time. All six republics passed a law on the Unique Master Citizen Number.

Although the Republic of Croatia continued to use the JMBG after gaining independence[2] in 2002 the official name of the number there was changed to Matični broj građana (Master Citizen Number), acronym MBG.[3][4] Advocates of the right to privacy argued that JMBG was a piece of personally identifiable information that needed to be protected by information privacy law, mostly because it was unique and it included the person's date of birth. When the law to that effect was passed in 2003[5] it was no longer possible to use JMBG on identity cards, driver's licenses and similar documents. Even though law hid MBG from personal documents, various institutions (e.g. banks, schools, insurance companies ...) continued to demand citizens to give their MBG while signing various contracts, since MBG was natural unique identifier of each citizen. Seeing flaw of hiding MBG, on January 1, 2009 Croatia passed a new law[6] that introduced a different unique identifier called the Personal Identification Number (Croatian: Osobni identifikacijski broj, OIB). The OIB consists of 11 randomly chosen digits and has been assigned to all Croatian citizens, companies registered in Croatia and foreign nationals residing in Croatia.[7] Although the OIB is in use, the MBG law remains in effect, and the MBG number is still issued. It is used for data coordination among government registries. MBG no longer appears on Croatian identity cards since 2003, instead OIB does, since 2013.

In Bosnia and Herzegovina in 2001 the official name of the number was changed to Jedinstveni matični broj (Unique Master Number), although acronym JMBG is still in use.[8]


The number is made up of 13 digits in a form "DD MM YYY RR BBB K" (whitespaces are for convenience; digits are written without separation) where:

DD – day of birth
MM – month of birth
YYY – last three digits of the year of birth
RR – political region [9] of birth (for persons born before 1976, political region where they were first registered)
  • 01-08 – foreign citizens [10] without citizenship of former Yugoslavia or succeeding countries (foreign citizens that receive citizenship also receive a 'regular' JMBG, not this 'foreigners only' one)
    • 01 – foreigners in Bosnia and Herzegovina
    • 02 – foreigners in Montenegro
    • 03 – foreigners in Croatia
    • 04 – foreigners in Macedonia
    • 05 – foreigners in Slovenia
    • 06 – foreigners in Central Serbia
    • 07 – foreigners in Vojvodina
    • 08 – foreigners in Kosovo
  • 00 and 09 – naturalized citizens which had no republican citizenship[11]
  • 10–19 – Bosnia and Herzegovina
  • 50–59 – Slovenia (only 50 is used)
  • 60–69 – (Citizens with temporary residence)
BBB – unique number of the particular RR (represents a person within the DDMMYYYRR section in the particular municipality)
K – checksum

Checksum calculation[edit]

The checksum is calculated from the mapping DDMMYYYRRBBBK = abcdefghijklm, using the formula:

m = 11 − (( 7×(a + g) + 6×(b + h) + 5×(c + i) + 4×(d + j) + 3×(e + k) + 2×(f + l) ) mod 11)
  • If m is between 1 and 9, the number K is the same as the number m
  • If m is 10 or 11 K becomes 0 (zero)

Note: there has been a small number of JMBGs that were assigned by valid authorities but which had an invalid checksum. Also, there are a few duplicate JMBGs in existence. The common anecdotal explanation for these is simple operator error. Reportedly these mistakes happened more often in the early 1990s. The chances of running into exceptions are reportedly low, and whether such exceptions justify questioning the use of JMBG as a unique identifier has not been scientifically analyzed.[citation needed]


As an example, a valid identification number is 0101006500006; it is the number of the first male baby registered in Slovenia on January 1, 2006.

See also[edit]


  1. ^ Law on the introduction of the Unique Master Citizen Number (»Official Gazette of SFRY«, No. 58/76., reg. 840., pp 1823. & 1824.) was published on 1976-12-31. The Law reached validity on 1977-01-08. The Article 12 of the Law gave a five years deadline for the introduction of the Unique Master Citizen Number.
  2. ^ Croatian Law on JMBG from 1992 – Zakon o matičnom brojuNarodne novine 1992-9 "9 21.02.1992 Ukaz o progla?enju Zakona o mati?nom broju" (in Croatian). Archived from the original on June 10, 2015. Retrieved October 18, 2009.
  3. ^ Changes in the Croatian Law on MBG from 2002 – Zakon o izmjenama i dopunama Zakona o matičnom brojuNarodne novine 2002-66 "66 7.6.2002 Zakon o izmjenama i dopunama Zakona o mati?nom broju" (in Croatian). Archived from the original on November 5, 2015. Retrieved March 9, 2014.
  4. ^ Full text of the Croatian master citizen number law at the Croatian Ministry of Interior Affairs (in Croatian)
  5. ^ Croatian: Zakon o zaštiti osobnih podataka, Narodne novine 2003-103 "103 26.6.2003 Zakon o za?titi osobnih podataka" (in Croatian). Archived from the original on September 22, 2009. Retrieved October 18, 2009.
  6. ^ Croatian: Zakon o osobnom identifikacijskom broju, Narodne novine 2008-60 "60 28.5.2008 Zakon o osobnom identifikacijskom broju" (in Croatian). Archived from the original on October 22, 2009. Retrieved May 5, 2010.
  7. ^ OIB – Croatia Archived August 5, 2012, at the Wayback Machine
  8. ^ "ZAKON O JEDINSTVENOM MATIČNOM BROJU (Neslužbeni pročišćeni tekst1 ) Poglavlje I - OPĆE ODREDBE Članak 1. Ovim zakonom pro".
  9. ^ Agreement on allocation of registry numbers for the Unique Master Citizen Number (»Official Gazette of SFRY«, No. 13/78., reg. 240.)
  10. ^ Bylaw on the means for determining the Unique Master Foreigner Number (»Official Gazette of SFRY«, No. 43/80., reg. 705., pp 1431. & 1431.) published on 1980-08-01 and reached legal validity on 1980-08-09. This bylaw determined by its Article 5 the registry numbers for the Unique Master Foreigner Number.
  11. ^ Registry numbers 00 and 09 were allocated to the Federal Secretariat for Internal Affairs and were used for naturalized citizens of the SFRY who had no republican citizenship. In Croatia, registry numbers 00 were to be used in case of filling out the quota of the registry number 03.

External links[edit]