Key takeaways
  • The codice fiscale is your tax identification number: anyone who buys, rents, works, opens an account or signs a contract in Italy needs one. A tourist does not.
  • Residency registration (iscrizione anagrafica) is something else: it records that you live in Italy, and it is needed for an ID card, the national health service and many permits.
  • EU citizens get a codice fiscale in minutes; non-EU citizens need a route: the consulate, the immigration office, the police, or a professional.
  • Registration has tax consequences: being registered for most of the year creates a presumption of Italian tax residence and worldwide taxation.
  • Getting a codice fiscale has no tax effect on its own.

Ask anyone who has moved to Italy what came first, and the answer is almost always the same: the codice fiscale. Then, a few weeks later, the residency registration at the town hall. The two are often confused, and the confusion is not harmless. One is an identification number with no legal consequences of its own. The other is the step that, more than any other, decides whether Italy will tax your worldwide income.

Get the codice fiscale as early as possible. Think carefully about when to register as a resident. This guide explains who needs each, how to obtain them as an EU or non-EU citizen, and how they connect to tax residence.

What the Codice Fiscale Is, and Who Needs It

The codice fiscale is a 16-character code derived from your name, date and place of birth. It identifies you in every dealing with the Italian state and with most Italian businesses. It does not make you resident, it does not create any tax obligation, and it never expires.

A tourist spending two weeks in Tuscany does not need one. Anyone who does something legally or economically relevant in Italy does: buying a property, signing a lease, connecting electricity, gas or the internet, buying a car, opening a bank account, starting a job or a business, registering with the health service, enrolling children at school. In practice, anyone who plans to live in Italy needs a codice fiscale before almost anything else, including before they can register as a resident.

SituationCodice fiscaleResidency registration
Tourist or short visitNoNo
Buying a holiday homeYes, before the deedNo
Renting a home long termYes, for the lease and utilitiesOnly if you move to Italy
Opening an Italian bank accountYesNot always: non-resident accounts exist
Moving to Italy to liveYesYes, within the deadlines
Working or starting a businessYesUsually yes
Registering with the national health serviceYesYes

The codice fiscale and residency registration: who needs what.

How to Get It: EU and Non-EU Citizens

For EU citizens it is simple. You go to any office of the Revenue Agency with your passport or ID card, fill in a short form, and leave with the code, usually the same day.

For non-EU citizens it is more complicated in practice, even though the law is the same. The Revenue Agency itself indicates several routes. If you are entering Italy for employment or family reunification, the code is assigned by the immigration office (Sportello Unico per l’Immigrazione) as part of the procedure, or by the police headquarters (Questura) with the residence permit. If you live abroad, you can apply to the Italian consulate in your country. If you are buying a property or need the code for a transaction, a professional, often working with the notary handling the purchase, can apply on your behalf with a power of attorney. A non-EU citizen who walks into a Revenue Agency office without a visa or a clear reason is often asked for one.

RouteTypically used byPractical note
Revenue Agency office in ItalyEU citizens; non-EU citizens with a visa or permitSame day for EU citizens; non-EU applicants should bring evidence of the reason
Italian consulate abroadNon-EU citizens before arrivingTimes depend on the consulate
Immigration office or QuesturaNon-EU workers and family membersAssigned during the visa or permit procedure
A professional with a power of attorneyBuyers and investors abroadThe fastest route when a purchase or contract is pending

How to obtain a codice fiscale in Italy.

One person, one code

Check that your codice fiscale is correct

Codes issued with a misspelt name or wrong place of birth cause problems later, especially at the bank and the notary. Once you register with the health service, your health card also serves as your codice fiscale card.

Residency Registration: What It Is

Residency registration means entering your name in the register of the resident population, the anagrafe, of the municipality where you live. Everyone who lives in Italy habitually is required to register. Registration gives access to an Italian ID card, registration with the national health service, many local services and, for non-EU citizens, it is a condition for renewing many residence permits.

You apply at the town hall of the municipality where you live, declaring an address. The local police later visit to check that you actually live there; if no objection is raised within 45 days, the registration is confirmed.

What you usually need to register

  • A valid passport or EU identity card and your codice fiscale
  • Proof of your address: a lease registered with the Revenue Agency, a deed of purchase, or a declaration from the owner
  • EU citizens staying more than three months: proof of work, or of sufficient resources and health insurance
  • Non-EU citizens: a residence permit, or the receipt of the application for one
  • For family members: marriage and birth certificates, legalised or apostilled and translated

For non-EU citizens, registration follows the visa and the permit. Those arriving on an elective residence visa, for example, register once they have applied for the permit and have a home. Without the right visa there is no permit, and without a permit there is no registration.

