Codice Fiscale Calculator: Italian Fiscal Code Generator

Moving to Italy, buying a house there, or filling in an Italian form that asks for your “codice fiscale”? This guide explains, in English, what the Italian fiscal code is, how to calculate it with our free codice fiscale calculator, and how to get the official code if you are a foreigner.

Calculate your codice fiscale now

Free, no registration. The calculator is in Italian: below, every field is explained in English.

By

The codice fiscale is the Italian tax code: a 16-character code, made of letters and numbers, that identifies every person in Italy for tax and administrative purposes. It is built from your surname, first name, date of birth, sex and place of birth (for people born outside Italy, the country of birth). You can calculate it online for free, but only the Italian Revenue Agency (Agenzia delle Entrate) or an Italian consulate can issue the official one.

Quick answers

  • What it is: the Italian tax identification number for people, 16 characters long (e.g. SMTJHN90L05Z404C).
  • Calculator: our free online calculator generates the code from your personal data in seconds. The result is for checking and planning, not an official document.
  • Official code: free of charge, issued by the Agenzia delle Entrate in Italy or by the Italian consulate in your country.
  • Born abroad? The place of birth is your country, written as a code that starts with Z (e.g. USA Z404, United Kingdom Z114).
  • Expiry: the codice fiscale never expires. Only the health card that shows it (tessera sanitaria) has an expiry date.

Calculate your codice fiscale online

Open our free calculator, enter your surname, first name, sex, date of birth and country of birth, and click “Calcola”: the 16-character code appears immediately. The calculator for people born abroad is in Italian. Here is what each field means:

The calculator fields in English
Field (Italian)Meaning in EnglishWhat to enter
CognomeSurname / last nameAll surnames, exactly as on your passport
NomeFirst nameAll first names, including a middle name if it is on your passport
Sesso: Maschio / FemminaSex: male / femaleAs on your passport
Data di nascitaDate of birthThree boxes: Giorno (day), Mese (month, in Italian: Luglio = July) and Anno (year)
Nato all’estero: Sì / NoBorn abroad: yes / noAlready set to Sì (yes). Choose No only if you were born in Italy
Stato estero di nascitaForeign country of birthType the country and pick it from the list (Italian names, e.g. Stati Uniti, Regno Unito). The city does not matter
Calcola / AzzeraCalculate / ResetClick “Calcola” to get the code
Codice fiscale calculator with English translations of the Italian fields: Smith, John, born in the USA, result SMTJHN90L05Z404C
The Italian calculator, field by field in English.

The calculator is free, works on phones and computers, needs no registration, and the data you type is not saved on our servers. If you were born in Italy, use the main Italian fiscal code calculator (calcolo codice fiscale) on our homepage.

Is the codice fiscale calculator for foreigners different?

No. Foreigners use the same rules as Italians. The only difference is the place-of-birth block: instead of an Italian town code, the code contains the code of your country of birth. For foreign names, double surnames and countries that no longer exist, read our detailed guide on the codice fiscale for foreigners (in Italian).

Fiscal code generator or calculator: is there a difference?

No. A “fiscal code generator” or “Italian tax code generator” is the same as a calculator: a tool that applies the official rules to your personal data. It does not create a new or official code. It rebuilds the code that matches your data, which is the same code the Italian administration will give you in almost every case.

What is codice fiscale? Meaning in English

The codice fiscale (in English: Italian tax code or fiscal code) is the personal identification number used by the Italian tax system and public administration. It was introduced by Presidential Decree no. 605 of 29 September 1973 and is given to everyone born in Italy and to every foreigner who deals with Italian authorities.

Word for word, codice fiscale means “fiscal code”. In English you will see it called:

  • Italian tax code or tax code, the most common translation;
  • fiscal code or Italian fiscal code;
  • Italian tax ID or Italian TIN (tax identification number), the term used on international forms and in banking.

Italians often abbreviate it as CF or C.F.

Codice fiscale pronunciation: how do you say it?

It is pronounced KOH-dee-cheh fee-SKAH-leh (IPA: /ˈkɔːditʃe fiˈskaːle/). The “c” in codice sounds like the “ch” in “cheese”, and the stress in fiscale falls on the “a”.

What do you need a codice fiscale for?

You need it for almost any contract or official step in Italy, even if you do not live there:

  • signing a rental contract or buying property in Italy;
  • opening an Italian bank account;
  • getting an employment contract or registering as self-employed;
  • enrolling at an Italian university;
  • registering with the Italian national health service (SSN);
  • connecting utilities (electricity, gas, internet) and many mobile phone contracts;
  • buying a car, receiving an inheritance, or paying Italian taxes.
