How To Create an Italian tax code – Codice Fiscale

The codice fiscale or Italian tax code which some Italian shopping and travel web sites require before certain operations can be carried out has caused a number of readers problems when they want to pay fines, buy tickets to museums in Florence, Venice and Rome and shop online in Italy.

Online stores or online ticket sales services based in Italy may request a codice fiscale tax code before any purchase can be made.  No codice fiscale, no ticket to the Doges Palace in Venice, or interesting wine from a producer in Italy.

At the end of this article, you’ll also find instructions on how you might be able to recover a lost officially issued codice fiscale.

What is the Codice Fiscale?

The Codice Fiscale is an alpha numeric code which is assigned to all Italians at birth.  Anyone who comes to live and work in Italy will need this code.  I have one, even though I am not Italian.

If you are not Italian, or not resident in Italy, you will not have one of these codes.  This means you may not be able to use Italian websites which request the codice fiscale before you can buy things like advance tickets to Italy’s museums and other tourist attractions, such as the Doge’s Palace in Venice.

If you need a real codice fiscale, you will also find instructions in this post on where to go to get one.

Codice Fiscale

The Italian Codice Fiscale tax code

Before explaining how to use an online system to create a codice fiscale, be aware that if you ever need a real codice fiscale, the one you create using the system mentioned here may not be 100% accurate.

Problems can occur if more than one person has a similar name and surname, was born on exactly the same date and in the same ‘comune’.  OK, so these situations are going to be rare, but I thought I should mention this – just in case.

Note, again, that the code you create with this system is not official – to create a real codice fiscale you need to come to Italy, get up early and go stand in a queue – see below.

Note too, if you are in Italy and you try to use the codice fiscale you create with the system below as a legal tax code, you may well end up with a visit from Italy’s police – be warned.

Incidentally, I used the system below to calculate my own codice fiscale and the result was exactly the same as my actual official Italian codice fiscale code – but this is not always the case.  As I mentioned at the start of this ‘how to’, I have a codice fiscale because I live and work in Italy, even though I am not Italian.

Information on how to obtain an official codice fiscale follows the unofficial codice fiscale creation section.

Now, if you just want an unofficial codice fiscale to use on some Italian online store or other, here is how you can do it:

Codice Fiscale Creation Instructions

Remembering that this process will not create an official Codice Fiscale (Yes, In know I keep repeating this – if I don’t, you may forget, and moan), first of all, you will need to go to this site: (The link will open in a new window/tab, so you can refer to instructions which follow.)

You should see a screen which looks something like this:

A Unofficial Codice Fiscale Calculator

A Unofficial Codice Fiscale Calculator – by Pagine Bianche

Now, here are instructions on how to use the tax code calculation system.

First, enter your:

  • Nome = First Name (from your passport) – Mark 
  • Cognome = Surname – Jones
  • Sesso = sex – select Femmina, if you are a woman, or Maschio, if you are a man.  Femmina may be selected at first.

Ignore the ‘Se sei nato in Italia‘ box, unless you were born in Italy.  Instead, do this:

  • Click on the greyish ‘Se sei nato all’estero‘ box.  Yes, it does look as if it will not work, at first glance, but it does.
  • It will present you with a choice of countries.  Choose yours – you will need to know the Italian name for your nation.  ‘Gran Bretagna’ = Great Britain, ‘Stati Uniti’ = United States, etc, etc.

Enter your Data di Nascita – Date of Birth

  • First box – Giorno=day – select a number eg 21
  • Second box – Mese=month – select a month eg Aprile (April)

Months in Italian and English

Gennaio – January
Febbraio – Feburary
Marzo – March
Aprile – April
Maggio – May
Giugno – June
Luglio – July
Agosto – August
Settembre – September
Ottobre – October
Novembre – November
Dicembre – December

  • Third box – this is where you select the year you were born.

Next, click on the ‘Calcola‘ button.  Again, note that this does not create an official Codice Fiscale, as has already been pointed out more than a few times.

Below the form you have completed you should see your very own, unofficial, codice fiscale

Your unofficial Codice Fiscale should look something like this: JNS JHN 67B02 Z404Z – 6 letters, then numbers and letters.

Make a note of the code.

Now you can whiz off to acquire an unlocked Apple iPhone, buy a ticket to the Doge’s Palace Venice, or order something from an online shop based in Italy which asks you for a codice fiscale..

