Home » Solar Guides » Running AC on Solar Power

Can You Run an AC Unit on Solar Power in Spain?

Can solar panels power your AC in Spain? Discover how much solar you need, whether you need a battery, and how to cut your electricity bill to zero.

Published On: May 18, 2026

Updated On: May 18, 2026

Adam Millington
Adam Millington is the founder and co-owner of Marblanc Solar. He is a fully qualified electrician with a QQI Level 6 Advanced Certificate Craft – Electrical and a Masters in Sustainable Electrical Energy Systems at the Technological University Dublin. See bio»

Yes. But whether it makes sense for you depends on:

  • How much power your AC draws
  • How often you want to use it

Do you want to cut your bill in half? Or run the AC all night without paying a cent? Each goal leads to a different answer – but in theory, it’s all possible.

Real installation — €0 Electricity Cost at Large villa in Sotogrande
A client of ours in Sotogrande already had a solar system installed when he started looking at his overnight usage data. His AC was drawing power from the grid every night. He wanted to fix that.
We recommended two 14kW batteries – 28kW of storage in total.
His bill in August 2024 was €817. After the batteries were installed his bill in August 2025 dropped to €30. That €30 is the fixed standing charge so the electricity cost nothing.
He runs his AC constantly, day and night, without drawing a single unit from the grid.

Can Solar Power Actually Run an AC Unit?

Yes, you can run your AC entirely on solar power. 

Panels capture energy from the sun and convert it into electricity your home uses directly. So your solar panels can power anything you plug into a wall socket – and even an electric car, if you install an EV charger.

But there’s a catch. Panels only generate power when the sun is out. If you want to run your AC at night, you need a battery to store what was generated during the day.

Understanding How Solar Powers Your AC
Think of your solar system like a bank account. Every hour the sun is out, your panels are depositing energy into it. Every hour you run your AC, your washing machine, your oven it’s like you’re making withdrawals.
Stay in credit and everything runs for free. Go into “overdraft”, and you start renting power from the grid. 
During the day staying in credit is easy to do. The sun is up, the panels are producing, and your solar app tells you in real-time how much power you’re consuming. 
The problem is the evening. Without a solar battery, there’s nothing left in the account and your AC will need electricity from the grid.
A battery can keep you “in credit” after dark. It stores the excess energy your panels generated during the day so you can spend it at night – without touching the grid. You can achieve something similar with a virtual battery but I recommend you read this to understand why the solar battery pays you better.

Three Things to Figure Out Before Sizing a Solar System for AC Use

1. How much power your AC unit actually uses

The average split-system AC in a Spanish home draws around 1.5 to 2kW. In nine out of ten properties I visit, that’s what I find. Check the label on your unit – it’ll show a rated power figure. Use that number for your calculations.

Your AC won’t always run at its full rated output. At a comfortable mid-range temperature it’s likely drawing less. I spec every system at full rated consumption regardless – it means the system outperforms expectations rather than underperforms.

Now, multiply your AC’s rated power by the number of hours you run it per day. This is your daily AC consumption in kWh. That figure feeds directly into the system design. 

To work out your AC’s daily electricity consumption:

  • Find the rated power on your AC unit (in kW)
  • Estimate how many hours per day you run it
  • Multiply the two figures together

Example – 2kW AC unit:

  • 2 hours/day → 4kWh
  • 4 hours/day → 8kWh
  • 6 hours/day → 12kWh
  • 12 hours/day → 24kWh

2. How many solar panels you need to power your AC for free

There’s an easy formula to understand how many solar panels you need.

The formula:

  • AC rated power x hours you run it per day = Daily kWh 
  • Daily kWh ÷ local peak solar hours = minimum system size in kW

Peak solar hours measure how many hours of “full sun” you get in your area. You’ll often find an average across the year. But when sizing a system to power AC in summer, I recommend you look at peak solar hours in August.

Why?

August is the month when you’ll probably use the most AC. If you size your system to cover August peak usage, then you’ll be covered for the rest of summer too.

