How to install solar panels at home step by step (2026 Guide)

Solar Panel Installation on the Roof of a Single-Family Home

By the Genergy technical team · Spanish manufacturer of generators and photovoltaic backup systems (15+ years) · updated July 2026 · 14 min read.

In short: installing solar panels at home means sizing the system to your consumption, mounting it safely, connecting it to the electrical panel and legalizing it. The work on a home usually takes 1–3 days, plus several weeks of paperwork. You can prepare the preliminary study yourself (consumption, roof, shading, quotes), but the electrical connection and legalization must be carried out by an authorized installer. And one point that almost nobody explains: if you want to cover long power outages, solar panels with a battery are not enough on their own; it is worth combining them with a photovoltaic backup system.
Table of contents
  1. What you need to install solar panels at home
  2. Before installing: check whether your home is suitable
  3. How to install solar panels step by step
  4. How long it takes to install solar panels
  5. Components of a home solar installation
  6. Solar panel installation by type of home
  7. Permits and procedures to install solar panels in Spain
  8. How much it costs to install solar panels at home
  9. Self-consumption, surplus energy and virtual battery
  10. Solar panel maintenance
  11. Can you install solar panels yourself?
  12. Common mistakes to avoid
  13. Which system and equipment to choose for your home
  14. Conclusion
  15. Frequently asked questions

Installing solar panels at home is one of the best ways to reduce your electricity bill and gain energy independence. But it is not just a matter of putting panels on the roof: you need to study the home's consumption, review the available space and the roof, choose the right system and legalize the installation so that it works and you can access surplus compensation and subsidies.

In this guide you will see how to install solar panels step by step, which permits you need in Spain, roughly how much it costs, what maintenance they require and which system to choose for your home.

What you need to install solar panels at home

Before getting into the step-by-step process, this is what you need to install solar panels in a home and set up a self-consumption home photovoltaic installation:

  • A suitable home: a roof in good condition, a usable orientation and enough space (about 5–7 m² per kWp).
  • The equipment: panels, mounting structure, inverter, protections, wiring and, optionally, a battery and monitoring.
  • An authorized installer for the electrical connection and the Electrical Installation Certificate (CIE).
  • Legalization: works permit or notification, registration with the regional Industry department and, if you feed energy into the grid, a surplus compensation contract.

In the following sections you will see each point in detail.

Before installing: check whether your home is suitable

Not all homes produce or save the same. Before buying anything, review these four points, because they determine the design, the price and the return on investment.

1. Your actual electricity consumption

Look at your bill and note down the kWh/year and the time slots in which you use the most. If you consume mainly during the day, you will make use of direct solar power; if you use more at night, a battery or surplus compensation will make sense. An average home in Spain consumes about 3,500–5,000 kWh/year, which can usually be covered with an installation of 2.5–5 kWp (approximate).

2. Condition and type of roof

Check the condition of the roof before installing: if it needs repair, do it first (removing panels afterwards is expensive). Important: if the roof is made of asbestos cement (uralite), panels cannot be fixed to it and its removal requires an authorized company. The sale of asbestos has been banned in Spain since 2002.

3. Orientation, tilt and shading

The ideal orientation is south; east and west are valid depending on your consumption pattern (east if you use more in the morning, west in the afternoon); north is ruled out. The optimal tilt on the mainland is around 30–35°. Check for shade from chimneys, trees, antennas and buildings at different times of day: even a small shadow can bring down the output of an entire string of panels.

4. Available space

Each kWp takes up approximately 5–7 m² of modules. With that you can estimate how many panels will fit on your roof, flat roof or terrace.

How to install solar panels step by step

A home installation is a complete system: panels, mounting structure, wiring, inverter, protections, electrical panel and legalization. These are the main steps:

Step 1: design and sizing

Define the number of panels, the power (kWp), the inverter, whether there will be a battery, whether it will be grid-connected or off-grid, the protections and any planned expansion (aerothermal heating, electric car). If you expect to grow, consider a scalable system.

Step 2: choosing the equipment

The panels generate direct current and the inverter converts it into alternating current for the home. Here you choose panels, inverter (string or microinverters) and, optionally, a battery if you want to store energy for the night.

Step 3: mounting the structure and placing the panels

