The INSEE code ( ) is a numerical indexing code used by the
French National Institute for Statistics and Economic Studies (INSEE) to identify various entities, including
communes and ''
départements''. They are also used as
national identification number
A national identification number or national identity number is used by the governments of many countries as a means of uniquely identifying their citizens or residents for the purposes of work, taxation, government benefits, health care, bank ...
s given to people.
Created under Vichy
Although today this national identification number is used by
social security in France
Social security () is divided by the Government of France, French government into five branches: illness; old age/retirement; family; work accident; and occupational disease. From an institutional point of view, France, French social security i ...
and is present on each person's social security card (''
carte Vitale''), it was originally created under
Vichy France
Vichy France (; 10 July 1940 – 9 August 1944), officially the French State ('), was a French rump state headed by Marshal Philippe Pétain during World War II, established as a result of the French capitulation after the Battle of France, ...
under the guise of the Registration Number to the National Directory of Identification of Physical People (''Numéro d'inscription au répertoire des personnes physiques'', NIRPP or simply NIR). The latter was originally to be used as a clandestine military recruitment tool, but in the end served to identify
Jew
Jews (, , ), or the Jewish people, are an ethnoreligious group and nation, originating from the Israelites of ancient Israel and Judah. They also traditionally adhere to Judaism. Jewish ethnicity, religion, and community are highly inte ...
s,
gypsies
{{Infobox ethnic group
, group = Romani people
, image =
, image_caption =
, flag = Roma flag.svg
, flag_caption = Romani flag created in 1933 and accepted at the 1971 World Romani Congress
, ...
, and other "undesirable"
population
Population is a set of humans or other organisms in a given region or area. Governments conduct a census to quantify the resident population size within a given jurisdiction. The term is also applied to non-human animals, microorganisms, and pl ...
s under Vichy's conceptions. The first digit of the NIR was 1 for a male European, 2 for a female European, 3 for a male Muslim, 4 for a female Muslim, 5 for a male Jew, 6 for a female Jew, 7 for a male foreigner, 8 for a female foreigner, while 9 and 0 were reserved for persons of undetermined racial status.
The Demographic Service was created in 1940 in order to replace the military recruitment office prohibited by the
June 1940 Armistice with
Nazi Germany
Nazi Germany, officially known as the German Reich and later the Greater German Reich, was the German Reich, German state between 1933 and 1945, when Adolf Hitler and the Nazi Party controlled the country, transforming it into a Totalit ...
. On October 11, 1941, the Demographic Service absorbed the former General Statistics of France (SGF, created in 1833). The new organization was called the National Statistical Service (''Service national des statistiques'', SNS).
National identification numbers
Each
French person receives at birth a
national identification number
A national identification number or national identity number is used by the governments of many countries as a means of uniquely identifying their citizens or residents for the purposes of work, taxation, government benefits, health care, bank ...
, the "numéro d'inscription au répertoire" (NIR or National Repertory registration), also called a "numéro de sécurité sociale" (or Social Security number). This INSEE number is composed of 13 digits + a two-digit key. Although the total number is of 15 digits, its composition makes it easy for individuals to remember at least the first seven digits (they just have to know their sex, year and month of birth, and department of birth).
Their format is as follows: ''syymmlloookkk cc'',
where
* ''s'' is 1 for a male, 2 for a female,
* ''yy'' are the last two digits of the year of birth,
* ''mm'' is the month of birth, usually 01 to 12 (but there are special values for persons whose exact date of birth is not known),
* ''ll'' is the number of the
department of origin : 2 digits, or 1 digit and 1 letter in metropolitan France, 3 digits for overseas.
* ''ooo'' is the
commune of origin (a department is composed of various communes) : 3 digits in metropolitan France or 2 digits for overseas.
* ''kkk'' is an order number to distinguish people being born at the same place in the same year and month. This number is the one given by the ''Acte de naissance'', an official paper which officialize a birth (and is needed throughout life for various administrative procedures, such as getting an
identity card
An identity document (abbreviated as ID) is a documentation, document proving a person's Identity (social science), identity.
If the identity document is a plastic card it is called an ''identity card'' (abbreviated as ''IC'' or ''ID card''). ...
).
* 'cc' is the "control key", 01 to 97, equal to 97-(the rest of the number
modulo
In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation.
Given two positive numbers and , mo ...
97).
There are exceptions for people in particular situations.
The "sex" codes (''s'': 1 for male, 2 for female) can be given in special occasions for temporary registrations, such as for someone who a person who works as a wage-earner but is not registered for miscellaneous reasons. The sex code can be changed if someone underwent
gender reassignment
Gender is the range of social, psychological, cultural, and behavioral aspects of being a man (or boy), woman (or girl), or third gender. Although gender often corresponds to sex, a transgender person may identify with a gender other than th ...
. Under
Vichy France
Vichy France (; 10 July 1940 – 9 August 1944), officially the French State ('), was a French rump state headed by Marshal Philippe Pétain during World War II, established as a result of the French capitulation after the Battle of France, ...
, but only in
Algeria
Algeria, officially the People's Democratic Republic of Algeria, is a country in the Maghreb region of North Africa. It is bordered to Algeria–Tunisia border, the northeast by Tunisia; to Algeria–Libya border, the east by Libya; to Alger ...
(not in
metropolitan France
Metropolitan France ( or ), also known as European France (), is the area of France which is geographically in Europe and chiefly comprises #Hexagon, the mainland, popularly known as "the Hexagon" ( or ), and Corsica. This collective name for the ...
) this ''s'' code was also used to register Jews, Algerian Muslims,
foreigners, or ill-defined people. Thus, 3 or 4 was given to Muslim people of Algeria and of all
colonies
A colony is a territory subject to a form of foreign rule, which rules the territory and its indigenous peoples separated from the foreign rulers, the colonizer, and their '' metropole'' (or "mother country"). This separated rule was often or ...
; 5 or 6 for indigenous Jews; 7 or 8 for foreigners; 9 or 0 for miscellaneous and ill-defined status (people in none of these classes).
The part ''llooo'' is used together, referred to as the COG, which identifies the person's location of birth.
They are also specific codes for people whose date or place of birth is unknown, although this is today more and more rare (for example, the birth code is greater than 20 if the month of birth is unknown, and the communal code is 990 if the commune of origin is unknown). For
overseas departments
The overseas departments and regions of France (, ; DROM) are the five departments and regions of the French Republic which are located outside European France (also known as "metropolitan France"). These overseas entities have exactly the same ...
, the department number has three digits, and the communal number two digits (since 1950). People born abroad have a departmental code of 99, and the communal code is replaced by the code of the country of birth, which has three digits. Before 1964, departmental codes from 91 to 96 were used for Algeria,
Tunisia
Tunisia, officially the Republic of Tunisia, is a country in the Maghreb region of North Africa. It is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east. Tunisia also shares m ...
and
Morocco
Morocco, officially the Kingdom of Morocco, is a country in the Maghreb region of North Africa. It has coastlines on the Mediterranean Sea to the north and the Atlantic Ocean to the west, and has land borders with Algeria to Algeria–Morocc ...
.
If in a specified month the total number of births exceeds 999, an extension common code is created.
The last code is obtained by a mathematical method (dividing by 97 the number formed by the first 13 digits, taking the remainder from this division, and then the "complement to 97", that is the difference between 97 and this remainder): this gives the control key code.
History
The NIR (National Identification Repertory) was created by
René Carmille, who died at the
Dachau concentration camp
Dachau (, ; , ; ) was one of the first concentration camps built by Nazi Germany and the longest-running one, opening on 22 March 1933. The camp was initially intended to intern Hitler's political opponents, which consisted of communists, s ...
in 1944. Between April and August 1941, under the
Vichy regime
Vichy France (; 10 July 1940 – 9 August 1944), officially the French State ('), was a French rump state headed by Marshal Philippe Pétain during World War II, established as a result of the French capitulation after the defeat against ...
, Carmille conducted the first general survey to prepare the secret mobilisation of a French army. The codification was then done by General Marie in Algeria, to obtain a census of Jews, Muslims and other categories. The aim was to create a file of the whole of the
French population and to
discriminate according to ethnic or statutory criteria, following the racial policies of Vichy. Thus, the first digit that is now used to distinguish males and females then had other purposes: 3 or 4 for Algerian non-Jewish indigenous people, 5 or 6 for indigenous Jews, 7 or 8 for foreigners, and 9 or 0 for miscellaneous and ill-defined statutes.
This discriminatory categorization used in Algeria was abolished in 1944 and has never been used in
Metropolitan France
Metropolitan France ( or ), also known as European France (), is the area of France which is geographically in Europe and chiefly comprises #Hexagon, the mainland, popularly known as "the Hexagon" ( or ), and Corsica. This collective name for the ...
where, throughout the war, only "1" and "2" (for male and female) was used. The administration of the NIR was assigned in 1946 to the new Statistical Institute, the INSEE. This institution is also in charge of the RNIPP (''répertoire national d'identification des personnes physiques'', National Repertory of Identification of Physical Persons), which contains for each individual: the NIR,
last name,
first name
First most commonly refers to:
* First, the ordinal form of the number 1
First or 1st may also refer to:
Acronyms
* Faint Images of the Radio Sky at Twenty-Centimeters, an astronomical survey carried out by the Very Large Array
* Far Infrared an ...
, sex, date and place of birth, and a reference of the Birth Registration (''Acte de naissance'').
SIREN and SIRET codes
SIREN codes are given to
business
Business is the practice of making one's living or making money by producing or Trade, buying and selling Product (business), products (such as goods and Service (economics), services). It is also "any activity or enterprise entered into for ...
es and
nonprofit
A nonprofit organization (NPO), also known as a nonbusiness entity, nonprofit institution, not-for-profit organization, or simply a nonprofit, is a non-governmental (private) legal entity organized and operated for a collective, public, or so ...
associations, SIRET codes to their establishments and facilities
SIRENE database.
Geographical codes

INSEE also gives numerical indexing codes (French: ''les Codes INSEE'') to various administrative entities in France:
* INSEE codes (known as COG, for ) are given to various administrative units, notably the French
communes (they do not coincide with
postcode
A postal code (also known locally in various English-speaking countries throughout the world as a postcode, post code, PIN or ZIP Code) is a series of letters or numerical digit, digits or both, sometimes including spaces or punctuation, inclu ...
s, as there are 36,778 communes in France and many have the same name). The code has five digits:
** 2 digits (''
département
In the administrative divisions of France, the department (, ) is one of the three levels of government under the national level (" territorial collectivities"), between the administrative regions and the communes. There are a total of 101 ...
'') and 3 digits (commune) for the 96 ''départements'' of Metropolitan France.
** 3 digits (''département'' or collectivity) and 2 digits (commune) for the overseas departments and overseas collectivities.
The departmental codes are well known since they were used as the last two digits of
vehicle registration plates
A vehicle registration plate, also known as a number plate (British English, British, Indian English , Indian and Australian English), license plate (American English) or licence plate (Canadian English), is a metal or plastic plate attached t ...
(75 is
Paris
Paris () is the Capital city, capital and List of communes in France with over 20,000 inhabitants, largest city of France. With an estimated population of 2,048,472 residents in January 2025 in an area of more than , Paris is the List of ci ...
, 13
Marseille
Marseille (; ; see #Name, below) is a city in southern France, the Prefectures in France, prefecture of the Departments of France, department of Bouches-du-Rhône and of the Provence-Alpes-Côte d'Azur Regions of France, region. Situated in the ...
, 31
Toulouse
Toulouse (, ; ; ) is a city in southern France, the Prefectures in France, prefecture of the Haute-Garonne department and of the Occitania (administrative region), Occitania region. The city is on the banks of the Garonne, River Garonne, from ...
, etc.). However, this vehicle registration plate numbering system became optional in 2009 so the last two digits no longer necessarily indicate the department to which the car is registered.
The commune codes were assigned initially by numbering the alphabetically ordered list of commune names within each department or overseas division. Exceptions have occurred over time because some communes were renamed, some communes were split and new communes have been added to the end of the list.
The departmental codes are also best known as part of the French postal codes; but the postal codes do not include the INSEE commune numbers but were designed by geographical series starting by the main city of the department and then split geographically around them, with additional series given for special distribution. Some areas of the largest and most populated communes can also be assigned distinct series. The postal codes do not indicate precisely the communes but the location of the post office in charge for the distribution, and many rural communes share the same postal code number as the commune where the post office is located.
There are also 5-digit INSEE codes for foreign countries and territories, beginning with 99.
See also
*
INSEE
*
Biometrics
Biometrics are body measurements and calculations related to human characteristics and features. Biometric authentication (or realistic authentication) is used in computer science as a form of identification and access control. It is also used t ...
*
National identification number
A national identification number or national identity number is used by the governments of many countries as a means of uniquely identifying their citizens or residents for the purposes of work, taxation, government benefits, health care, bank ...
*
National Insurance number
The National Insurance number is a number used in the United Kingdom in the administration of the National Insurance or social security system. It is also used as a ''de facto'' national identification number in the UK, including in the HM Reven ...
(a similar number in the
United Kingdom
The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom (UK) or Britain, is a country in Northwestern Europe, off the coast of European mainland, the continental mainland. It comprises England, Scotlan ...
)
*
Death Master File
*
Social insurance number (a similar number in
Canada
Canada is a country in North America. Its Provinces and territories of Canada, ten provinces and three territories extend from the Atlantic Ocean to the Pacific Ocean and northward into the Arctic Ocean, making it the world's List of coun ...
)
*
Uniform civil number (a similar number in
Bulgaria
Bulgaria, officially the Republic of Bulgaria, is a country in Southeast Europe. It is situated on the eastern portion of the Balkans directly south of the Danube river and west of the Black Sea. Bulgaria is bordered by Greece and Turkey t ...
)
*
Personal ID Number (CURP) (Mexico) (a similar number in
Mexico
Mexico, officially the United Mexican States, is a country in North America. It is the northernmost country in Latin America, and borders the United States to the north, and Guatemala and Belize to the southeast; while having maritime boundar ...
)
*
Service number
A service number or roll number is an identification code used to identify a person within a large group. Service numbers are most often associated with the military; however, they also may be used in civilian organizations. National identificati ...
*
SNILS (a similar number in
Russia
Russia, or the Russian Federation, is a country spanning Eastern Europe and North Asia. It is the list of countries and dependencies by area, largest country in the world, and extends across Time in Russia, eleven time zones, sharing Borders ...
)
*
PAN (a similar number in
India
India, officially the Republic of India, is a country in South Asia. It is the List of countries and dependencies by area, seventh-largest country by area; the List of countries by population (United Nations), most populous country since ...
)
*
Tax file number
A tax file number (TFN) is a unique identifier issued by the Australian Taxation Office (ATO) to each taxpaying entity—an individual, company, Pension fund, superannuation fund, partnership, or Trust law, trust. Not all individuals have a TFN, a ...
(a similar number in
Australia
Australia, officially the Commonwealth of Australia, is a country comprising mainland Australia, the mainland of the Australia (continent), Australian continent, the island of Tasmania and list of islands of Australia, numerous smaller isl ...
)
*
Cadastro de Pessoas Físicas
The CPF number (', ; Portuguese for "''Physical Persons Register''") is the Brazil, Brazilian individual taxpayer registry, since its creation in 1965. This number is attributed by the Receita Federal do Brasil, Brazilian Federal Revenue to Brazi ...
(similar number in
Brazil
Brazil, officially the Federative Republic of Brazil, is the largest country in South America. It is the world's List of countries and dependencies by area, fifth-largest country by area and the List of countries and dependencies by population ...
)
*
NIE Number (a similar number in
Spain
Spain, or the Kingdom of Spain, is a country in Southern Europe, Southern and Western Europe with territories in North Africa. Featuring the Punta de Tarifa, southernmost point of continental Europe, it is the largest country in Southern Eur ...
)
*
PPS number (Irish system)
*
Codice Fiscale (a similar number in
Italy
Italy, officially the Italian Republic, is a country in Southern Europe, Southern and Western Europe, Western Europe. It consists of Italian Peninsula, a peninsula that extends into the Mediterranean Sea, with the Alps on its northern land b ...
)
References
External links
INSEE official website
{{DEFAULTSORT:Insee Code
Institut national de la statistique et des études économiques
Geography of France
Statistical data coding