LocationDaily Peak Solar Hours in August
Campo de Gibraltar6.2
Granada6.0
Málaga6.0
Alicante5.9
Valencia5.9

Source: PVGIS data 

Let’s take our case study above as an example. The client was in Sotogrande (Campo de Gibraltar) which averages 6.2 peak solar hours in August. We calculated their system as follows.

System Sizing Example – Medium-size villa in Marbella

StepCalculationResult
August electricity usage (AC + whole home)90 kWh
System size needed90 ÷ 6.214.5 kW 

These are guidelines, not guarantees. The right size depends on your consumption, roof orientation, and how you use the property.

See here for an easy calculation to understand how to size your system for both AC and your whole house.

3. Whether you need a battery – and what size

Solar panels generate electricity during the day. But most people use their AC in the evening and overnight – when the sun isn’t shining. Without a battery, the moment solar production drops, your AC draws from the grid.

A battery stores the surplus your panels generate during the day so you can use it after dark. If you want to run your AC through the night without touching the grid, a battery is essential.

The formula:

  • AC rated power (kW) × hours of night-time use = minimum battery capacity needed (kWh)

To work out the battery size you need:

  • Estimate how many hours you run your AC overnight
  • Multiply by the rated power of your unit (in kW)
  • Add any other evening usage – cooking, lighting, other appliances

Example – 2kW AC unit overnight:

  • 4 hours → 8kWh minimum battery
  • 7 hours → 14kWh minimum battery

Real example – Sotogrande client

Our client wanted to run his AC day and night without drawing from the grid at all — along with his other appliances. We installed two 14kW batteries: 28kWh of storage in total.

That covered his AC overnight plus his full evening usage. His August bill: €30. The previous August it was €817.

We always look at your full evening usage – cooking, lighting, heating, other appliances – before recommending a battery size. The AC is usually the biggest draw, but it’s rarely the only one.

Does Running Your AC for Free Make Financial Sense?

This is where most people don’t get the full picture.

AC works hardest in the late afternoon and evening – when the temperature peaks and you’re home. But that’s also when your panels are producing the least. The sun is lower, output is dropping, and within a few hours it’s dark.

That mismatch is the most important thing to understand when designing a system for AC. 

is it for health or finances?

If you want to reduce your bills by 60-80%, a well-sized panel system without a battery can do that. You cover daytime usage, your bill drops sharply, and the systems can often pay for themselves in three to five years. This makes great financial sense.

If you want to eliminate your bill entirely and run your AC whenever you like without thinking about it, you need panels and storage – sized for your peak consumption month.

Battery storage has a higher upfront cost. In many cases, we’ll find the break-even extends to 5-8 years when you add a battery.

I hear from many clients who need to run AC at night for health issues. Or maybe they simply can’t sleep without AC in summer. For many people their health is more important than a quicker break-even – and anyway, a solar installation is still a better financial decision that giving your money away to the grid.

Not sure if the cost is worth it? I recommend you book in a Free Solar Survey with my team. We’ll map out two systems:

  • One with a battery sized to eliminate your bill in August
  • One without a battery sized to cut your bill by 80% in August 

You’ll get to see the numbers and decide if the extra cost is worth it for you.

Real installation — €0 Electricity Cost for Financed Solar System
A client of ours in Mijas wanted a solar installation to help them reduce the bills for running AC and charging an electric car. Before going solar, they were paying an average of €152 a month on electricity.
We recommended a 6.5kW system and a 7kWh solar battery.
The client wanted the battery system but hesitated over the higher up-front cost. We were able to secure a financing deal that meant they “swapped” their current electricity bill for a financing repayment – i.e. the repayments + standing charges came to almost exactly the amount they were paying on electricity before going solar.
Financing can be a great option for homeowners looking to run their AC all day with a battery.

Factors That Affect Whether Solar Can Fully Power Your AC

