Solar Inverter Earthing 2026: How to Earth Your Inverter the Right Way in Pakistan
Earthing gives fault current a safe path into the ground, so a live inverter body cannot shock you. It also lets surge devices dump lightning and grid spikes away from your inverter.…
Earthing gives fault current a safe path into the ground, so a live inverter body cannot shock you. It also lets surge devices dump lightning and grid spikes away from your inverter. Without a tested earth, a fault can leave metal parts live, and one surge can kill the inverter.
In This Guide
A shop owner in Rawalpindi called our repair centre after a storm: his inverter was dead, and the metal body gave him a small shock when he touched it. On the bench, we found the cause at once: the earth wire was never connected to a pit.
This guide explains solar inverter earthing in simple words: what it is, how many pits you need, and the 5 ohm rule.
Trust nudge: This guide comes from SunTech Mall, a solar inverter spare parts store in Pakistan whose repair team tests earthing on faulty inverters every week. Earthing and surge protection work as one pair, so read our SPD and Voltage Protection 2026 guide next.
What Is Solar Inverter Earthing, and Why Does It Matter? What Is the Difference Between AC Earth and DC Earth? How Many Earth Pits Does a Solar Inverter Need? Which Earth Pit Method Works Best in Pakistani Soil? Why Does the 5 Ohm Rule Matter, and What Does the 2 Ohm Figure Mean? How Do I Check My Inverter Earthing, Step by Step? What Are the Signs of Bad Earthing? What Safety Rules Must I Follow Around Earthing Work? When Should I Call a Licensed Electrician?
What Is Solar Inverter Earthing, and Why Does It Matter?
Earthing means connecting the metal parts of your solar system to the ground through a copper wire and a buried rod or plate.
A solar system has metal everywhere: panel frames, rails, the inverter body, and the distribution boxes. If one live wire touches any of that metal, the metal itself becomes live.
Earthing does three jobs at once. First, it protects people from shock: when a fault makes a metal part live, the current runs to earth and the breaker trips. Second, it protects the inverter and the SPD from surges: a surge device can only dump a spike into the earth if that path is there. buyinverter puts it plainly: without a solid earth, an SPD has nowhere to send the surge, and it becomes far less effective. Third, it lets modern inverters check the insulation of the panels, and refuse to start if that check fails.
If you are still sizing your system, our How Many kW Inverter for Home 2026 guide helps you pick the right size first.
What Is the Difference Between AC Earth and DC Earth?

AC earth and DC earth are two different jobs, but they belong to one bonded system. AC earth covers the inverter body, its PE terminal, the AC box, and the AC SPD. DC earth covers the panel frames, the rails, the DC box, and the DC SPD. Each side gets its own pit, and the two pits are joined by a copper link.
| Earth side | What it protects | Wire or rod | Where it connects | Common mistake |
|---|---|---|---|---|
| AC earth | People, from a shock | 10 or 16mm² green-yellow copper | Inverter PE terminal | Left unconnected |
| DC earth | Panels and rails | 16 or 25mm² bare copper | Panel frames and rails | Frames left floating |
| AC earth | The AC SPD | 10 or 16mm² green-yellow copper | AC SPD earth terminal | Earth wire never run |
| DC earth | The DC SPD | 16 or 25mm² bare copper | DC SPD earth terminal | One thin wire for the whole roof |
| AC and DC, bonded | The whole system | Copper link between the two pits | AC pit joined to DC pit | No bond between the earths |
| Lightning arrester | The roof | 25mm x 3mm copper tape or 50mm² wire | Arrester down-conductor | Arrester tied to the inverter pit |
The wire sizes in the table come from BillsOnlinePk: 16mm² or 25mm² copper for the DC side, 10mm² or 16mm² green-yellow copper for the AC side, and 25mm x 3mm copper tape or 50mm² wire for a lightning arrester. A thin wire is a weak link. The same rule applies to battery cables: see our Battery Cables and Lugs 2026 guide.
Two rules save inverters every year. First, never connect any earth to the WAPDA neutral wire or to a water pipe: a solar installation needs dedicated earth pits, not a shortcut through the plumbing. Second, never leave AC and DC as two separate, unbonded earths: buyinverter calls the separate "clean earth" idea a common misconception, and standard practice is one common earthing system, bonded at one reference point.
How Many Earth Pits Does a Solar Inverter Need?
The short answer is two pits for a home system: one pit for the AC side and one pit for the DC side, bonded together into one system. The NEPRA and AEDB guidance, quoted in the PIE net metering SOP, asks for two separate dedicated and interconnected earth electrodes, one DC and one AC, with a total resistance not exceeding 5 ohms.
A lightning arrester is a third job, and on bigger systems it gets a third pit of its own: BillsOnlinePk asks for three separate earthing circuits, one each for DC, AC, and the arrester, and the MNRE rooftop specification, reported by Wattscore, asks for three pits on systems of 10 kW and above.
Here is where the guides disagree. A Lahore guide for LESCO green meter work says each pit must test below 2 ohms. LahoreFix states it plainly: two separate pits, each under 2 ohms, one for the inverter and one for the solar structure. TechnoKraft says the AC pit must sit at least 15 feet from the DC pit, so a surge cannot feed back through the ground. buyinverter says one single bonded system is better than separate earths.
The safe line is the one the national rules agree on: two bonded pits, one AC and one DC, with a total resistance of 5 ohms or less. Treat the 2 ohm per pit figure as a local LESCO inspection target in Lahore, not a universal rule: aim for it if your DISCO asks for it. Keep the pits a few metres apart, about 3 metres or more is common practice according to HN Electric, and join them with a copper link at the chambers.
Note: If your installer says one pit is enough, ask him to show you the written test reading. One pit can pass on a wet day and fail in June.
Which Earth Pit Method Works Best in Pakistani Soil?

