What the codice fiscale is and how it is structured

The codice fiscale (tax, or fiscal, code) is a personal identification code that the Italian state assigns to every individual for interacting with public authorities, the tax system and most institutions in the country. In its role it is the equivalent of a taxpayer identification number: it uniquely identifies a person across all registers, from the tax authority to the healthcare system. The code is issued by the Agenzia delle Entrate — the Italian revenue agency — and it is the only official source of this number.

The code consists of sixteen characters — a combination of letters and digits that the system generates according to a precise formula based on your personal data. It "encodes" the consonants of your surname and first name, the year and month of birth, the day of birth (for women the number 40 is added to the day), and the code of the place of birth. For foreigners born outside Italy, a special code for the country of birth is used. The last character is a check letter that lets the system verify that the whole code is correct.

Because of this structure, it is important to understand the key point: the codice fiscale is not a random string of characters. It is mathematically tied to the data on your document. That is precisely why any mistake in the spelling of a surname, first name or date of birth produces an incorrect code that you will later have to fix. We will cover this in detail in the section on errors.

Another important point for newcomers: the codice fiscale is free of charge and is assigned regardless of whether you work, study or have just arrived. It is not a residence permit and not an ID card — it is a purely technical identifier. Having the code does not by itself legalise your stay in the country, but without it, it is practically impossible to organise everyday life.

Lawyer's tip. Your codice fiscale never changes during your lifetime — even if you change your surname, citizenship or address. So write it down as soon as you receive it and keep it in a safe place. Losing the paper certificate itself is not a problem — the code can be reprinted, but the number will stay the same forever.

Where to get it: Agenzia delle Entrate or a consulate

There are two main ways to obtain a codice fiscale, and the choice depends on where you are at the time of the application — already in Italy or still abroad.

1. In Italy — through the Agenzia delle Entrate

This is the most common option for those who have already arrived. The code is issued at any territorial office of the Agenzia delle Entrate — the revenue agency. You can go to any office regardless of where you live: there is no link to a specific municipality here. In most towns you can simply show up in person, while in large centres it is advisable to book an appointment in advance through the online booking system on the agency's official website.

For citizens of Ukraine who have arrived under temporary protection, in many cities the codice fiscale is assigned automatically or in a simplified way already at the stage of registering protection at the questura (police headquarters). So before making a separate trip to the tax office, it is worth checking the documents issued to you together with your residence permit — the code may already be indicated there.

2. Abroad — through an Italian consulate

If you are not yet in Italy but already need the code (for example, to arrange an employment contract, enrol in an educational institution or complete a ricongiungimento familiare procedure), you can apply to the Italian consulate in your country of residence. The consulate sends a request to the Italian revenue agency and issues you a corresponding certificate confirming that the code has been assigned.

This route is often used already at the stage of obtaining a visa or nulla osta: in many cases the codice fiscale is needed even before you physically enter the country. Bear in mind that the consular route is usually slower than applying directly in Italy, so plan your time with a margin to spare.

3. Through a representative acting under a power of attorney

If you physically cannot come in person, an authorised person can obtain the code on your behalf under a notarised power of attorney (delega). This is especially convenient in complicated family situations or when time is pressing. A lawyer or authorised representative submits the application in your name, holding copies of your documents and a properly executed power of attorney.

How the procedure works step by step

Obtaining a codice fiscale is one of the simplest of all Italian bureaucratic processes. In a typical case the whole visit lasts from a few minutes to half an hour, depending on the queue. Here is what it looks like in practice:

In most cases the code is issued the same day, directly during the visit. This is a welcome contrast with other Italian procedures, where you often have to wait for weeks. If you apply through a consulate or a representative, the timelines may be longer — from a few days to a few weeks.

Lawyer's tip. The paper certificate of assignment of the code has exactly the same legal force as the plastic card. Do not wait for the card if you need the code urgently for a bank or an employer — the printed certificato is perfectly sufficient for most transactions. The plastic tessera sanitaria will be sent to you by post later, once you register with the healthcare system.

Which documents you need

The list of documents is minimal, and this is another advantage of the procedure. However, it is important that the data on your documents is up to date and legible — the system builds your code from it.

For an adult foreigner the following is usually enough:

