Obtaining a Codice Fiscale in Italy

The codice fiscale is Italy’s tax identification number, and it is the single most important document you will need for daily life in Italy. Think of it as Italy’s equivalent of a Social Security number, except you need it for far more than just taxes. Without a codice fiscale, you cannot open a bank account, sign a lease, set up utilities, register for healthcare, buy property, get a phone contract, or complete virtually any administrative or financial transaction. This guide covers what it is, how to get one, and everything you need to know about using it.

What Is the Codice Fiscale?

The codice fiscale is a 16-character alphanumeric code assigned to every individual who interacts with the Italian tax and administrative system. It is issued by the Agenzia delle Entrate (Italian Revenue Agency) and is used as a universal identifier across government agencies, healthcare, banking, employment, and private transactions.

How the Code Is Generated

The 16 characters are derived algorithmically from your personal data: 3 consonants from your surname, 3 characters from your first name, 2 digits for birth year, 1 letter for birth month (A=January, B=February, C=March, D=April, E=May, H=June, L=July, M=August, P=September, R=October, S=November, T=December), 2 digits for birth day (for females, 40 is added to the day, so a woman born on the 5th has “45”), 4 characters for the municipality of birth (Italian citizens) or country code (foreign-born individuals), and 1 check character calculated from the preceding 15.

Because the code is algorithmically generated from your personal data, it is technically possible to calculate it using online tools. However, only the official code assigned by the Agenzia delle Entrate or Italian consulate is legally valid. Using a self-generated code for official purposes is not permitted.

Who Needs a Codice Fiscale

Everyone who has any financial, administrative, or legal interaction in Italy needs a codice fiscale. This includes Italian citizens (assigned at birth), foreign residents, non-resident property buyers, anyone opening a bank account or signing a contract in Italy, beneficiaries of Italian estates or pensions, and anyone applying for Italian citizenship by descent (needed during the process).

How to Obtain a Codice Fiscale

Option 1: At an Italian Consulate (Before Traveling to Italy)

This is the recommended approach for Americans planning to move to Italy. You can request a codice fiscale at the Italian consulate with jurisdiction over your U.S. residence. Required documents include a valid passport, a completed application form (available at the consulate or on their website), and sometimes a copy of your visa or proof of reason for requesting (varies by consulate).

Processing is typically same-day or within a few days. Some consulates issue it during your appointment; others mail the physical card. The consulate will provide either a physical tessera (green card with the code and a barcode) or a certificate with the code printed on it. Both are equally valid.

Option 2: At the Agenzia delle Entrate in Italy

If you are already in Italy, visit any Agenzia delle Entrate office. The process is straightforward. Bring a valid passport (or Italian identity document if you are a citizen), and the application form (modello AA4/8 for individuals, available at the office or downloadable from the Agenzia delle Entrate website). The code is typically issued on the spot. Some offices operate by appointment (prenotazione through the Agenzia delle Entrate website or app); others accept walk-ins. Hours are typically mornings only (8:30 AM to 1:00 PM), with some offices open select afternoons.

Option 3: Through the Citizenship Process

If you are pursuing Italian citizenship by descent, the codice fiscale is typically generated as part of the citizenship recognition process. When your citizenship is recognized by a comune in Italy and you are registered in the Anagrafe, the comune communicates with the Agenzia delle Entrate to assign or confirm your codice fiscale. If recognized through a consulate, the consulate will ensure a codice fiscale is assigned.

Option 4: Online (Limited)

Non-residents can request a codice fiscale online through the Agenzia delle Entrate’s website in limited circumstances (primarily for foreign entities needing Italian tax identification). For individuals, in-person application at a consulate or Agenzia delle Entrate office remains the standard process.

The Physical Card (Tessera Sanitaria)

The codice fiscale card has evolved over the years. Currently, the primary physical card is the Tessera Sanitaria (Health Insurance Card), a credit-card-sized document that serves as both your health insurance card (if enrolled in the SSN) and your codice fiscale card. It includes your codice fiscale, personal data, an expiration date, a European Health Insurance Card (EHIC/TEAM) on the reverse (for SSN-enrolled residents, providing healthcare coverage when traveling in the EU), and a microchip for digital authentication.

The Tessera Sanitaria is mailed to your registered Italian address after SSN enrollment. If you have a codice fiscale but are not enrolled in the SSN, you can request a basic codice fiscale card from the Agenzia delle Entrate.

