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, I 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 the instructions which follow.)

After you click, 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 pre-selected.

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.  At first glance it does not look as if it will not work, but it will.
  • A drop down menu will then 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 just 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 – note that the address of this web page changes from time to time. If the link does not work when you click, let me know via a comment. Link last checked on April 7th, 2015.

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

It is possible to obtain a Codice Fiscale via the Italian consulate in London in the United Kingdom. Instructions on how to do this can be found here. Your United Kingdom issued 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 in Italy are usually open from 8am in the morning until 1pm in the afternoon.  It is a good idea to get there at or before 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 should 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, invoices, 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 to 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!



  3. laurens says

    hi Alex,

    Thank you for your article, it is very useful for me.

    I’ve question and need your advice :

    My name laurens from Indonesia, if one organization/ company non Italian resident have tax clearance (ex. exception from VAT subject) which has authorized by Italian Tax Office , do we have to get official tax code to those who has appointed by the organization/ company to represent in contract or other legal documents ?



    • says

      Hi Laurens,

      Sorry, but your question is beyond my knowledge. For an answer to your question you should either ask an accountant or contact Italy’s tax authorities. If you like, I can put you in touch with an Italian accountant who could answer your question.



  4. marcia silva says


    Just to be clear for me.
    If I use the unoficial code only to buy train or museums tickets in sites, being a tourist, I will not have any problems with the local police, won’t I? And if I want to buy a SIM card, its ok ?


    • says

      Hi Marcia,

      It’s an unofficial code – as has been stated countless times – so if you are caught then you could, in theory, have problems. Not that I’ve ever heard of anyone having problems, but that’s not to say it has not happened. Up to you. Use this information at your own risk.



  5. Jonathan says

    Hi Alex You seem very well clued up !
    I wonder if you can help. I need a codice fiscale and have applied via the consul and don’t expect a problem but … my sister also needs one but her passport has expired. Do you know if (when using the online application ) they will accept other photo ID such as a UK driving licence ? We need the codes for a small inheritance ( a share in a deceased parents property )
    Many thanks

    • says

      Hi Jonathan,

      A birth certificate or copy of your sister’s driving licence should suffice – both will help. Provided the identity of the person concerned is clear, Italy seems to be happy to hand out tax codes to more or less anyone who asks for one.



  6. Marija says

    thanks for very good information. im moving to italy next month. do i have to translate copy of passport or birth certificate in Italian to get codice fiscale? thanks for your answer

    • says

      Not sure, Marija. Take both along and see – either you’ll get the codice fiscale or be told what you need to do.

      Prego re info :)



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=""> <s> <strike> <strong>