What is the codice fiscale: the Italian tax code of 16 characters, needed to rent, open a bank account, work, study and register for healthcare
One code for life, needed for almost everything in Italy.

Codice fiscale, partita IVA and your own tax number

Codice fiscale, partita IVA and your own tax number
CodeWhat it isWho has it
Codice fiscalePersonal tax code, 16 characters (letters and numbers)Every person dealing with Italian authorities
Partita IVAVAT number, 11 digitsOnly businesses and self-employed people
Your home country’s tax number (SSN, NI number, Steuer-ID…)Your national tax IDNot accepted in place of the Italian code

Important: your passport number or your home tax number does not replace the codice fiscale. Italian offices, banks and landlords will always ask for the Italian code.

Code fiscal italien: a note for French speakers

In French the codice fiscale is called code fiscal italien and it works exactly as described on this page. It has nothing to do with the French numéro fiscal (13 digits): a person born in France has the country code Z110 in the Italian codice fiscale, and still needs the Italian code to rent, work or open an account in Italy.

How the Italian fiscal code is built (16 characters)

The Italian fiscal code has 16 characters in 7 blocks: 3 letters from the surname, 3 letters from the first name, 2 digits for the year of birth, 1 letter for the month, 2 digits for the day of birth and sex, 4 characters for the place of birth and 1 check character. These rules come from the Italian Ministry of Finance (decree of 23 December 1976).

The 7 blocks of the Italian fiscal code
PositionsBlockExample (John Smith)
1–3SurnameSMT
4–6First nameJHN
7–8Year of birth (last 2 digits)90
9Month of birth (letter)L
10–11Day of birth (+40 for women)05
12–15Place of birth (Italian town or foreign country)Z404
16Check characterC

Surname and first name letters

  • Surname: take the first three consonants (SMITH → S, M, T). If there are fewer than three, add the vowels in order, then X if the name is still too short (surname “Li” → LIX).
  • First name: take the first three consonants, but if the first name has four or more consonants, take the 1st, 3rd and 4th (ROBERT has R, B, R, T, so you take RRT).
  • Spaces, apostrophes and accents are ignored: O’Brien = OBRIEN, José = JOSE. The letters J, K, W, X, Y count as consonants.
  • Use your names as written on your passport: do not translate them into Italian (John stays JOHN, not Giovanni).

Birth date, month letter and sex

The year is written with its last two digits (1990 → 90). The month is a letter:

Month letters in the codice fiscale
JanFebMarAprMayJunJulAugSepOctNovDec
ABCDEHLMPRST

The day of birth is written with two digits. For women, 40 is added to the day: a woman born on the 22nd has 62, a man born on the 22nd has 22. This is how the code shows your sex.

Place of birth: the Z code for people born abroad

For people born in Italy, positions 12–15 contain the cadastral code of the Italian town (e.g. H501 for Rome). For anyone born outside Italy, Italian citizens included, they contain the code of the country of birth: the letter Z followed by three digits. The city does not matter: someone born in London and someone born in Manchester both get Z114.

Country codes for people born abroad
Country of birthCodeCountry of birthCode
United StatesZ404IndiaZ222
United KingdomZ114PakistanZ236
CanadaZ401PhilippinesZ216
AustraliaZ700NigeriaZ335
IrelandZ116BrazilZ602
FranceZ110GermanyZ112

You do not need to look up the code: in our calculator you just pick the country from the list. The full list of country codes is published by ISTAT, the Italian statistics institute.

The check character

The 16th character is a check letter calculated from the first 15. Each character gets a value from two official tables (one for odd positions, one for even positions); the values are added up and the remainder of the division by 26 gives a letter (0 = A, 1 = B, 2 = C … 25 = Z). It is there to catch typing errors: if one character is wrong, the check letter no longer matches. Our calculator does this step for you; the tables are in our Italian guide come funziona il codice fiscale.

Codice fiscale example: step by step

John Smith (fictional), male, born in the United States on 5 July 1990, has the codice fiscale SMTJHN90L05Z404C. This is how it is calculated:

Codice fiscale example: step by step
BlockHow it is calculatedResult
SurnameSMITH → consonants S, M, TSMT
First nameJOHN → consonants J, H, NJHN
Year199090
MonthJulyL
Day5 (man, so no +40)05
PlaceUnited StatesZ404
Checkodd positions 99 + even positions 59 = 158; 158 ÷ 26 = 6, remainder 2 → CC