Important: the physical card is convenient but not strictly necessary. The 16-character code itself is what matters. You can write it down, store it digitally, or present a certificate or photocopy for most purposes.

What You Need the Codice Fiscale For

The codice fiscale is required for virtually every administrative and financial transaction in Italy.

Banking: Opening any bank account (current, savings, investment) requires your codice fiscale. This is one of the first things you will need after arriving.

Housing: Signing a rental contract (contratto di affitto) or purchasing property requires the codice fiscale of all parties. The contract must be registered with the Agenzia delle Entrate, which uses the codice fiscale as the identifier.

Utilities: Setting up electricity (Enel, Edison, etc.), gas, water, and internet contracts all require your codice fiscale.

Healthcare: Enrollment in the SSN (Servizio Sanitario Nazionale) requires the codice fiscale. It becomes the basis for your Tessera Sanitaria and all healthcare records.

Employment: Your employer needs your codice fiscale for payroll, tax withholding, and social security registration. Freelancers need it to open a partita IVA.

Phone contracts: Italian mobile phone contracts (not prepaid SIM cards, which require only an ID) require the codice fiscale.

Tax filings: All Italian tax returns, including the Modello 730, Modello Redditi, and property tax payments (IMU, TARI), are filed using the codice fiscale.

Legal documents: Wills, powers of attorney, notarial acts, and court proceedings reference the codice fiscale.

SPID: Your SPID (Sistema Pubblico di Identità Digitale) digital identity, used for accessing virtually all Italian government online services, is linked to your codice fiscale.

Vehicle registration: Buying, selling, or registering a vehicle requires the codice fiscale.

Common Issues and Solutions

Duplicate Codice Fiscale

If you have had a codice fiscale issued at different times (e.g., one from a consulate and another generated during a property purchase), duplicates can exist in the system. The Agenzia delle Entrate can consolidate these. Visit an office with all relevant documentation to resolve.

Errors in Personal Data

If your codice fiscale was generated with incorrect personal data (misspelled name, wrong birth date), it must be corrected at the Agenzia delle Entrate. Bring your passport and any documents showing the correct information. Corrections can take time to propagate through connected systems (banking, healthcare, tax records).

Lost or Damaged Card

If you lose the physical card, you can request a replacement at any Agenzia delle Entrate office or, for the Tessera Sanitaria, through the ASL. The code itself does not change. In the meantime, the 16-character code is sufficient for most transactions.

Name Changes

If your name changes (through marriage, for example), you need to update the Agenzia delle Entrate with a new identity document reflecting the change. The codice fiscale code itself does not change (it is permanently linked to your original personal data), but the associated records are updated.

Digital Access: SPID and CIE

Your codice fiscale is the foundation for Italy’s digital government infrastructure. SPID (digital identity) allows you to access INPS (pension and benefits), the Agenzia delle Entrate (tax returns, property records), your ASL (healthcare appointments, records), the Anagrafe online services, and hundreds of other government and municipal services. The CIE (Carta d’Identità Elettronica) also functions as a digital identity tool with its embedded chip, usable for the same online services.

Setting up SPID requires your codice fiscale, an Italian phone number, an email address, and identity verification (in-person at a provider like Poste Italiane, or via CIE). SPID providers include PosteID, Aruba, InfoCert, and others.

For U.S. Tax Purposes

Americans living in Italy should note that the codice fiscale serves as the foreign tax identification number (TIN) for U.S. tax filing purposes. You will report it on IRS forms including the FBAR (FinCEN 114), FATCA (Form 8938), and any treaty-based return positions. Your Italian commercialista and U.S. tax advisor should both have your codice fiscale on file. See our tax guide for comprehensive coverage of U.S.-Italy tax obligations.

Practical Tips

Get your codice fiscale before arriving in Italy if possible. Having it ready on day one allows you to immediately open a bank account, sign a lease, and begin other administrative processes. Memorize the 16-character code or keep it in your phone. You will use it constantly, often multiple times per day during your initial setup period. Keep a photocopy or photo of the physical card. The card itself is not required for most transactions, only the code. Apply for SPID as soon as you have a codice fiscale, Italian phone number, and identity document. Digital access dramatically simplifies dealings with Italian bureaucracy. If pursuing citizenship by descent with PortaleItaly, the codice fiscale is handled as part of the process.

Related Articles