Codice fiscale for students: what you need to study in Italy
Yes — if you are coming to Italy to study, the codice fiscale is one of the first documents to sort out: your university asks for it at enrolment, and you will need it for the residence permit, a rental contract, a bank account and scholarship applications. The good news is that it is free and, in most cases, quick. This guide explains where students need the code, how to get it before or after arriving, and how long it realistically takes.
CodiceChiaro editorial team · Published 23 October 2026 · Last updated 23 October 2026
Written and checked by our editorial team against the official sources listed at the bottom of this page.
Why do students need a codice fiscale?
Enrolment comes first: Italian universities register students by their codice fiscale, and the code follows you through tuition fees (tasse universitarie), exam records, library and online services. If you apply for a scholarship or student housing, the regional agency will ask for the code too — and for the ISEE universitario, the means-tested assessment that reduces fees and unlocks grants, the codes of your family members may be needed as well.
Outside the university gates you will meet the same request everywhere: the residence-permit paperwork for non-EU students, the registration of a rental contract, opening a bank or postal account to receive scholarship payments, signing up with the national health service, and any part-time job contract (including university collaboration grants, the so-called 150 ore). In practice, almost every form you fill in during your first month in Italy has a 'codice fiscale' field.
Can you get it before arriving in Italy?
Often, yes — and it is worth doing. Italian consulates accept codice fiscale applications from people who are not yet in Italy and forward them to the Agenzia delle Entrate. Many universities also collect form AA4/8 from incoming international students — exchange students included — and submit the requests in bulk before the semester starts, so the code is ready when you land. Check your admission letter and the university's international-students pages: if they offer this service, use it, because arriving with the code already assigned makes enrolment, housing and banking noticeably simpler.
If neither route is available, do not worry: applying in person after arrival is a routine procedure (next section), and universities are used to students who enrol with the code in progress. What you cannot do is invent or 'reserve' a code yourself: an online calculator can predict it, but the code becomes yours only when the Agenzia assigns it.
How do you apply after arriving in Italy?
The standard route is an office of the Agenzia delle Entrate: book an appointment on the Agenzia website, bring the completed form AA4/8 and your identity document, and the code is assigned on the spot. You receive a paper certificate of attribution (certificato di attribuzione) that the university, landlords and banks accept immediately as proof.
Non-EU students should bring their passport and, depending on their stage in the process, the entry visa or the residence-permit documentation (the permit itself, or the application receipt if it is still being processed — the receipt is accepted). EU/EEA and Swiss students only need a valid identity card or passport. The application is free of charge; anyone charging you is selling optional assistance, not the document.
Which documents do you need?
- Form AA4/8, completed and signed — personal details copied exactly as they appear on your identity document.
- A valid passport (for EU/EEA and Swiss citizens, a national identity card is also accepted).
- Non-EU students: the entry visa where required, or the residence permit / its application receipt.
- If someone applies on your behalf: a signed delegation plus a copy of your identity document.
The detail that causes the most trouble is name spelling. The code is generated mechanically from your surname, given names, date and place of birth: if the form spells your name differently from your passport — a dropped second name, a transliteration difference — the assigned code will follow the form, and mismatches surface later when systems cross-check your documents. Copy the names character by character, and check the certificate before leaving the counter.
How long does it take, honestly?
At a tax-office counter: minutes — the code is issued during the appointment. Before arrival, through a consulate or a university batch submission: from a few days to a few weeks, depending on the office and the time of year — September queues are real. There is no official single timeline, and any site promising one for every consulate is guessing. Once assigned, the code is permanent: it does not expire with your permit or your enrolment, and it stays the same if you return to Italy years later for work or further study.
Frequently asked questions
Do I need a codice fiscale to enrol at an Italian university?
Yes. Enrolment (immatricolazione) requires it, and it is used across university systems for fees, exams and services. If you do not have one yet, your university's international office will tell you whether they submit the AA4/8 for you or you must visit the Agenzia delle Entrate yourself.
Can I apply for the codice fiscale before I arrive in Italy?
In many cases yes: at the Italian consulate in your country of residence, or through your university if it collects applications from incoming international students. Arriving with the code assigned speeds up enrolment, housing and banking.
Is the codice fiscale the same as a residence permit?
No. The codice fiscale is only a tax identification number. Non-EU students still need a study visa before arrival and a residence permit (permesso di soggiorno) after arrival; EU students rely on free-movement rights. One does not replace the other.
Does my codice fiscale expire when my permit or course ends?
No. The assigned code is permanent and never expires. It remains yours if you change university, start working in Italy, or come back years later.
I calculated my code online — can I use it for enrolment?
Use it as a preview only. Enrolment and official forms require the code assigned by the Agenzia delle Entrate, which in a minority of cases (homocody, provisional records) differs from the calculated one. Once you receive the official certificate, use that code everywhere.
Useful tools
- Codice fiscale calculator (English) — Preview the code your details generate, with the country-of-birth (Z) codes for births outside Italy.
- Codice fiscale checker — Formally validate a code you have already been assigned.
- Foreign country codes — The complete list of Z codes for people born outside Italy.
Note: this guide is for information only. The legally valid codice fiscale is issued exclusively by the Agenzia delle Entrate; for your specific case, the competent office's instructions prevail.
Official sources
Related guides
- Codice fiscale for foreigners: how to get your Italian tax code — How foreign citizens get an Italian codice fiscale: who needs it, documents, the AA4/8 form, applying at a tax office or consulate, timelines and costs.
- Iscrizione all'università: il codice fiscale serve? — Per immatricolarsi all'università serve il codice fiscale: per gli studenti stranieri è spesso il primo documento da ottenere, anche dall'estero.
- Codice fiscale per stranieri: come ottenerlo — Come ottengono il codice fiscale i cittadini stranieri in Italia: documenti, modello AA4/8, uffici e consolati, differenze tra cittadini UE ed extra-UE.
CodiceChiaro — CodiceChiaro editorial team