When mounting the solar panels, the structure must be fixed with specific anchors on a pitched roof, or with ballasted or tilted structures on a flat roof or terrace. Placing the panels correctly is a critical part because they will be exposed to wind, rain and temperature changes. This work should be done by qualified personnel, although the user can prepare the site and take measurements.

Step 4: connection to the inverter and the electrical panel

Panels → inverter → electrical panel, with the regulatory DC and AC protections. This phase is carried out or supervised by an authorized installer.

Step 5: legalization and commissioning

It includes the technical report or project, the Electrical Installation Certificate (CIE), registration with the Industry department of your autonomous community and, if you feed surplus energy into the grid, a compensation contract with your energy retailer.

How long it takes to install solar panels

The physical installation of a home system is quick: the work usually takes 1–3 days depending on the size and difficulty of the roof. What lengthens the timeline is not the installation itself, but the paperwork and legalization, which can add several weeks depending on the autonomous community. Preparing the documentation properly from the start is what makes the process truly smooth.

Components of a home solar installation

ComponentFunction
Solar panelsGenerate electricity from sunlight
Support structureSecures the panels to the roof, flat roof or terrace
InverterConverts direct current into alternating current
Protections (DC/AC)Electrical safety against overvoltages and faults
Wiring and connectorsConnects all the elements of the system
Battery (optional)Stores energy for use when there is no sun
MonitoringShows production and consumption in real time

For off-grid homes or those with little dependence on the grid, an off-grid solar inverter may be needed.

Solar panel installation by type of home

A house with its own roof is not the same as an apartment or an isolated home. These are the particularities for each type:

Detached house or villa

This is the simplest case: you usually have your own roof and plenty of space. The installation of solar panels in a detached house or villa lets you size the system to your consumption and expand in the future. An all-inclusive photovoltaic system fits well here.

Apartment or penthouse (terrace)

To put solar panels on an apartment or penthouse, you make use of the private terrace or the roof. Even if the terrace is for private use, it may affect common elements of the building, so check the community bylaws and municipal regulations before installing anything. The usable space is usually smaller, so the installed power will be tighter.

Country house or isolated home

In a country house without easy access to the grid, the installation is usually off-grid with batteries, and it is advisable to reinforce it with backup for days without sun. For occasional loads or transportable solutions, a portable solar generator can also be a good fit. See the photovoltaic backup section below.

Permits and procedures to install solar panels in Spain

This is where most people fail, and what many users are looking for. It depends on the municipality and the autonomous community, but the general framework is as follows:

ProcedureWhat it involves
Works permit or notificationDepending on the city council, a minor works permit or a responsible declaration. More demanding on protected land or in historic centers.
Electrical Installation Certificate (CIE)Issued by the authorized installer. Essential for legalization.
Registration with IndustriaTechnical report or project in your autonomous community, depending on power.
Surplus compensation contractWith your energy retailer if you feed energy into the grid (RD 244/2019).

The names and the framework (CIE, RD 244/2019, the 2002 asbestos ban) are stable; the specific details vary by autonomous community and should be confirmed before signing a contract.

How to register your electricity supply and legalize a solar panel installation

Once the installation is mounted, to register and legalize it the installer processes the Electrical Installation Certificate (CIE) and the registration with Industria; afterwards you sign the surplus compensation contract with your energy retailer so that the energy you feed into the grid is deducted from your bill. If you also change retailer or account holder, that is the time to register or update the supply with self-consumption already declared. Without this legalization you cannot access surplus compensation or subsidies.

How much it costs to install solar panels at home

The cost is best understood by installed power (€/kWp) and by the total cost of the installation, not just the price of the panel. The factors that affect it most are: number of panels and power, type of inverter, whether it includes a battery, roof difficulty, distance to the electrical panel, legalization, labor and component quality.

That is why, when comparing quotes, check what each one includes (equipment, mounting structure, protections, legalization and warranty) and don't focus only on the final price. If you want a turnkey solution without coordinating each part, consider all-inclusive photovoltaic systems.

Technician's tip

Don't size the installation based only on the price of the panel. An installation well matched to your consumption, with a good mounting structure and protections, pays for itself better than a cheap, poorly planned one that has to be redone or that you cannot legalize. Always ask for a detailed quote itemized by line item.