If You Need an Official Codice Fiscale – Read This

PLEASE NOTE: The system mentioned on this page does not produce an official Italian Codice Fiscale.  If you need an official Codice Fiscale, then you must go to the offices of the Agenzia Delle Entrate.  There is more information, in English, on the Italian Agenzie Delle Entrate website: Health and Tax Code Section.

To get a real codice fiscale, you will need an identity document.  A passport, or birth certificate for young children, will be enough.

Update September 2014: It is now possible to obtain a Codice Fiscale via the Italian consulate in London. Instructions on how to do this can be found here. Your Codice Fiscale will take between one and a half and two months to arrive. In Italy, if you are lucky, you can get one in a morning.

Other Italian consulates and embassies around the world may also offer a similar codice fiscale creation service.

Get there Early

The offices issuing the codice fiscale are usually open from 8am in the morning until 1pm in the afternoon.  It is a good idea to get there at opening time – or you may have to come back the next day.  In the bigger Italian cities, queues are likely to be long meaning that a morning off work is advisable.  If you tell your Italian boss where you are going, he or she will understand.  Many companies in Italy will help you with the creation of a codice fiscale, and may even go do the queuing for you.

The codice fiscale serves in Italy as both a tax and health code.

Have You Lost Your Official Codice Fiscale?

At some time in the past, maybe you came to Italy and worked for a while, as an English teacher, perhaps. If so, you were probably issued an official Italian codice fiscale. Years later, you want to purchase something online from Italy and you cannot find your Italian tax code. It happens.

In this case, first of all try to find some official documentation which may contain your codice fiscale – you may find it on utilities bills, mobile phone contracts or old tax documents. If however, you cannot unearth your long lost Italian codice fiscale, here’s something else you can try.

First of all, use the system described on this page to re-create your codice fiscale and then visit Italy’s official codice fiscale checking system which is here: Verifica codice fiscale di persona fisica o di soggetto diverso da persona fisica – the page is in Italian but it’s not hard to use:

  • Enter the codice fiscale you want to verify in the box next to where it says ‘Codice fiscale’.
  • Then enter the security code – codice di sicurezza – in the box next to the words “codice di sicurezza”. You may find the security code a little hard to read, so several attempts may be necessary.
  • Finally, click on ‘invia’ – submit, and the system will check your codice fiscale. If all goes well, you will see a message like this:

La verifica per il codice fiscale <the codice fiscale you are checking> ha prodotto il seguente risultato:


The words “Codice Fiscale Valido” indicate that the code you are checking is valid. Well done, you have found your old Codice Fiscale tax code. The only problem is that the official system does not tell you the name of the person who holds the verified code. You can be around 99% certain that the person is you though.

I hope all this information helps.  And you might find this post:  How to Avoid Fines while Staying in Italy useful too – assuming you’ve arrived here before being fined, that is.

If you have problems, let me know and I will try and help you.

You are logged in. Thank you for subscribing.


  1. Martin says


    I’m looking to use this code to get a mobile sim card (and possibly mobile broadband as well) possible on a short ccontract, but more likely on pay as you go – would using an unofficial tax code cause problems here? I’m only in Italy for 3 months and am not getting paid (at least not by anyone Italian) while I’m here.


    • says

      Hi Martin,

      If you are in Italy, I’d recommend getting an authentic codice fiscale. If you use the code created by the system linked to here, there’s a remote possibility you could cause yourself problems even if it may work. Attempt to use an unofficial code at your own risk!



  2. Adrian says

    Hi Alex,

    Thanks for your very useful article.

    I’m just wondering whether obtaining a codice simply in order to do things such as get a SIM card etc. whilst in Italy for a few weeks means that I would then also be, inadvertently, be declaring myself domiciled in Italy for tax purposes (it is a tax code after all). That is not my intention as I won’t be resident there, just a tourist.


    • says

      You are welcome, Adrian.

      As for the tax code thing actually tying you into Italy’s tax system – don’t worry. You won’t be declaring yourself domiciled in Italy – that only happens when you seek residency somewhere – and that involves a visit from the police to your home address in Italy.

      Even with a tax code, you will only be considered a tourist. I haven’t heard any stories of former tourists receiving tax demands from Italy after their holidays here! Hopefully, I never will!



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>