FactorWorks in your favourMay mean some grid reliance
Solar hoursThe Costa del Sol and Costa Blanca get around 6 hours of full sun in summerWinter months cut production. December in Málaga averages 4.2 hours of full sun.
Time of AC useDaytime use aligns with solar production – panels cover AC load directlyEvening and overnight use requires battery storage. Without one, night-time AC draws from the grid
AC power ratingA standard 2kW split system is manageable for a well-sized setupOlder or less efficient units draw more power and require a bigger system
System sizeA correctly sized system covers all consumption including ACAn undersized system will not eliminate your bill
Battery storageA correctly sized battery lets you store daytime generation and use it at nightNo battery means no stored energy for evenings. You save during the day and pay for night-time use
SeasonSummer in southern & eastern Spain: maximum solar production aligns with maximum AC demandWinter: shorter days, lower sun angle, reduced output
Roof orientationSouth-facing, unshaded roofs maximise output throughout the dayShading, east/west orientation, or poorly placed panels reduce generation significantly

Get a Free Solar Survey at Marblanc Solar

Understanding the theory is one thing. Knowing exactly what a solar system would do for your property is another.

Our Free Solar Survey includes:

  • On-site inspection by a qualified electrician or survey engineer
  • Drone roof mapping
  • Shading, orientation and tilt analysis
  • Full review of your electricity bill
  • Q&A about future consumption — including AC habits
  • Solar proposal using the world’s leading design software
  • Itemised quote and financial analysis

Can’t I just use ChatGPT to size my system?

I see homeowners do this all the time. ChatGPT doesn’t know your roof angle, orientation, or how shading will affect your output.

AI is only as good as the information you give it. For accurate data you need the drone scan and specialist software. Get the survey first — then feed the results into AI if you want. It’ll be far more useful.

Frequently Asked Questions

How many solar panels will I need to run an AC?

It depends on the size of your unit and how many hours a day you run it. A standard 2kW split-system running six hours a day consumes 12kWh. In Spain, with an average of six peak sunlight hours, you need a system that generates at least that — plus enough to cover the rest of your home’s usage. For most villas on the Costa del Sol, a system of 10–20kW covers full consumption including regular AC use. A free solar survey gives you an accurate figure based on your actual bill and habits.

Can I run an AC on solar in winter?

Yes, but with caveats. Spain’s winter solar hours are lower than summer – production drops and the sun sits lower in the sky. A system sized for your summer peak will still generate useful amounts in winter, but it won’t cover heavy AC use as efficiently. For most homeowners in southern Spain, the system is sized around the higher-consumption summer months.

Will I still need to pay for electricity if I run AC on solar?

Not necessarily. With a correctly sized system and battery storage, it’s possible to eliminate your bill entirely – as our client in Sotogrande does. Without a battery, you’ll cover daytime AC use with solar but still pay for evening and overnight consumption.

Will I need a battery to run an AC?

Not to benefit from solar – but yes, if you want to run your AC at night without a grid bill. Panels power your AC directly during the day at no cost. The problem is that AC demand typically peaks in the evening, when solar production has stopped. Batteries store your surplus daytime generation for use after dark.

What’s the most energy-efficient AC unit to have?

Modern inverter-type split systems. Unlike older fixed-speed units, inverter ACs adjust their output to match the temperature you’ve set rather than cycling on and off at full power. They consume less electricity for the same cooling – a natural fit for a solar setup. If your current AC is old, it may be worth factoring in an upgrade as part of the overall project.

How do I work out what size solar system I need for my AC?

Look at your electricity bill. There’s a bar chart on every Spanish bill showing your monthly consumption in kWh. Find your highest month – usually July or August. Divide that figure by 30 to get daily usage. Divide daily usage by six (average peak sunlight hours in southern Spain) and you have a rough system size. Add any expected future AC usage on top. This is a starting point – a proper survey accounts for every month, your appliances, your roof, and your goals.

How much does it cost to install a solar system that can power an AC?

It varies by system size, battery capacity, and property specifics. For a full breakdown, this post covers the costs in detail. The best starting point is a free solar survey – a precise proposal based on your actual situation, with no obligation.

find out more about going solar At Your Property

Get your Free Solar Survey today you'll be offered a free home visit, drone inspection, 3D performance model, two custom proposals, and a break even estimation for each

See more articles