Your codice fiscale
The codice fiscale is a 16-character code made of letters and numbers. It identifies you with the public administration and is needed to join the national health service (Servizio Sanitario Nazionale) and choose a doctor. Only the code issued by the Agenzia delle Entrate is valid, and it does not expire.
Most non-EU newcomers receive it without asking:
- If you entered for work or family reunification, the immigration desk at the Prefettura (Sportello Unico per l’Immigrazione) gives you a provisional numeric code. You get the final one when your residence permit is issued.
- If you apply for another type of permit, the Questura gives you the final code straight away.
If you live legally in Italy without a code, you can ask any Agenzia delle Entrate office, by appointment, or send form AA4/8, filled in and signed, by certified email (PEC). A non-EU citizen attaches one of these: a valid passport with visa where required, an identity attestation with photo from their consulate in Italy, a valid residence permit, or an identity card from their Comune. You then receive a certificate of attribution (certificato di attribuzione), which you can use until your card arrives at home.
Registering your residence
Registration as a resident (iscrizione anagrafica) is done at the registry office (Ufficio Anagrafe) of the Comune where you live. The Prefettura di Roma says you apply in person and lists, for non-EU citizens:
- A residence permit valid for more than 3 months.
- A valid passport or equivalent document.
- Civil status records not shown in your passport (birth, marriage, divorce): translated into Italian and legalised, or issued by your consulate with the signature legalised by the Prefettura.
The local police (Polizia Municipale) then check that you really live at the address. If the check is positive, your residence counts from the day you applied. Within 60 days of renewing your permit, you must confirm your address to the registry office with a copy of the new permit.
If you are already registered in Italy and move, you can send the change of residence online through the national registry (ANPR). For non-EU citizens, attaching the residence permit is mandatory. The Comune records the request within 2 days, then checks it within 45 days at most.
1. Fill in the form cleanly
Form AA4/8 must be filled in and signed. You can type into the PDF with Fill PDF form, using your names exactly as on your passport, then print it, sign it by hand and scan the signed page.
2. Scan your permit front and back
Photograph both sides of your residence permit or ID, flat and without glare, and turn them into a PDF with JPG to PDF. Put the front and the back in a single file with Merge PDF, so the ANPR attachment or your PEC carries the whole document.
JPG to PDFConvert JPG photos to PDF, plus PNG, HEIC (iPhone) and WebP.Convert to PDF3. Keep files light
The ANPR page we checked does not publish a file format or size rule: follow the message on the upload screen. If a file is refused or too heavy for an email, shrink it with Compress PDF and check it is still readable.
Make sure your name, date and place of birth and citizenship are written exactly the same on your passport and permit: the Prefettura di Roma points out that they must match.