Subsidies, rebates and taxation

In addition to savings on your bill, there may be incentives (they vary by area and call): IBI rebate and ICIO rebate in many city councils, IRPF deductions for energy efficiency works and, where applicable, regional subsidies. Confirm validity and percentages in your municipality and autonomous community.

Self-consumption, surplus energy and virtual battery

With a grid-connected installation you consume your solar energy when you produce it and draw from the grid when you don't. The energy you don't use can be compensated on your bill (simplified surplus compensation). As an alternative or complement to a physical battery, some retailers offer the "virtual battery": a monetary balance for your surplus that you deduct from later bills. For real independence at night, the physical battery is still the option; for long outages, see the backup section.

Solar panel maintenance

Maintenance is low, but not zero:

  • Cleaning: 1–2 times a year (more in dusty areas, areas with pollen or near the sea). See how to clean solar panels.
  • Checking connections and protections: annually, preferably by the installer.
  • Monitoring: check the app or portal to detect drops in production in time.

Can you install solar panels yourself?

For small kits (a shed, basic loads or a solar panel on a camper van) yes, with the right knowledge. For a home installation connected to the electrical panel, it is not recommended: it involves working at height, handling direct current and complying with regulations, and without the CIE or legalization you lose surplus compensation, subsidies and part of the warranties. What you can prepare yourself: review your bills, calculate consumption, photograph the roof, check shading, measure the space and ask for several quotes.

Common mistakes to avoid

  • Sizing the power incorrectly (falling short or oversizing).
  • Not studying shading at different times and seasons.
  • Skimping on the mounting structure or protections: they are safety, not accessories.
  • Not legalizing: problems with the distribution company, surplus energy, subsidies and the future sale of the home.

Which system and equipment to choose for your home

Different solutions fit different cases: individual panels to expand an installation, kits with a battery, or photovoltaic backup if you are worried about blackouts. Filter by type:

👉 See the full range: All-inclusive photovoltaic systems · Scalable systems · Photovoltaic backup · Questions? Talk to a technician.

Not sure which installation you need?

We help you calculate the power and the system your home needs —panels, inverter, battery and, if necessary, backup for blackouts—, with no obligation.

Talk to a Genergy technician

Conclusion

Installing solar panels at home is worthwhile if done sensibly: study your consumption and your roof, size the system properly, mount it safely, legalize it and take advantage of subsidies and surplus compensation. Prepare the data yourself, but leave the electrical work and legalization to an authorized installer. And if you want continuity during long outages, combine your installation with a photovoltaic backup.

Related categories

Related topics

Frequently asked questions

What do you need to install solar panels at home?

You need a suitable home (a roof in good condition, a usable orientation and enough space), the equipment (panels, mounting structure, inverter, protections and wiring), an authorized installer for the connection and the CIE, and legalization with the works permit, registration with the Industry department and the surplus compensation contract.

What permits do I need to install solar panels?

Depending on your municipality, you need a minor works permit or a responsible declaration, plus the Electrical Installation Certificate (CIE) issued by the installer and registration with the Industry department of your autonomous community. If you feed energy into the grid, you also need the surplus compensation contract with your energy retailer.

Can I install solar panels myself?

For small kits, yes, with the right knowledge; for a home installation connected to the electrical panel, it is not recommended. The electrical connection must be made or certified by an authorized installer and the installation must be legalized. Without the CIE or legalization, you lose surplus compensation, subsidies and part of the warranties.

How long does it take to install solar panels?

The physical installation is quick: the work on a home usually takes between one and three days, depending on the size and difficulty of the roof. What lengthens the process is the paperwork and legalization, which can add several weeks depending on the autonomous community.

How do I register the electricity supply if the home has solar panels?

Once the installation is legalized, the installer processes the CIE and the registration with the Industry department; afterwards you sign the surplus compensation contract with your energy retailer. If you change account holder or retailer, that is the time to register or update the supply with self-consumption already declared.

How do I install solar panels in an apartment or penthouse?

In an apartment or penthouse, you make use of the private terrace or the roof. Even if the terrace is for private use, it may affect common elements of the building, so check the community bylaws and municipal regulations before installing anything. The usable space is usually smaller.