Second example, a woman: Emily Brown (fictional), born in the United Kingdom on 22 March 1995. Surname BROWN → BRW; first name EMILY → consonants M, L, Y → MLY; year 95; March C; day 22 + 40 = 62; United Kingdom Z114; check character A. Codice fiscale: BRWMLY95C62Z114A.

Codice fiscale example for a woman born in the UK: day 22 + 40 = 62, code BRWMLY95C62Z114A
For women, 40 is added to the day of birth.

Calculated code vs official code

A code calculated online is correct in almost every case, but it is not an official document: the valid codice fiscale is only the one issued by the Agenzia delle Entrate. There are two reasons why the two can differ:

  • Omocodia: when two people have the same data and therefore the same code, the Revenue Agency changes some digits of the second code into letters. A calculator cannot know this.
  • Data recorded differently: if your name, date or country was recorded differently when the code was issued (for example a missing middle name), the official code follows the recorded data.
Calculated codice fiscale vs official codice fiscale: the calculator is for checking, the certificate is the legal document
Use the calculator to check, the certificate to prove.

So use the calculator to know your code in advance, fill in a form, or check a code you were given. When an Italian office needs proof, show the official certificate or card.

How to get a codice fiscale online (for foreigners)

Foreigners get the official codice fiscale for free from the Agenzia delle Entrate (in Italy) or from the Italian consulate or embassy in their country. From abroad you can authorise a person in Italy to request it for you or, where your consulate allows it, send the AA4/8 form and a copy of your passport to the consulate by email. No office charges for the code.

How foreigners get the official codice fiscale: from abroad through a proxy in Italy or the Italian consulate, in Italy at the Agenzia delle Entrate
Two free ways to get the official code.

From abroad: through a person in Italy (proxy)

Many Italian consulates now issue the code to foreigners who do not live in Italy only in limited cases, for example when an Italian online procedure needs it or when you cannot authorise anyone in Italy. The usual route is therefore a proxy (delega): someone in Italy, such as your notary, accountant, estate agent or a friend, takes these documents to an Agenzia delle Entrate office:

  • the AA4/8 form signed by you;
  • a signed delegation (delega) in Italian;
  • a copy of your passport;
  • the proxy’s own ID.

The office usually issues the certificate to your proxy on the same day.

From abroad: at the Italian consulate

If your consulate accepts requests from foreigners (or if you are an Italian citizen registered with AIRE), contact the Italian consulate or embassy responsible for your area. The usual steps are:

  1. Download the AA4/8 form. The modello AA4/8 is on the Agenzia delle Entrate website; fill it in and sign it.
  2. Attach a copy of your passport. Or of your EU identity card, if you have one.
  3. Send the request. By email, through the consulate’s online services portal, or in person, following the consulate’s instructions.
  4. Receive the certificate. The certificate of attribution of the codice fiscale usually arrives by email as a PDF.

Processing times depend on the consulate: some answer in a few days, busy ones can take several weeks. Check the “codice fiscale” page on your consulate’s website before you send anything.

In Italy: at the Agenzia delle Entrate

If you are already in Italy, go to any office of the Agenzia delle Entrate (it does not have to be in your city), ideally with an appointment. Bring:

  • the AA4/8 form, filled in and signed;
  • your passport (EU citizens can use their national identity card);
  • for non-EU citizens, where relevant, your visa or residence permit (permesso di soggiorno).

The office normally prints the certificate with your codice fiscale on the same day. If you are entitled to Italian public healthcare, the tessera sanitaria (health card with the code on it) arrives later by post.

Other channels: non-EU workers entering with a work permit (nulla osta) get the code through the Sportello Unico per l’Immigrazione, and people who apply for a residence permit get it through the Questura. International students can ask their university’s international office which route to use.

How to apply for codice fiscale online yourself

You can, but the online service of the Agenzia delle Entrate requires SPID, CIE or CNS (Italian digital identity), which most foreigners do not have. Without them, applying online means emailing the AA4/8 form and your passport copy to your proxy in Italy, to your consulate (if it accepts requests from foreigners) or, if you are in Italy, to an Agenzia delle Entrate office, since many offices accept requests by email or PEC. Full details, including requests for newborns and duplicates, are in our guide to the richiesta codice fiscale online (in Italian).

Watch out for paid services. Some websites ask for a fee to “get your codice fiscale online”. At best they send the same free request on your behalf; at worst they only calculate the code, which you can do yourself for free.

Codice fiscale application form in English

The AA4/8 form exists only in Italian, but the Agenzia delle Entrate publishes information leaflets for foreigners in English and other languages. Here is what the main parts of the form mean:

Codice fiscale application form in English
AA4/8 section (Italian)In EnglishTip
Tipo di richiesta: attribuzione codice fiscaleType of request: issue of a new codeTick this for your first code
Variazione dati / duplicatoChange of data / duplicateOnly if you already have a code
Cognome, NomeSurname, first nameAs on your passport
Sesso, Data di nascitaSex, date of birthDate as dd/mm/yyyy
Comune (o Stato estero) di nascitaTown (or foreign country) of birthWrite the country
Residenza anagrafica / Residenza esteraAddress in Italy / address abroadFill in the one that applies
FirmaSignatureSign by hand

Renewal, lost code and download

  • Renewal: there is nothing to renew. The codice fiscale never expires and stays the same for life. Only the tessera sanitaria expires (usually after 6 years), and it is sent again automatically to people registered with the health service.
  • Finding your code: look at your tessera sanitaria, the certificate you received, an Italian payslip, a rental or bank contract, or a tax return. There is no public search to find someone’s code online from their name.
  • Lost it? Ask the Agenzia delle Entrate office or your consulate for a duplicate certificate. The code does not change.
  • Download a copy: if you have SPID or CIE, you can download a copy of your health card or certificate from the Agenzia delle Entrate reserved area. Otherwise, keep the PDF the consulate emails you.

Codice fiscale translation (traduzione codice fiscale)

When an Italian office asks for your codice fiscale, you never translate it: the code is the same in every language. What you may need to translate is the document that shows it.

  • “Codice fiscale” in English is “tax code” or “fiscal code”. On English forms, write the code in the field “Italian tax ID” or “TIN”.
  • Translating the certificate: if a foreign bank or authority asks for it, a simple translation is usually enough; some offices ask for a certified (sworn) translation. The 16-character code itself stays as it is.
  • In other languages: French code fiscal, German Steuernummer (see our German guide), Spanish código fiscal.

Check your codice fiscale online

To check a codice fiscale online, enter it in a verification tool: it checks the structure and the check character and, if you add the personal data, whether they match. This is useful if you received a code by email and want to make sure there is no typo. Use our verifica codice fiscale tool (in Italian): type the code and click “Verifica”. The only official check of whether a code exists in the Italian tax register is the free service on the Agenzia delle Entrate website.

Frequently asked questions

What is the codice fiscale in English?

It is the Italian tax code (also called fiscal code or Italian tax ID): a 16-character personal identification code used for taxes and official procedures in Italy.

How do I get a codice fiscale online?

From abroad, authorise a person in Italy to request it with the AA4/8 form and a copy of your passport, or send them to your Italian consulate by email if it accepts requests from foreigners. In Italy, many Agenzia delle Entrate offices accept the request by email or PEC, or you can use the online service if you have SPID or CIE. It is free.

Is the codice fiscale calculator accurate?

Yes, it applies the official rules and gives the correct code in almost every case. In rare cases of omocodia (two people with the same code) the official code differs, so it is not a legal document.

Can I use a calculated codice fiscale to open a bank account or rent a flat?

You can write it on a form, but banks and notaries usually ask for the official certificate or card. Use the calculator to check the code, then get the official one.

How long does it take to get a codice fiscale?

At an Agenzia delle Entrate office it is usually issued on the same day, also through a proxy in Italy. Through a consulate it can take from a few days to a few weeks.

Does the codice fiscale expire or need renewal?

No. The codice fiscale never expires. The tessera sanitaria that shows it expires, but the code on it stays the same.

Do I need a codice fiscale if I do not live in Italy?

Yes, if you buy property, open an account, inherit, sign a contract or pay taxes in Italy, even as a non-resident.

What is the codice fiscale for someone born abroad?

The same as for Italians, except that the place-of-birth block is the code of the country of birth (Z + 3 digits), for example Z404 for the United States and Z114 for the United Kingdom.

Conclusion

The codice fiscale is the first thing you need for almost anything in Italy, from renting a flat to opening a bank account. Now you know what it means, how its 16 characters are built, and how to get the official code for free from the Agenzia delle Entrate or your Italian consulate. Want to know your code right now? Enter your data, choose your country of birth, and get your Italian fiscal code in seconds.

Use the free codice fiscale calculator →

Sources and reliability

Checked: both examples (SMTJHN90L05Z404C, BRWMLY95C62Z114A) and the country codes were recalculated with our calculator, which applies the official algorithm. Consulate requirements and processing times change; your consulate’s website always has the final word.

Unofficial tool: this website is not connected to the Agenzia delle Entrate. Data entered in our tools is not saved on our servers.

Author: