← Barcelona Español
Barcelona

Studying in Barcelona for a few months: which contract to sign, which papers to bring and which travel pass to get

Photo: Léna · CC BY 3.0 · Wikimedia Commons

A student renting a flat or a room for a few months in Barcelona signs, since 8 October 2026, a temporary housing lease: the reason, such as studying, must be stated in the contract, and it lasts more than thirty-one days and, as a general rule, up to twelve months. University halls have their own rules.

An Erasmus, a master's or a course of a few months in Barcelona all start with the same three questions: where to sleep and on what contract, what paperwork you need depending on where you come from, and how to get around without counting journeys. Since October 2026 the first has a new answer, because Spanish law has created a contract of its own for people living away from home for a specific reason, such as studying.

To live in Barcelona for a while: Stylish Loft 4 Expats @ Barcelona · Loft 1 →

Halls, a flat or a shared home

There are three usual ways to find a place. The first is a university hall or colegio mayor. The Urban Leases Act excludes from its scope university housing that the university itself designates as such and allocates to its enrolled students: there, the house rules are set by the university. The Universitat de Barcelona, for example, has its own and affiliated colegios mayores and two halls of its own run by an outside company; the Universitat Pompeu Fabra has two halls and agreements with others.

The second, a rented flat or room, is what has changed most this autumn. The third, less well known, is living with an older person through the Viure i Conviure programme, covered further down.

The temporary housing contract, from 8 October 2026

Royal Decree-law 29/2026 of 6 October amended the Urban Leases Act with effect from 8 October, and Congress ratified it by an agreement published through a resolution of 12 November 2026. The law now calls a temporary housing lease one that meets the housing needs of someone temporarily away from their usual home for a justified reason that can be proven, and it applies this to renting a single room as well.

For a student that means four things. The contract must state the reason expressly, it must be real and provable, and the burden of proving it lies with the landlord; if it is missing, the contract becomes an ordinary residential lease from day one. The term must be more than thirty-one days and, as a general rule, no longer than twelve months; if more than two contracts are chained between the same parties for the same home, the first counts as an ordinary residential lease. You can leave once at least a month has passed, giving ten days' notice and paying no compensation. And if something breaks, the landlord has five working days to respond; if they do not, you can have it repaired and deduct the cost from the next month's rent, with proof.

Contracts signed before 8 October keep their old rules until they end, with no extension. On top of national law, Catalonia has its own rules for these contracts; we explain them in seasonal renting in Barcelona.

Paperwork, depending on where you come from

If you are from the European Union or the European Economic Area and will stay more than three months, Royal Decree 240/2007 gives you the right of residence if you are enrolled at a recognised institution, have sickness insurance covering all risks in Spain and declare that you have sufficient resources. With that you apply for the registration certificate, the green document we explain in booking an NIE appointment.

If you come from outside the EU, for more than ninety days you need a long-stay study visa. The 2024 immigration regulation requires, among other things, that you have been admitted by the institution and have paid your enrolment. If the stay is longer than six months, you must apply for the foreigner's identity card in person, at the police station, within a month of entering Spain. Students in higher education may work without a separate permit, provided it is compatible with their studies and, as a general rule, for up to thirty hours a week.

Once you have an address, it is worth registering on the padrón even if you rent a room, as we explain in registering without a contract, and with that registration applying for the health card if you are entitled to it.

The T-jove: ninety days without counting journeys

If you are under 30, the pass you want is the T-jove. According to ATM, it is personal, gives unlimited journeys for 90 consecutive days and covers all seven fare zones, including the airport metro on the L9 Sud. It is loaded onto a plastic T-mobilitat card or an NFC phone, and you must carry a valid identity document.

Ninety days is a term, so a semester needs a second top-up. The price and how it compares with the T-usual are in the T-usual guide.

Where to start looking

Start with your university's housing service. The Universitat Pompeu Fabra explains that since 1997 the universities of the province, Barcelona City Council and the Generalitat have worked with Barcelona Centre Universitari, which helps international students find halls, flats and rooms.

Viure i Conviure is another route. In this programme a person over 65, preferably living alone, takes a university student into their home in exchange for company and whatever help they agree on. According to UPF, you must be under 35, be coming to study in Barcelona or nearby and have two hours a day to spend together, and the arrangement lasts at least one academic year.

Everyday life in the city, with its timetable and its August, is in the guide to living in Barcelona for a few months.

Checked

Checked on 4 December 2026 against: the consolidated Urban Leases Act in the BOE (articles 2, 5, 7, 9 bis, 11 and 21 bis and eighth transitional provision); Royal Decree-law 29/2026 in the BOE and its ratification; Royal Decree 240/2007 (article 7); the immigration regulation, Royal Decree 1155/2024 (articles 34, 53 and 57); ATM's T-jove page; the Universitat de Barcelona housing page and UPF's university housing page. Rules change: before signing, check the version in force in the BOE.

Quick questions

Can I leave before the temporary housing lease ends?

Yes. Once at least a month has passed since signing, giving ten days' notice and paying no compensation, under the Urban Leases Act.

What paperwork does a student from outside the European Union need?

For more than ninety days, a long-stay study visa. If the stay is longer than six months, the foreigner's identity card, applied for at the police station within a month of entering Spain.

Which travel pass suits a student?

If you are under 30, the T-jove: unlimited journeys for 90 consecutive days across all seven fare zones, according to ATM.

← Back to Barcelona

Have a question?

Write to us and we'll reply ourselves, no middlemen. Also on WhatsApp if you prefer.

We only use your details to reply to you. No marketing. Privacy.