For children the code is arranged by the parents or legal representatives. You will need the child's birth certificate and the passport of one of the parents. Children are often assigned the code at the same time as the family is registered or a ricongiungimento familiare is processed.

If you apply through a consulate abroad, additional consular forms may be added to the package. And in the case of an application under a power of attorney, the delega itself and a duly certified copy of your document are mandatory.

An important detail. Check that the Latin transliteration of your surname and first name in your passport matches the one you enter in the application. Inconsistent spelling is the most common cause of later problems with the code, when a bank or an employer cannot "match up" your data.

What the codice fiscale is used for in daily life

The codice fiscale is literally the key to everyday life in Italy. You need it in almost every situation where you officially interact with institutions, companies or the state. Here are the most important areas where you cannot do without it:

In other words, the codice fiscale should be one of the first things you arrange after arriving — even before you start looking for housing or a job. This will save you weeks of waiting, because without the code most other processes simply cannot start.

Codice fiscale and tessera sanitaria: what is the difference

Newcomers often confuse two concepts — the codice fiscale and the tessera sanitaria — because the plastic card usually has the same sixteen-character code printed on it. Yet these are different things, and the difference is worth understanding clearly.

The codice fiscale is the number itself, your tax identifier. It exists independently of any card. You receive it first, and it is the one that appears in contracts, banking documents and tax returns. The paper certificato di attribuzione serves as confirmation of the code.

The tessera sanitaria is a plastic health card issued after you register with the national Servizio Sanitario Nazionale. It has your codice fiscale printed on it, but the card itself performs additional functions: it confirms your right to medical care, is used in pharmacies and at the family doctor's office, and on the back it often works as a European Health Insurance Card for travel.

The key difference lies in the logic of how they are obtained:

So it is entirely normal to already have a codice fiscale (the paper certificate) but not yet have the plastic tessera sanitaria — it will arrive by post later. For a bank, an employer or a rental, the plastic card is not required: the code alone is enough.

Errors in personal data and how to fix them

Since the codice fiscale is generated mathematically from your personal data, any inaccuracy during data entry produces an incorrect code. This is not uncommon, especially for foreign surnames transliterated from Cyrillic. Let us look at the most typical problems and the ways to solve them.

Typical causes of errors

How to fix an error

The correction is made at the same authority — the Agenzia delle Entrate. The steps are as follows:

It is important to act quickly. If you have already signed an employment contract, opened a bank account or registered a rental with an incorrect code, after the correction you will have to update the data at those institutions too. The sooner you spot the error, the fewer documents you will have to redo later. So immediately after receiving the code, check the spelling of your surname, first name and date of birth on the certificate — before you start using it.

Frequently asked questions

Do I have to pay for the codice fiscale?

No. Assigning the code and issuing the paper certificate are free of charge. If an intermediary offers to "speed up" the process for a fee, remember that the state itself does not charge money for the code. The only thing you might pay for is the services of a representative, if you are arranging the code under a power of attorney.

Can I get a codice fiscale without a residence permit?

In many cases, yes — the code is a technical identifier, not a legalisation document. Foreigners are often assigned it already at the stage of processing their status, and abroad through a consulate. In practice, however, to apply in Italy you are usually asked for at least an identity document and a ground for your stay. The most reliable approach is to check the requirements of the specific Agenzia delle Entrate office.

What should I do if I lost the certificate with the code?

There is nothing to worry about. The code itself is assigned to you forever and is stored in the system. It is enough to go to any office of the revenue agency with an identity document, and the certificate will be reprinted for you. The number will stay the same.

Does the codice fiscale change if I change my surname or citizenship?

No. The code is assigned once and does not change throughout your whole life, even if you change your surname after marriage, obtain Italian citizenship or move to another town. Other documents may change, but the tax code itself remains constant.

How long does it take to get the code?

When you apply in person in Italy, the code is usually issued the same day — the procedure takes a few minutes. Through a consulate abroad or under a power of attorney the timelines are longer: from a few days to a few weeks, so this route should be planned in advance.

The codice fiscale is a small but fundamental element of your new life in Italy. Obtaining it quickly and correctly the first time means avoiding a chain of problems with the bank, work and rental in the future. If your situation is not standard — you are abroad, arranging the code for a child or have discovered an error in a code already assigned — it is better to check the current requirements and act without delay.

Матеріал має інформаційний характер і не замінює юридичну консультацію.