Where It Becomes a Tax Question

This is the point most newcomers miss. Since 2024, Italian tax law treats you as resident if, for most of the tax year (183 days, or 184 in a leap year, counting part days), you meet any one of four tests: you have your residence in Italy under civil law, your domicile (the main centre of your personal and family relationships), you are physically present in Italy, or you are registered in the anagrafe. Registration now creates a presumption of tax residence that can be rebutted with evidence, but it remains a strong presumption.

Tax residence means worldwide taxation: your salary, pension, dividends, interest and rents from anywhere are taxed in Italy at Italy’s progressive income tax rates, with credits for foreign tax, and your foreign financial assets and property become subject to wealth taxes on foreign assets and annual reporting. The opposite is also true: not registering does not protect you. A person who lives in Italy for most of the year, or whose family lives here, is resident for tax purposes regardless of the register. Our guide to the 183-day rule explains the tests in detail.

Three Cases

An American buying a holiday home in Puglia. She needs a codice fiscale before buying a property, which a professional can obtain for her before the deed. She does not register as a resident, she spends three months a year in Italy, and she remains non-resident. Italy taxes only the property: the municipal property tax and, if she rents it out, the rent.

A German couple moving to Lucca. As EU citizens they obtain their codes on the first day and register as residents within weeks, showing their pensions and health insurance. From that year they are Italian tax residents if the 183-day test is met, taxed on their worldwide income, with the Italy–Germany tax treaty deciding which country taxes their pensions. Before registering, it pays to plan the tax position, including whether the 7% regime or another special regime is available.

A remote worker who never registers. He rents a flat in Bologna, works from it for most of the year and keeps his registration abroad. He is still an Italian tax resident, on the presence test alone. In an audit, his lease, utility bills and bank records will establish it. Registering and claiming the regime available to new residents would have cost him far less than the penalties.

Practical Sequence

For most people moving to Italy, the right order is: obtain the codice fiscale, ideally before arriving; secure the right visa if you are not an EU citizen; find a home and register the lease or the purchase; open a bank account; register as a resident; register with the national health service, either through work or, for those not working in Italy, through voluntary registration with an annual fee. Decide the tax strategy before registering, not after: elections for special regimes are tied to the year in which residence begins.

Our View

The codice fiscale is a formality, and should be treated as one: get it early and check it. Residency registration is not a formality. It is the public, dated record that you have moved your life to Italy, and the tax authorities treat it that way. Plan the date of registration with the same care as the date of the move.

Frequently Asked Questions

Do tourists need a codice fiscale?

No. A codice fiscale is needed only for acts with legal or economic relevance, such as buying or renting property, opening a bank account, working or signing contracts.

Can I get a codice fiscale from abroad?

Yes. Non-residents can apply to the Italian consulate in their country, or appoint a professional in Italy to apply on their behalf with a power of attorney.

Does having a codice fiscale make me tax resident in Italy?

No. The codice fiscale is only an identification number. Tax residence depends on registration, domicile, residence or presence in Italy for most of the year.

Is residency registration the same as tax residence?

No, but they are closely linked. Being registered for most of the year creates a presumption of tax residence, which can be rebutted with evidence. You can also be tax resident without registering.

What do EU citizens need to register as residents?

A valid ID, the codice fiscale, an address and, for stays over three months, proof of work or of sufficient resources and health insurance.

Can non-EU citizens register without a residence permit?

Generally no. Registration requires a residence permit or the receipt of the application for one.

How long does residency registration take?

The application is processed immediately; the local police check the address, and the registration becomes final if no objection is raised within 45 days.

Avv. Marco Mesina, Founder of Move to Dolce Vita

Avv. Marco Mesina

Founder, Move to Dolce Vita · Avvocato, Milan Bar (Ordine degli Avvocati di Milano)

Marco is an Italian tax lawyer who advises individuals and families relocating to Italy on tax regimes, residency, citizenship, real estate and succession planning. Before founding Move to Dolce Vita he worked at Watson Farley & Williams, Withers and Deloitte in Milan.

  • Milan Bar
  • Citywealth Top 50 Italian Advisors 2025 & 2026
  • Profiled by Forbes (2024)
  • English · Italian · Spanish

Moving to Italy and want the paperwork right from day one?

We can help you with:

  • Codice fiscale from abroad
  • Visa and residence permit
  • Residency registration and health service
  • Tax residence and the right regime

Prefer to write first?Tell us about your situation and we will get back to you with a proposal.

Send a message

Rather talk it through?A free, no-obligation 30-minute introductory call.

Book a free intro call

Related Services and Blogs