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.
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.
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.
| Location | Daily Peak Solar Hours in August |
| Campo de Gibraltar | 6.2 |
| Granada | 6.0 |
| Málaga | 6.0 |
| Alicante | 5.9 |
| Valencia | 5.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
| Step | Calculation | Result |
| August electricity usage (AC + whole home) | — | 90 kWh |
| System size needed | 90 ÷ 6.2 | 14.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.
Factors That Affect Whether Solar Can Fully Power Your AC
| Factor | Works in your favour | May mean some grid reliance |
| Solar hours | The Costa del Sol and Costa Blanca get around 6 hours of full sun in summer | Winter months cut production. December in Málaga averages 4.2 hours of full sun. |
| Time of AC use | Daytime use aligns with solar production – panels cover AC load directly | Evening and overnight use requires battery storage. Without one, night-time AC draws from the grid |
| AC power rating | A standard 2kW split system is manageable for a well-sized setup | Older or less efficient units draw more power and require a bigger system |
| System size | A correctly sized system covers all consumption including AC | An undersized system will not eliminate your bill |
| Battery storage | A correctly sized battery lets you store daytime generation and use it at night | No battery means no stored energy for evenings. You save during the day and pay for night-time use |
| Season | Summer in southern & eastern Spain: maximum solar production aligns with maximum AC demand | Winter: shorter days, lower sun angle, reduced output |
| Roof orientation | South-facing, unshaded roofs maximise output throughout the day | Shading, 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.