Thursday, November 5, 2026Thu, Nov 5 Updated

Barcelona, Spain and the world. News in English.

How to Set Up Electricity, Gas and Water in a Barcelona Flat

Who runs the networks, who sends the bills, and what to ask your landlord for before you move in so the lights, gas and water are in your name.

Close-up view of a row of industrial electricity meters for power monitoring and technology.
Photo: Connor Scott McManus / Pexels

To get electricity, gas and water in a Barcelona flat, you either take over the existing contract (cambio de titular, change of account holder) or request a new supply (alta). You need your NIE or passport, a Spanish IBAN, the rental or purchase contract and the meter’s CUPS code. A transfer is mostly paperwork; a new electricity connection usually takes about 5 to 7 working days, according to Endesa.

Who supplies electricity, gas and water in Barcelona?

Spain separates the company that owns the cables or pipes from the company that sends you the bill. You choose the second one; the first one is fixed by where you live.

Service Network in Barcelona (fixed) Who bills you
Electricity e-distribución (Endesa group) Any retailer (comercializadora) you pick: free-market tariffs or the regulated PVPC tariff from a reference retailer
Natural gas Nedgia (Naturgy group) Any gas retailer you pick, or the regulated TUR tariff from a reference retailer
Water Aigües de Barcelona Aigües de Barcelona; there is no choice of water supplier

The distributor handles meters, connections and breakdowns, so call it for a power cut. The retailer handles your contract, tariff and bills. To compare retailers’ offers, use the national energy regulator’s CNMC price comparator, which lists electricity and gas offers by postcode.

What is the CUPS code and where do you find it?

The CUPS (Código Universal del Punto de Suministro) identifies the supply point, not the person. Every electricity and gas connection has one, it starts with ES followed by a long string of digits and letters, and it stays the same when the flat changes hands or retailer. Any retailer can sign you up with the CUPS alone.

You find it on any previous bill for the flat. Ask the landlord or the agency for a recent bill for each service before you move in. It also tells you who the current retailer is, the contracted power (potencia) and whether the supply is active.

Should you change the holder or request a new supply?

  • Supply active, contract in someone else’s name: request a change of holder with the current retailer, or sign a new contract with any retailer using the CUPS. The power stays on throughout.
  • Supply cut off or never connected: request a new supply (alta). The distributor may need to send a technician, and regulated connection charges can apply. Endesa says these costs are set by Royal Decree 1955/2000 for electricity and Royal Decree 1434/2002 for gas.
  • Rental with bills included: the landlord keeps the contracts. Make sure the lease says how the bills are shared.

Many tenants never change the holder and pay the landlord instead. That is legal if agreed, but the landlord then controls the contract and the tariff. If you want to choose the retailer, ask to put the contracts in your name.

Which documents do you need?

Have these ready before you call a retailer or fill in its online form:

  • NIE or passport of the new holder.
  • Spanish IBAN for direct debit. Our guide to opening a bank account as a foreigner explains what banks ask for.
  • Rental or purchase contract for the address.
  • CUPS code, or at least the exact address and a previous bill.
  • Contracted power you want, in kW, for electricity.
  • For a new supply in Catalonia, the cèdula d’habitabilitat (habitability certificate). Catalan housing rules make it a requirement for contracting water, electricity and gas in a dwelling, and suppliers ask for it. The owner, not the tenant, is the one who obtains it.

For water, the contract is with Aigües de Barcelona in all cases. Its customer service handles changes of holder and new supplies; if someone signs on behalf of the new holder, expect to need a signed authorization.

What is the boletín and when do you need one?

The boletín is the common name for the electrical installation certificate (Certificat d’Instal·lació Elèctrica, CIE) issued by an authorized electrician. It shows the flat’s wiring meets the low-voltage rules. The distributor can ask for a new one when a supply is connected for the first time, when the installation has been modified or when a flat has been disconnected for a long time. If the retailer tells you a CIE is needed, only an authorized installer can issue it, and the cost is a private quote.

Gas has its own safety checks. Nedgia carries out periodic inspections of indoor gas installations, and a supply that has been off may need an inspection before it is reopened.

How long does it take?

  1. Change of holder: usually just paperwork with no visit; the retailer confirms by email.
  2. New electricity supply with an existing meter: about 5 to 7 working days as a normal timeframe, according to Endesa, longer if work is needed.
  3. Gas reconnection: depends on whether an inspection is required; ask the retailer when you sign.
  4. Water: Aigües de Barcelona confirms the timing when you make the request.

Read the meters on the day you get the keys and take dated photos. That settles the split of the last bill with the previous occupant or the landlord, and it matters when you leave too, together with the rental deposit return.

Bottom line

Ask for one recent bill per service before signing the lease: it gives you the CUPS, the retailer, the power and tells you whether a costly new connection is coming. Then compare tariffs on the CNMC tool before you pick a retailer, rather than keeping whoever the last tenant chose.

FAQ

Can I set up utilities without an NIE?

Retailers generally accept a passport, but they need a Spanish bank account for direct debit. Check the retailer’s sign-up form, since requirements vary by company.

Who pays for the connection if the flat was cut off?

The contract holder who requests the new supply pays the regulated connection charges. In a rental, agree with the landlord in writing before you request it.

Do I have to stay with the previous tenant’s retailer?

No. With the CUPS you can sign with any retailer, and switching does not require a technician visit.

Who do I call during a power cut?

The distributor, which in Barcelona is e-distribución for electricity. Its emergency number is printed on your bill.