April 10, 2026

Setting up electricity in Spain: the complete guide

Step-by-step guide to getting electricity connected in Spain, whether you're moving into a new home, transferring a contract, or setting up from scratch.

Whether you’re moving to Spain for the first time or switching apartments, setting up electricity involves a few bureaucratic steps. Here’s what you need to get the lights on.

Three scenarios

1. Taking over an existing contract (cambio de titular)

This is the most common case when you rent or buy a property that already has electricity. You transfer the existing contract to your name.

What you need:

  • Your NIE (Número de Identidad de Extranjero) or DNI
  • The CUPS code (from the previous tenant’s bill or the property deed)
  • Your bank account details (IBAN) for direct debit
  • The previous owner/tenant’s name (helpful but not always required)

Process: Contact any electricity provider and request a “cambio de titularidad.” It’s usually free and takes 3-5 business days. You don’t need the previous tenant’s cooperation.

2. Reactivating a disconnected supply (alta de suministro)

If the property had electricity before but the supply was disconnected, you need to reactivate it.

What you need:

  • Everything from scenario 1, plus:
  • A valid installation certificate (Boletín Eléctrico). If the installation hasn’t been inspected in the last 20 years, a licensed electrician will need to inspect and certify it.

Process: Contact a provider and submit your documents, and they’ll coordinate with the distribution company to reconnect. This typically takes 5 to 7 business days. You pay access rights (€19.70 per kW) and a connection fee (€9.04), plus IVA: about €93 for 3.45 kW if the supply was cancelled less than three years ago. After that, extension rights (€17.37 per kW) are added too, and it comes to about €166.

3. New connection (nuevo suministro)

This applies to new buildings and properties that have never had electricity.

What you need:

  • Everything from scenario 1, plus:
  • Building permit or first occupation license (licencia de primera ocupación)
  • Installation certificate from a certified electrician
  • Technical project (for installations above 10 kW)

Process: This is the most complex scenario. The distribution company needs to connect your property to the grid, which can take 2-4 weeks and costs €150-300+ depending on the required work.

Understanding your CUPS code

The CUPS (Código Universal de Punto de Suministro) is a 20-22 character code that uniquely identifies your electricity supply point. It starts with “ES” followed by numbers and letters.

Think of it as your electricity address. It belongs to the physical location, not to any provider or contract, and you’ll need it for almost everything electricity-related in Spain.

Where to find it:

  • On any previous electricity bill for that address
  • On the property deed (escritura)
  • Ask the previous tenant or owner
  • Your building administrator may have it
  • As a last resort, contact the local distribution company

Choosing your contracted power

When setting up or changing your contract, you’ll need to choose your contracted power (potencia contratada) in kilowatts (kW). This determines:

  • How many appliances you can run at the same time
  • Your fixed daily power charge (higher power = higher fixed cost)

Guidelines:

  • 3.45 kW suits a small apartment with basic needs and no electric heating or AC. You can run a washing machine and an oven, but not both at once.
  • 4.6 kW suits a standard apartment with AC. It’s the most common choice and covers most daily needs.
  • 5.75 kW suits a larger home with several AC units or electric heating, and gives families some headroom.
  • 6.9 kW+ is for a large house, a pool pump, an EV charger, or electric water heating. Choose it only if you need it.

Tip: Don’t contract more power than you need, but don’t go too low either. Lowering it costs about €11 with IVA. Raising it costs more: €19.70 per extra kW plus a €9.04 connection fee, plus IVA, and more again if you go above the highest power the home has had in the last three years. After any change, the distributor can refuse another one for 12 months. Cutting contracted power you don’t use is still one of the easiest ways to save money.

Choosing a tariff

You have two options:

Regulated hourly tariff. The price changes every hour with the market. It’s cheaper if you can shift usage to off-peak hours (midnight to 8 AM), and only reference marketers offer it.

Fixed-rate contract. You pay the same price per kWh at any time, so your bills are predictable. Any provider offers one.

If you’re new to Spain, start with the regulated tariff. It helps you understand your consumption patterns and is often cheaper. You can always switch later.

Required documents for expats

If you’re a foreign resident:

  • NIE. You need this. It’s the tax identification number for foreigners. Apply through the police (Policía Nacional) or a Spanish consulate.
  • Spanish bank account. Most providers require direct debit from a Spanish bank. Some accept foreign EU bank accounts.
  • Proof of address, such as the property contract (contrato de alquiler) or deed (escritura)
  • Passport, as additional identification

Timeline summary

ActionTypical durationCost
Contract transfer (cambio de titular)3-5 daysFree
Reactivation (alta)5-7 daysAbout €93 (3.45 kW)
New connection2-4 weeks€150-300+
Provider switchUp to 10 working daysFree
Power level changeUp to 72 hoursAbout €11 to lower it, more to raise it

One last tip

Don’t accept the first offer you get. Take 30 minutes to compare at least 3 providers using your CUPS code. The difference between the cheapest and most expensive option can be €200-400/year for the same electricity.

Paying too much? Scan the QR code on your bill and see which offer costs you least, in seconds.

Paying too much?

Scan the QR code on your bill and see which offer costs you least, in seconds.