Pakistani soil is not one soil. Central Punjab has soft clay that holds moisture, southern Punjab and Sindh have dry sand, and Islamabad, Rawalpindi, and Balochistan have rocky ground. BillsOnlinePk puts the range plainly: clay at 15 to 30 ohm-metres, dry sand at 60 to 150, and rocky limestone at 200 to 1,000 or more. The pit method must match the soil under your house, not the method your neighbour used.
A driven rod suits a small home on soft, moist soil: it goes at least 3 metres deep, and may need a second rod in a dry season. A plate electrode suits a site with dig space and moist ground, in a pit about 1.5 to 3 metres deep. Chemical or bore earthing suits dry, sandy, or rocky soil: a deep bore is filled with bentonite clay, and it holds the resistance steadier through the dry months. A GI rod is the budget choice, but it rusts.
Insist on a copper-bonded steel rod at least 10 feet long and 14.2mm or 16mm in diameter, joined with a heavy cast-bronze clamp (BillsOnlinePk, TechnoKraft).
Dry soil is the quiet enemy of every pit. HN Electric warns that a pit that read 2 ohms in March can climb past 20 ohms by June if the backfill was poor or the pit was never kept moist. That is why a chemical pit earns its higher cost in a dry district.
Bonus Tip: Ask your installer for the test reading in writing, with the date, before you pay the final amount.
Note: Salt water poured into a pit is not a fix: it can drop the reading for a week and eat the rod away over months. If a pit reads high, the electrician must find the cause first.
Why Does the 5 Ohm Rule Matter, and What Does the 2 Ohm Figure Mean?
Five ohms is the ceiling. The NEPRA and AEDB guidance, quoted in the PIE net metering SOP, says the total earth resistance must not exceed 5 ohms, and the MNRE rooftop specification says the same. HN Electric repeats it as the short answer for Pakistan: two bonded pits, total resistance not exceeding 5 ohms.
Two ohms is the stricter local figure. The Lahore guide for LESCO green meter work asks for each pit below 2 ohms, and LahoreFix warns that a reading above 2 ohms can fail the inspection and stop the net metering process. TechnoKraft calls under 2 ohms the ideal, with under 5 ohms as the hard limit. So the two numbers do not fight each other: 5 ohms is the national ceiling, and 2 ohms is the local inspection target.
Low resistance matters because of how a breaker works. When a live wire touches the inverter body, the fault current must be big enough to trip the breaker fast. A high-resistance earth lets only a small current flow, so the breaker does not trip, and the metal stays live. A surge behaves the same way: it needs a low-resistance path, or it goes through the inverter board.
A reading is only real if it comes from an earth tester, also called a megger. No one can judge a pit by looking at it. The tester sends a small current into the ground and measures what comes back. Test in the dry season if you can, and write the reading down with the date.
Grid spikes are the other half of the story: our Grid Voltage Fluctuation Solar Inverter Pakistan guide explains the 6 best ways to guard against them, and earthing sits under all six.
How Do I Check My Inverter Earthing, Step by Step?

