Community Identification Number

The **Official Municipality Key**, which used to be called the _Official Municipality Characteristic Number_ or _Municipality Code Number_, is a group of numbers used to tell the difference between different municipalities and areas.

## Germany

In Germany the Official Municipality Key has statistical goals and is given by the statistics offices of individual German states.  The municipality key is given in times like moving house on the notice of some documents.

### Structure

The municipality key has eight digits, which are set like this: The <span style="color:red;">**first two numbers**</span> tell people what the German state is.  The <span style="color:blue;">**third number**</span> say the government district (in areas without government districts a zero is used instead).  The <span style="color:green;">**fourth and fifth numbers**</span> show people the number of the urban area (in a city without districts) or the district (in a city with districts).  The <span style="color:purple;">**sixth, seventh, and eighth numbers**</span> show the municipality or the number of the municipality-free area.

#### Examples

<span style="color:red;">**08**</span> <span style="color:blue;">**1**</span> <span style="color:green;">**11**</span> <span style="color:purple;">**000**</span>: Stuttgart

- <span style="color:red;">**08**</span>: Baden-Württemberg
- <span style="color:blue;">**1**</span>: Government district of Stuttgart
- <span style="color:green;">**11**</span>: Urban area of Stuttgart
- <span style="color:purple;">**000**</span>: No other municipality is available, since Stuttgart is an urban area

<span style="color:red;">**15**</span> <span style="color:blue;">**3**</span> <span style="color:green;">**52**</span> <span style="color:purple;">**002**</span>: Aschersleben

- <span style="color:red;">**15**</span>: Saxony-Anhalt
- <span style="color:blue;">**3**</span>: Government district of Magdeburg
- <span style="color:green;">**52**</span>: District of Aschersleben Strassfurt
- <span style="color:purple;">**002**</span>: City of Aschersleben

### Federal States in Germany

- 01: Schleswig-Holstein
- 02: Hamburg
- 03: Lower Saxony
- 04: Bremen
- 05: North Rhine-Westphalia
- 06: Hesse
- 07: Rhineland-Palatinate
- 08: Baden-Württemberg
- 09: Bavaria
- 10: Saarland
- 11: Berlin
- 12: Brandenburg
- 13: Mecklenburg-Vorpommern
- 14: Saxony
- 15: Saxony-Anhalt
- 16: Thuringia

### Other websites

- City listing with municipality key

### Structure

In Austria the municipality key has five digits which are chosen like this: The <span style="color:red;">**first number**</span> shows the number of the Austrian state, the <span style="color:blue;">**second and third numbers**</span> show the district, and the <span style="color:green;">**fourth and fifth numbers**</span> show the municipality.

#### Examples

<span style="color:red;">**3**</span> <span style="color:blue;">**25**</span> <span style="color:green;">**21**</span>: Rappottenstein

- <span style="color:red;">**3**</span>: Lower Austria
- <span style="color:blue;">**25**</span>: Zwettl district
- <span style="color:green;">**21**</span>: Municipality of Rappottenstein

<span style="color:red;">**9**</span> <span style="color:blue;">**07**</span> <span style="color:green;">**01**</span>: Vienna – Neubau

- <span style="color:red;">**9**</span>: Vienna
- <span style="color:blue;">**07**</span>: Neubau (7th district)
- <span style="color:green;">**01**</span>: District of Neubau

### Federal States

- 1 Burgenland
- 2 Carinthia
- 3 Lower Austria
- 4 Upper Austria
- 5 Salzburg
- 6 Styria
- 7 Tyrol
- 8 Vorarlberg
- 9 Vienna

### Other websites

- City listing with municipality key

### Structure

The Swiss Federal Office for Statistics makes code numbers with up to four digits, which are given in the order chosen with the official order of the cantons, districts, and municipalities in Switzerland.

### Cantons

|Canton <th>Range|
| --- |
|Canton of Zurich <td> 0001-0261|
|Canton of Bern <td> 0301-0996|
|Canton of Lucerne <td> 1001-1150|
|Canton of Uri <td> 1201-1220|
|Canton of Schwyz <td> 1301-1375|
|Canton of Obwalden <td> 1401-1407|
|Canton of Nidwalden <td> 1501-1511|
|Canton of Glarus <td> 1601-1629|
|Canton of Zug <td> 1701-1711|
|Canton of Fribourg <td> 2001-2336|
|Canton of Solothurn <td> 2401-2622|
|Canton of Basel-Stadt <td> 2701-2703|
|Canton of Basel-Landschaft <td> 2761-2895|
|Canton of Schaffhausen <td> 2901-2974|
|Canton of Appenzell Ausserrhoden <td> 3001-3038|
|Canton of Appenzell Innerrhoden <td> 3101-3111|
|Canton of St. Gallen <td> 3201-3444|
|Canton of Grisons <td> 3501-3987|
|Canton of Aargau <td> 4001-4323|
|Canton of Thurgau <td> 4401-4951|
|Canton of Ticino <td> 5001-5322|
|Canton of Vaud <td> 5401-5939|
|Canton of Valais <td> 6001-6300|
|Canton of Neuchâtel <td> 6401-6511|
|Canton of Geneva <td> 6601-6645|
|Canton of Jura <td> 6701-6806|