How many solar panels do I need for a home?

It depends on your consumption. An average home in Spain (3,500 to 5,000 kWh per year) can usually be covered with an installation of between 2.5 and 5 kWp, and each kWp takes up about 5 to 7 m² of modules. Always match the power to your actual consumption and your future needs.

Can I install solar panels if my roof has asbestos or fiber cement?

Not directly on the asbestos. It must first be removed by an authorized company, because panels cannot be fixed onto asbestos fiber cement and handling it is dangerous. The sale of asbestos has been banned in Spain since 2002, so on older roofs it is advisable to check before installing.

How are solar panels mounted?

The panels are mounted on a structure fixed to the roof with specific anchors, or with ballasted or tilted supports on flat roofs and terraces. They are then connected to the inverter and the electrical panel with their protections. It is work at height and electrical work that should be left to qualified professionals.

Does the battery protect me during long blackouts?

A battery covers hours, not days. During prolonged outages or stretches without sun it can run out, unless it is greatly oversized. To ensure continuity, a photovoltaic backup system with automatic start keeps the home powered and recharges the batteries without you having to do anything.

Testimonios

Publicado en Google Google
Koldo Lopez profile picture
Koldo Lopez
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
buen trato y asesoramiento para la compra y rápido , espero recibir el equipo y disfrutar de su uso.
Publicado en Google Google
Javier Ramirez Guerrero profile picture
Javier Ramirez Guerrero
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
recientemente he adquirido un generador limited 7000, he contactado con la empresa por correo para resolver algunas dudas y la respuesta a sido inmediata, a parte, me van a reponer el adaptador de la toma industria en un par de dias GRAN SERVICIO POSVENTA, por una vez lo que se dice es cierto, a si da gusto. Referente al generador se ve de buenos acabados y calidad, arranca a la primera y el ruido es mas que normal para un generador eléctrico de gasolina, buena maquina. de momento le doy a genergy las 5 estrellas
Publicado en Google Google
miguelitoab profile picture
miguelitoab
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Excelente assistência pós venda....o pessoal sempre prestável , pronto a ajudar e a resolver o problema. Excelente 5⭐
Publicado en Google Google
Miguel profile picture
Miguel
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Compre el generador 3000 diésel, lo probaron en fabrica antes de enviármelo, me lo dejaron con aceite y listo para su uso, aun no teniendo por que hacerlo, ya que en las grandes plataformas, ni se molestan en abrirte la caja para que lo veas, una vez probado, su funcionamiento es muy bueno y no tengo ninguna queja. La atencion al cliente es muy buena, llame varias veces para informarme y dicho sea de paso, para que no fuera una estafa de esas que tanto hay ahora en las ventas por internet y puedo asegurar que es una empresa de confianza, con la que hare futuras compras, muchas gracias por todo.
Publicado en Google Google
CELE CF profile picture
CELE CF
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Sin duda una empresa de confianza. Tuve un pequeño problema en un generador y me lo resolvieron en 24 horas. Respondieron al correo con una rapidez increíble y aportando una solución rápida, eficaz y digna de equipos maduros y consolidados. Trato directo, transparente, sin dobleces y sin respuestas automáticas que no llevan a ningún sitio. Por cierto el generador es un Genergy 5000 y va de escándalo, bien diseñado, compacto y fiable que uso casi exclusivamente para dar servicio a una bomba de sondeo de 1,5 HP Sin duda un acierto y que recomiendo.
Publicado en Google Google
Juan Nadie profile picture
Juan Nadie
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Producto confiable, y una atención excelente.
Publicado en Google Google
Tino Gonzalez Lacoste (Tino) profile picture
Tino Gonzalez Lacoste (Tino)
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Muy satisfecho con el producto y especialmente con el servicio postventa. Aclararon mis dudas, ya que mi proyecto era conectar el aparato Genergy a las placas solares ya instaladas en mi barco.
Publicado en Google Google
David profile picture
David
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifica que la fuente original de la reseña sea Google.
Compré un generador Genergy,tuve un contratiempo y me han atendido muy bien y me han resuelto el problema como mucha eficiencia y profesionalidad. Un gusto dar con profesionales de gran calidad. Muchas gracias por todo.