Lightning can destroy a solar inverter in a fraction of a second. This guide covers grounding, surge protection, and smart system design to keep your equipment safe.
What Is a Solar Inverter and How Does It Work?
Inverters are at the center of any solar energy system. They’re often considered to be the brains of a project, whether it’s a 2-kW residential system or a 5-MW utility power plant.
An inverter’s basic function is to “invert” the direct current (DC) output into alternating current (AC). AC is the standard used by all commercial appliances.
This is why many view inverters as the “gateway” between the photovoltaic (PV) system and the energy off-taker.
How Solar Inverter Technology Has Advanced
Inverter technologies have advanced significantly, such that in addition to converting DC to AC, they provide several other capabilities and services. This helps the inverter operate at an optimal performance level.
The areas where they’re used include data monitoring, advanced utility controls, applications, and system design engineering.
Inverter manufacturers also provide post-installation services that are integral to maintaining energy production. Also, a high level of performance for projects, including preventative maintenance, O&M services, and a quick mean time to repair (MTTR).
As the price of modules falls, inverters and additional system components have become a focus in price reduction for EPCs looking for a new competitive edge. As a result, inverter manufacturers are continually trying to drive down the cost curve of products.
Some companies have been able to do that successfully with modifications to manufacturing strategies and building additional manufacturing facilities within emerging solar markets. Additionally, companies have taken the core concept of “design for manufacturability.”
This means they design a product with ease of manufacturing in mind, with the goal to design inverter products that are quicker and cheaper to produce, without sacrificing performance.
Inverter manufacturers have also been able to achieve lower-cost success through well maintained partnerships with vendors. The continued challenge of providing higher and higher value at a lower cost is something the industry must work at to overcome.
If you’re shopping for an inverter, our guide to the best solar micro-inverter covers the top picks for residential setups.
Grid Integration and Inverters
High PV penetration and the impact it will have on our aging electric grid is another challenge the entire solar industry faces. The challenge itself isn’t specific to inverters, but the solution may be entirely inverter-driven.
Because inverters serve as a gateway to the system, advanced utility controls, such as low-voltage ride-through, can help mitigate the issues that stem from higher PV penetration on the grid, such as predictability of output and distributed generation. These functions help ease the transition as more solar is built, without the need for major and expensive infrastructure upgrades.
Utilities are keen to support the development and use of inverters with the most proven functionalities for grid interconnection.
Design Flexibility
We observe growth in distributed generation projects along with continued development of utility-scale projects. As a result, solar project developers want inverter manufacturers that can provide a full lineup of commercial products and technology topologies.
A flexible inverter manufacturer can offer a centralized and decentralized inverter design, referring to an architecture that uses multiple inverters throughout a project to achieve the lowest levelized cost of energy (LCOE) possible.
Although there’s still a growing demand for a common system architecture using a centralized inverter, designing in three-phase-string inverters for a decentralized PV system design is gaining in popularity. This is particularly true in commercial applications where space is at a premium or in an odd form.
Inverters have evolved from much more than simply inverting the electrical currents of a solar energy system. Inverters must continue to innovate and bring down costs while maintaining key attributes for a solar energy system (reliability, efficiency, and features such as data monitoring) in order to drive more PV penetration.
Comparing Solar Inverter Technologies: String Inverter vs. String Inverters With Power Optimizers
All inverters have the same basic task: convert DC solar energy into useful AC energy for your home. However, there are three different solar inverter technologies that you can choose for your solar panel system, and each of them works slightly differently.
String Inverters: A Standard Centralized Inverter
Most small-scale solar energy systems use a string inverter, also known as a “centralized” inverter. In a solar PV system with a string inverter, each panel is wired together into “strings.”
When they produce energy, it all gets sent to a single inverter, which is usually located on the side of your home, in a garage, or in your basement. The inverter will convert all of the electricity from your solar panels into AC electricity for your property.
Pros: String inverters are the lowest-cost inverter option, and are a “tried and true” inverter technology. They are also the easiest to maintain because they’re in an easy-to-access location.
Cons: If your system uses a string inverter, it will only produce as much usable electricity as its least productive solar panel. Electricity production for a system with a string inverter can “bottleneck,” or be dramatically reduced if just one or two panels are in the shade or aren’t operating properly.
Best for: properties with “uncomplicated” roofs that get consistent sun throughout the day, and homeowners looking for lower-cost solar PV systems.
Power Optimizers: A Panel-Located Option To Pair With A String Inverter
Power optimizers can be thought of as a compromise between string inverters and microinverters. Like microinverters, power optimizers are located on the roof next to (or integrated with) individual solar panels.
However, systems with power optimizers still send energy to a centralized inverter.
Power optimizers don’t convert the DC electricity into AC electricity at the site of the solar panel. Rather, they “condition” the DC electricity by fixing the voltage of the electricity, at which point the electricity is sent down to the string inverter.
A system that pairs power optimizers with a string inverter is more efficient than one that uses a string inverter alone.
Pros: Like microinverters, power optimizers can improve the efficiency of your solar panel system, and they tend to cost less than microinverters. They also offer the benefit of monitoring the performance of individual panels, and systems with power optimizers can still produce significant energy even if one or two panels are underperforming.
Solar Lighting and Lightning Protection
Now, how do we protect solar inverters from lightning?
Lightning is the number one cause of catastrophic failures in solar electric systems and components. The first major reason is that many PV systems are poorly grounded and poorly protected.
That is also the 2nd and 3rd major reason.
Lightning Facts
The purpose of lightning protection is NOT to stop the lightning from striking. You can’t do that.
Lightning protection controls the PATH of the lightning after it hits. Like it or not, that is about the best you can do.
It’s not lightning that causes the damage, it’s lightning going through places you don’t want it to go.
How Powerful Is Lightning?
At any instant, there are more than 2,000 thunderstorms taking place throughout the world. These storms combine to produce about 100 lightning flashes per second, each one with a potential of up to a billion volts.
The currents reach up to 200,000 amperes, and temperatures of over 54,000 degrees Fahrenheit. One hundred million feet per second is the quickness of the lightning streak through the sky.
No wonder the flash is difficult to watch from beginning to end. It starts and stops at almost the same time.
Lightning travels 90,000 mi/sec (nearly 1/2 the speed of light), 100,000 times faster than sound, and therein lies the reason thunder is heard after the flash is seen. The stroke, which is about two inches across and between 200 feet and 20 miles long, lasts but a microsecond.
Lightning Prefers Land
Lightning likes land according to images of data from NASA’s Lightning Imaging Sensor (LIS). From December 1997 through January 1998, LIS saw that 90 percent of lightning was over land.
Almost nothing can offer 100% protection from lightning strikes or damage, but it can be reduced by 95% or more with simple precautions and relatively inexpensive installation methods. Homeowners wondering whether solar panels are worth it should factor in proper lightning protection from the start.
Lightning Myths
There are a lot of myths about lightning. Some have persisted for centuries.
Some really silly ones seem to stay around forever. A few of the more popular ones are below.
A Lightning Rod or Grounded Tower Makes It More Likely That Lightning Will Strike
Myth: It will have little or no effect on how likely it is that it will strike in the immediate area. The important thing is it will be conducted directly to ground, without having to go through your inverter and computer first.
It does make it more likely to strike where you want it to go. There is some evidence that a few strokes can be prevented with the use of special sharp-pointed “air streamer” lightning rods, which bleed off some of the accumulated charges.
However, that has been a controversy for at least 50 years.
Lightning Always Strikes the Tallest Object
Myth: It can strike anyplace, although it is most likely to hit the highest object. There is no guarantee.
It is also more likely to strike something with a good path to ground, such as a steel tower. Sometimes, even if it strikes the highest object, you can get side flashes if the object it hits is not well grounded.
Where Lightning Can Strike
As can be seen on the map at the right, lightning can strike anyplace. Obviously, some areas are much more active than others.
In fact, Florida is usually considered the “lightning capital” of the world. It’s second only perhaps to some areas of Australia.
This map does not show the relative intensity so that it can be a little misleading. The Southwest does not rate that high in the total number of strikes.
Some of the largest strikes ever recorded, however, are from that area due to the sometimes violent updrafts from the super-heated desert floor.
People residing in these areas need to know how to protect solar inverters from lightning. If you have a rooftop solar system, lightning protection should be part of your installation plan from day one.
What Kind of Damage Can Lightning Cause?
Most electrical and electronic damage in both grid-tie and off-grid solar electric systems are NOT due to a direct hit. In fact, direct hits are rare.
Most damage occurs from nearby hits, usually within a few hundred feet. A near-strike can induce thousands of volts onto the house and PV array wiring if not protected.
In a ground hit, it can also spread out and travel into buried conductors, such as pipes and buried cables. Contrary to popular assumption, the panels themselves are not the biggest victim, as inverters and controllers are.
The frames and mounts on panels are usually grounded (sometimes more by accident than design), and that often diverts the lightning directly to the ground, saving the panels.
Also, the battery banks on most off-grid PV systems act as a fairly good surge arrestor if you have good connections and a good ground, but it may take out the controller on its way. If the battery bank is not grounded, damage can be much more severe.
It may then leap around all over trying to find a path to ground. Pairing your inverter with solar storage batteries adds another layer of surge absorption when the system is properly grounded.
Objects can be directly struck, and this impact may result in an explosion, burn or total destruction. Or, the damage may be indirect when the current passes through or near it.
Sometimes, current may enter a building and transfer through wires or plumbing and damage everything in its path. Similarly, in urban areas, it may strike a pole or tree, and the current then travels to several nearby houses and other structures and enters them through wiring or plumbing.
In some cases, lightning can strike the ground, and travel up buried power lines for hundreds of yards.
It’s very important to note that lightning does NOT have to hit directly to cause damage. In fact, because of the EMP (electromagnetic pulse) associated with large strikes, the static and electric fields that occur actually cause most of the damage in unprotected electrical and electronic equipment.
In a nearby strike, the wiring in a house or photovoltaic system acts as an antenna, and if unprotected and/or ungrounded can feed thousands of volts back into your inverter and other equipment. Because of all of this, we see the urgent need to know how to protect solar inverters from lightning.
Protecting Your Solar Power System
Proper Grounding
First off, the NEC Article 780 (NFPA) codes for lightning protection may not be totally adequate for off-grid installations. In fact, the recommended practices can actually make it MORE dangerous.
Unfortunately, some local inspectors assume that the National Electrical Code book is a bible and will not allow any deviations.
For example, Zones of protection, including cones and rolling balls, lack warnings about lightning’s unpredictable nature. These geometric abstractions are presented as factual, rather than statistical levels of protection.
This is not to say that you should not follow the NEC recommendations in most cases. You should be aware that recent research shows that there might be considerable variations from the average.
Further steps may be needed for PV systems. NEC grounding is primarily concerned with electrical safety, not lightning protection, and the two may not always be compatible.
For lightning protection, you may need to take steps beyond the code minimum requirements.
The Purpose of Grounding
Equipment: Panel frames and mounts are grounded in order to provide the easiest path for lightning to get to the ground. You would much rather have it go down the mounting pole or your ground rod than down your wiring to your controller or inverter or new widescreen TV.
Without proper grounding, lightning can do some really strange things and can jump around all over while trying to get to earth. If your inverter happens to be in the way, you would probably be buying a new one.
You cannot stop lightning, but you can usually direct where you want it to go.
Fuses and Breakers Offer NO Protection
Fuses and circuit breakers offer no protection at all to lightning strikes. That is not their purpose.
Lightning usually lasts for only a few microseconds, much faster than any fuse or breaker can blow.
It’s pretty unlikely that a one-inch fuse gap is going to offer much protection from a bolt that just cut through two miles of open air. Yet the myth persists that a fuse will offer lightning protection.
It will not.
Single Point Grounds
The importance of a single-point protection ground cannot be stressed enough. All equipment should normally be bonded to one single good earth ground.
If you have some equipment on one ground, and other equipment on another ground, it is quite likely that in a nearby strike there will be a large voltage difference between the two grounds. This means that the equipment will be at different voltages, sometimes high enough to get arcing from one to another.
There is an exception to this. If you have a panel array that is more than 50 to 75 feet or so from the rest of the system, it should have its own frame/mount ground (not electrical ground).
A Single Ground Rod is Seldom Enough
Tests done over the past few years show that in most cases, a single 6 or 8-foot ground rod is NOT enough, even when the ground is salted to improve conductivity.
The problem is, in arid climates with dry soil, it could take as many as a dozen rods to get it down to the ten ohms ground resistance that is usually accepted as the optimum (25 ohms is the NEC minimum). To get down to the 25 ohm NEC minimum, you may have to use 2-3 10-foot rods, all bonded together with #6 wire and copper wire clamps.
However, if you cannot do this, something is better than nothing. In some cases, you may have to go so far as to bury lengths of bare copper wire or copper pipe in trenches.
Grounding and NEC Requirements
The NEC requires that all exposed metal surfaces be grounded regardless of the nominal system voltage. Systems with PV open-circuit voltages below 50 Volts are not required to have one of the current-carrying conductors grounded.
Any system with AC voltages at 120 volts must have the neutral grounded.
Some inverters do not isolate the AC and DC sides. Grounding the AC neutral will also ground the DC negative.
Other inverters have the case (which must be grounded) connected to the negative input, which grounds the negative current-carrying conductor. The NEC requirement can be extended.
Grounding Conductor Specifications
A separate conductor (as large as possible, but not less than number 10 AWG) should be fastened to each metallic module frame with a grounding lug or other approved method.
The other end of these conductors should be connected to a single point on the array frame or rack again with another self-threading, stainless steel screw or with a stainless-steel bolt in a drilled and tapped hole. From this point, number 4-6 AWG or larger copper conductor should be run directly to the nearest earth where it is connected to the longest, deepest ground rod that can be afforded.
Eight feet is the minimum length recommended. Use a UL-listed clamp to make the connection.
If a steel well casing is available, drill and tap the casing and use this as the ground rod. In dry areas, several ground rods spaced 20-50 feet apart in a radial configuration, all bonded to the central rod can be effective.
Using Copper Wire or Pipe
Buried copper water pipes can also improve the grounding system. Pipe or copper wire can be buried in trenches 12-18 inches deep in a radial grid.
All grounding members should be connected or bonded to the central ground rod with heavy and bare conductors buried underground. Direct-burial, UL-listed grounding clamps or welding should be used for all connections.
Soldering should never be used for underground connections. It can corrode underground due to the different metals.
You can’t get a “perfect” ground unless you are prepared to spend megabucks on buried copper cables. However, a good ground is possible to get in most areas and need not be expensive.
Getting a Good Ground in Tough Conditions
In dry and/or rocky locations, it may be more of a challenge. If you can’t get it perfect, ANYTHING is better than nothing at all.
If you have bedrock at 3 feet, try driving in 3 to 6 short ground rods and tie them all together with at least #4 wire and good clamps. Not perfect, but far better than nothing.
Another way is to bury heavy wire or (usually cheaper) lengths of copper pipe in ditches. Keeping the ground wet and/or salting the nearby area will also help.
The negative side of the battery bank should be grounded to the same point as all other ground wires. Batteries usually have a very low internal resistance.
They can help act as a large surge arrestor on all but a direct hit. This may stop a hit near your panels from jumping around to your inverter and other equipment.
The ground wire should be at least #8, and #6 or #4 is recommended.
Surge Arrestors
Surge Arrestors, or Surge Protectors, act like “clamps” in most cases. They go across the live wires with another wire going to the ground.
Normally they just sit there. But if the voltage goes above a certain level, they start to conduct, shorting the higher voltage to the ground.
Surge Capacitor
In lightning prone areas, you should also install a surge capacitor. This is not really an arrestor, but it acts extremely fast.
It will catch those high voltage spikes on the AC line that are too fast for a surge arrestor.
For most systems to get the best protection, you should have a DC surge arrestor on the INPUT to the charge controller. It should be as near the charge controller as possible.
On the AC side (and this applies to BOTH the inverter AC input and AC output, for generator and grid tie systems) you should have both an AC surge arrestor and a surge capacitor. Most inverter damage is caused by surges on the AC side coming in through house or generator wiring.
In many systems with a backup generator, the generator is located outside. It’s normally quite some distance from the inverter, and is a common hit point for lightning strikes.
The benefits of also putting arrestors at the generator end are not all that great. If installed, you will probably need a separate ground rod system.
For most mid-size and larger systems we recommend the Midnite Solar surge arrestors, or the Outback Power types. It may seem a bit high to spend over $200 on surge arrestors.
But the typical repair bill for large sine wave inverter that has been lightning hit can run well over $1000.
Frequently Asked Questions
Can lightning destroy solar panels directly?
Direct lightning strikes on solar panels are actually quite rare. In most cases, the metal frames and mounting hardware are grounded, which diverts the bolt straight to earth.
The bigger threat is to your inverter and charge controller, which are far more sensitive to voltage surges. That said, a direct hit with enough force can still crack glass or melt junction boxes.
Do I need lightning protection if I live in a low-risk area?
Even areas with fewer thunderstorms can still experience occasional strikes powerful enough to damage unprotected equipment. A single nearby ground strike can send thousands of volts through your wiring in microseconds.
Surge arrestors and proper grounding are relatively inexpensive compared to replacing an inverter. Installing basic protection is a smart move regardless of where you live.
How much does it cost to add surge protection to a solar system?
A quality DC surge arrestor typically runs between $50 and $150, while AC surge arrestors and surge capacitors add another $50 to $150 each. For a complete setup covering both the DC input and AC output sides, expect to spend around $200 to $400 total.
Compare that to a repair bill of $1,000 or more for a damaged sine wave inverter, and the investment pays for itself after one saved strike.
Should I hire a professional or can I install lightning protection myself?
Grounding and surge protection involve working with electrical systems, so a licensed electrician or certified solar installer is the safest choice. Improper grounding can actually make damage worse by creating multiple ground paths with voltage differences between them.
A professional can test your ground resistance and verify that everything meets or exceeds NEC requirements. If you do any work yourself, always have a qualified inspector review the installation before putting the system back online.
Final Thoughts
Lightning protection for your solar system comes down to three core strategies: proper single-point grounding, surge arrestors on both the DC and AC sides, and surge capacitors for fast voltage spikes. No setup is 100% foolproof, but these steps reduce your risk of catastrophic damage by 95% or more.
Now you know how to protect your solar panels from lightning. Enjoy your system without the fear of losing your investment.