You can check the visible parts yourself, but only a licensed electrician may test the resistance or touch the wiring. Follow these six steps in order.
- Switch the inverter off, wait five minutes, then look at the earth wire from the inverter PE terminal to the earth bar.
- Follow the wire to the pit and check every joint: tight, clean, and clear of rust.
- Open the pit chamber: the rod must sit in damp soil, not dry dust.
- Check the DC side too: panel frames, rails, and the DC SPD must all join the same bonded system.
- Ask a licensed electrician to test the resistance with an earth tester and write the reading down.
- Repeat the test every year, and again after a dry summer or before any net metering inspection.
The first step is the one most people skip: they look at a live inverter and touch a wire they should not touch. The second step catches the most common fault we see on the bench: a joint that was tight on day one and has worked loose or rusted since.
The reading in step 5 is the whole point of the check. Five ohms or less passes, and lower is better. If the reading is above 5 ohms, the electrician must fix the cause: tighten the joints, add a second rod, deepen the pit, or add a chemical compound. Wattscore gives the right order: first investigate the connections, the electrode, the soil, and the test method, and only then change the pit.
If the inverter will not start at all, earthing is only one of the causes: read our Solar Inverter Not Turning On 2026 guide first.
What Are the Signs of Bad Earthing?
Bad earthing rarely shouts: it shows up as small signs that are easy to ignore until a fault or a storm turns them into damage.
The clearest sign is a small shock or tingle when you touch the inverter body, a panel frame, or a metal distribution box. That tingle means a metal part is live, and the earth is not carrying the current away. Switch the system off from the main breaker at once, and call a licensed electrician.
The second sign is an inverter that trips, restarts, or shows an earth fault again and again. The third sign is damage after a storm: an SPD blown, or an inverter dead after lightning struck nearby.
The fourth sign is a net metering inspection that fails on earthing: LahoreFix lists a reading above 2 ohms, a loose or rusted connection, an old pit with dry soil, a thin earth cable, or no test report at all. The fifth sign is visible: rust on the joints, green-white crust on the clamp, or an earth wire that is cut, thin, or missing.
Note: A tingle is never normal. It means the protection has already failed. Do not wait for a second tingle.
If the screen has also gone dark, read our Inverter Display Blank 2026 guide. If the backup time has fallen too, read our Why Does Your UPS Battery Drain So Fast? guide.
What Safety Rules Must I Follow Around Earthing Work?
Earthing work is electrician work, but these rules are for every owner.
Never work on a live inverter or live DC wiring. The DC side stays live in daylight: the panels make voltage whenever the sun is up, so never touch DC cables or panel frames with bare hands. Only a licensed electrician does earthing work, and only a licensed electrician opens an inverter or a distribution box.
Wait five minutes after switching off before anyone touches inner parts, because the capacitors inside hold stored energy. Never bypass protection to stop a trip: an SPD, a breaker, or an RCD that trips is telling you about a fault. Never connect an earth wire to the WAPDA neutral or to a water pipe, and never use a gas pipe as an earth.
Note: If you feel a tingle, do not test it a second time with your other hand. Switch off from the main breaker and call a licensed electrician.
One more rule belongs to the electrician alone: the neutral-earth bond. An off-grid inverter makes its own live and neutral, and the bond between neutral and earth must exist exactly once for each way the system runs. eneronix warns that only a competent, certified person should change it.
When Should I Call a Licensed Electrician?
Most earthing jobs are electrician jobs from the start, but some signs mean you should call one today.
Call an electrician when you feel any tingle from the inverter body or a panel frame, when the inverter trips or shows an earth fault, or when an SPD is blown after a storm. Call one before a net metering inspection, so the reading is tested and written down before the inspector arrives. Call one when the earth test reads above 5 ohms, when a rod has rusted through, or when the pit is dry and the reading keeps climbing through the summer.
Call one when you move into a house with an old solar system and no test record at all: a system with no written reading is a system nobody has ever tested. Call one after any lightning strike near the house, even if the inverter still runs: the strike may have damaged the SPD or the earth joints.
When the electrician comes, ask for four things: the test reading in writing with the date, the location of both pits, the wire sizes he used, and a check that the AC and DC pits are bonded into one system.
Frequently Asked Questions
How many earth pits does a solar inverter need in Pakistan?
Two bonded pits: one for the AC side and one for the DC side, joined by a copper link, with a total resistance of 5 ohms or less. A lightning arrester gets its own pit on bigger systems.
What is the correct earth resistance for a solar inverter?
The total must not be more than 5 ohms. LESCO in Lahore asks for under 2 ohms per pit as a local inspection target. Aim for the lower number if your DISCO asks for it.
Can I use one earth pit for AC and DC?
No. The two sides need two separate pits, but the pits must be bonded into one system with a copper link. Two earths with no bond can sit at different voltages, and that is the fault the bonding stops.
How do I know if my inverter earthing is bad?
A tingle when you touch the inverter body, an inverter that trips or shows an earth fault, an SPD blown after a storm, a failed net metering inspection, rusted joints, or a pit that is bone dry.
Does earthing help my SPD work better?
Yes. An SPD can only dump a surge into the earth if the earth path is there and tested. Without a good earth, the surge goes through the inverter instead.
Can I do inverter earthing myself?
No. Earthing work belongs to a licensed electrician only. The DC side stays live in daylight, and a wrong bond can make the whole system unsafe. You can look, but you should not dig, wire, or test it yourself.
Final Thoughts
Earthing is the part of a solar system nobody sees, and it is the part that saves the inverter when a fault or a storm arrives. Two bonded pits, one for AC and one for DC, with a total resistance of 5 ohms or less. Thick copper wire, tight joints, a rod in damp soil, and a tested reading.
A pit that was tested once is not tested for life. Check the visible parts every year, test the reading again after a dry summer, and test it before any net metering inspection.
Ready to protect your inverter? Browse the Schneider 2 Pole DC SPD 1000V 40KA and our 20D561K Metal Oxide Varistor and 20D471K Metal Oxide Varistor parts at SunTech Mall — an SPD only works with a tested earth, so get your earthing checked first, and check the live price on the product page. Questions? Message SunTech Mall on WhatsApp at 0306-2244820 with a photo of your earth pit.
Published on 26 November 2026. Updated on 26 November 2026.
Sources: HN Electric ; PIE net metering SOP ; LahoreFix ; TechnoKraft ; buyinverter ; BillsOnlinePk ; Wattscore ; eneronix
SunTech Mall supplies spare parts and everything you need at wholesale prices across Pakistan.
Parts you need
These are the parts in this guide that guard your inverter against surges. Live price and stock are shown on each product page — check there before you order.
- Schneider 2 Pole DC SPD 1000V 40KA — dumps DC surges into the earth before they reach the inverter. Check the live price and stock on the product page.
- 20D561K Metal Oxide Varistor — absorbs voltage spikes before they reach the board. Check the live price and stock on the product page.
- 20D471K Metal Oxide Varistor — absorbs voltage spikes from the mains before they reach the board. Check the live price and stock on the product page.
Next step: send your parts list with the exact part numbers to SunTech Mall, and check the live price and stock on each product page before you order.
Related Technical Guides
Category:
General
Bilal Hussain
Inverter Battery Mode Problem 2026: Why Your Inverter Won’t Switch to Battery in Pakistan
Your inverter stays on grid power when it cannot trust the battery. A low or weak battery, a loose cable, a blown…
Category:
General
Zainab Ali
MC4 Connector Safety 2026: How a Wrong MC4 Connection Can Start a Fire
A wrong MC4 connection can arc, melt its plastic housing, and set fire to the cable, the roof, or the inverter below.…
Category:
General
Sana Malik
Inverter Repair Shop Parts Stock List 2026: 20 Parts Your Bench Must Have
Stock MOSFETs, IGBTs, bridge rectifiers, DC bus capacitors, control capacitors, film capacitors, varistors, ceramic fuses, DC fuses, gate drivers, small optocouplers, relays,…