Short answer: a grid-tie solar inverter will not do this job, because it shuts itself down without a live AC grid. Buy a sealed, marine-type 300 W pure-sine inverter with a 24 V input and put it in a 316L stainless box rated NEMA 4X / IP66 by the manufacturer. Add a NEMA 4X-rated drain and breather in the bottom hole and run the outlet through a GFCI. At full load the inverter pulls about 15 A, so treat the feed as a 20 A circuit. A 24 x 20 x 8 in box holds its interior at 38.8 C on a 35 C afternoon at a 100 W steady load, and the same waste heat takes the chill off the dew at 30 F.
Can a solar grid-tie inverter run without the AC grid?
No — a grid-tie inverter, including the microinverters bolted under PV panels, watches for a live 60 Hz AC reference. It disconnects itself within seconds when that reference disappears, so it will never power an isolated garden outlet. The shutdown is deliberate: the utility transformer, your neighbours and any line crew downwire must never be energized by your inverter. Tricks exist that synthesise a 60 Hz reference to wake one up, but then you own a second inverter whose only job is impersonating the grid. A battery-based grid-forming inverter is the one solar-adjacent box that makes 110 V standalone, and it solves a much bigger problem at a much bigger size.
Which inverter should you buy for the garden line?
Buy a sealed pure-sine DC-to-AC inverter — the marine-grade kind, built for damp bilges and cold nights, in the 300 W class with roughly 600 W of short-term surge. A typical unit accepts a 20-30 V input range, which matches a regulated supply with room for line sag. MPPT belongs to the solar charge controller, where it squeezes extra current out of panels; on a regulated DC source it is dead weight, so buy the plain converter. Insist on pure sine. A Class A GFCI trips at 4-6 mA, and clean 60 Hz keeps it quiet, while modified-sine output buzzes motors and nuisance-trips some GFCIs. Pick a listed unit: UL 458 covers DC-to-AC inverters for land-vehicle and marine duty, while grid-tie machines are certified to UL 1741 and are tested to refuse exactly this job.
How many amps will the inverter draw?
At full output, figure 15 A. Show the arithmetic, because the wire and the fuse follow it:
- Output 300 W at 87 % efficiency: input = 300 / 0.87 = 345 W.
- Current: 345 / 24 = 14.4 A; at a sagged 22 V line, 345 / 22 = 15.7 A.
- A 600 W motor-start surge pulls 600 / 0.87 / 24 = 28.7 A for a second or two.
Build the feed as a 20 A DC circuit: 10 AWG copper, good for 30 A at 75 C, with a 20 A time-delay fuse at the supply end. The fuse rides the start surge and still clears a real fault. On a long fence run, voltage drop picks the wire before ampacity does. Copper in 10 AWG runs about 1 Ω per 1000 ft, so 50 ft out and back is 0.10 Ω, and 15 A drops 1.5 V across it — 6 % of nominal. Stepping up to 8 AWG on that run cuts the drop to about 0.9 V.
What rating does an outdoor inverter enclosure need?
NEMA 4X with an IP66 code: hose spray from a 12.5 mm nozzle, dust-tight construction, and the corrosion resistance a wet fence line demands — and in US installations the NEC wants the enclosure type, not just the IP code. IEC 60529 tests the second digit 6 with a 12.5 mm nozzle delivering 100 L/min from 2.5 to 3 m for at least 3 min, which is past any garden hose you will point at a fence.
IP66 is not an immersion rating; second digit 7 adds 1 m of still water for 30 min, worth having only where the fence line ponds. In US installations NEC 110.28 is why the spec line reads NEMA 4X first: an IP code alone does not satisfy a spec that calls for an enclosure type, and Table 110.28 lists the types accepted for each location. Our wall-mount bodies are rated NEMA 4X-type / IP66 by the manufacturer and are not UL listed, so settle any listing demand before you order.
Make the box 316L, from the 316L wall-mount enclosures line. A fence lives in sprinkler spray, fertilizer drift and, near the coast, salt air, and the molybdenum in 316L is what resists chloride pitting in gasket crevices. Chlorides reach 304 at ordinary temperatures under a deposit or a gasket edge, so this is the wrong corner to cut. Keep the assembly honest, too: the finished rating is set by the lowest-rated part, so the cord gland, the drain and any connector each carry their own 4X / IP66 marking.
How do you stop condensation inside the enclosure at night?
Fit a NEMA 4X-rated combination drain and breather — a 1/2 in NPT aluminum part is the standard item — in the lowest tapped hole, where gravity lets it expel whatever forms inside. Run the night's arithmetic once and you will trust it. Garden air sealed in the box at 75 F and 70 % relative humidity has a dew point near 65 F. A clear sky then chills the box skin to 45 F, twenty degrees below it, and water films every interior surface until morning.
That is about 1 g of water from the 60 L of air in a 24 x 20 x 8 in box, and the type rating does nothing about it: gaskets breathe on every thermal cycle, and the rating only promises that rain stays outside. The drain/breather equalises pressure so each cycle inhales less, and in the bottom hole it weeps the remainder out by gravity; the same part in a side hole works as a breather.
Your load pattern helps as well: garden lights run exactly when the dew forms, and their 15 W holds the box about 4 C warmer than the fence. Cold itself is the smaller enemy — 30 F sits inside the common 0-40 C operating band of sealed inverters. Mount the box off the soil, out of the frost pocket, with the drain clear. The condensation guide carries the full dew-point method, why a sealed rating can't stop condensation shows the physics, and breather vent vs drain picks between the two parts.
Will the inverter overheat inside a sealed stainless box?
At a 100 W steady load, no — 15 W of waste heat through 1.07 m² of 316L wall gives a 3.8 C rise, so a 35 C afternoon holds the interior at 38.8 C, just under the 40 C limit most electronics carry. Here is the arithmetic for the worked case:
- Load: 100 W of LED lighting plus a small pond pump, on through the evening.
- Inverter at 87 % efficiency: input = 100 / 0.87 = 115 W, so heat into the box = 15 W.
- Enclosure: 316L, 24 x 20 x 8 in outside, about 1.07 m² of wall.
- Stainless wall coefficient k = 3.7 W/m²K: rise = 15 / (3.7 x 1.07) = 3.8 C.
- Interior: 35 C + 3.8 C = 38.8 C, under the 40 C that drives and most electronics are rated for.
Push the same box to a continuous 300 W and the arithmetic turns: heat = 45 W, rise = 45 / 3.97 = 11.3 C, interior 46 C. Holding 40 C at full load needs the rise under 5 C, so 45 / (3.7 x A) at or under 5 gives A of at least 2.4 m² — the 36 x 30 x 12 in body, shaded. That is the real decision in this selection: a big box for an all-day load, or a right-sized box with full output reserved for motor starting.
| Steady load | Heat at 87 % | Box (316L, outside) | Rise | Interior at 35 C |
|---|---|---|---|---|
| 50 W | 7.5 W | 20 x 16 x 8 in | 2.6 C | 37.6 C |
| 100 W | 15 W | 24 x 20 x 8 in | 3.8 C | 38.8 C |
| 300 W | 45 W | 36 x 30 x 12 in | 5.0 C | 40.0 C, shade it |
Sun moves every row of that table: figure 10-15 C of extra rise on a sunlit stainless face at midsummer, so the box goes on the shaded side of the fence. When the fence offers only sun, buy surface instead of volume — heat spreaders or fins walk that sizing. The sealed-enclosure overheating article runs the same method on a smaller box.
How do you ground a floating 110 V inverter output?
Bond the AC output neutral to the equipment grounding conductor at the inverter — sealed marine units give you a terminal or an internal link for exactly this — and carry that ground back along the DC feed to the supply's grounded bar. An unbonded output floats, and a floating 110 V system lets its case and your stainless box sit at 55 V to earth with no fault current to trip anything. The bond gives every fault a copper path back to the source instead.
The soil is not that path: NEC 250.4(A)(5) names the earth as anything but the effective ground-fault current path, so run the green conductor home. Size it from the fuse — 12 AWG copper for a 20 A fuse, per NEC Table 250.122 — and keep it green or green-with-yellow-stripe, the colours NEC 250.119 fixes for 6 AWG and smaller. Bond the door to the body and the body to the green conductor: NEC 250.96(A) treats the enclosure as a grounding conductor that must carry a fault, so the factory strap stays in.
Put a Class A GFCI on the outlet; it trips at 4-6 mA, and the NEC requires GFCI protection for outdoor dwelling receptacles. For the electronics-side version of the question, ground to chassis or float covers tying signal ground to a metal case. One habit before the door opens: pull the fuse or switch first and prove the outlet dead. The 24 V feed is harmless, but the inverter's output terminals hold 110 V whenever it runs.
Will a garden inverter outlet pass inspection?
Yes, when the parts carry their marks: a listed inverter, GFCI protection on the outdoor receptacle, conductors sized for 15 A with a 20 A fuse, and an enclosure whose type rating matches a wet location. The enclosure type comes straight off Table 110.28, and GFCI protection is the NEC rule for outdoor dwelling receptacles.
Working space follows: NEC 110.26(A) wants 3 ft [900 mm] of clear depth in front, 30 in of width or the equipment width, and room for the door to open at least 90 degrees, so leave the hedge a box-width back. If the DC fuses live inside, NEC 240.24(A) keeps the highest handle at or below 6 ft 7 in [2.0 m] above grade; a box centred at 48 in clears it with room to spare. Say it plainly when asked: these bodies carry a manufacturer rating, NEMA 4X-type / IP66, not a UL listing, and the inverter, the GFCI and the fuse carry the listings on their labels.
What should the enclosure order say?
One line: a 316L body, 24 x 20 x 8 in outside, manufacturer-rated NEMA 4X-type / IP66, a GFCI cutout and a switch hole in the door, a gland hole and a 4X drain/breather hole in the bottom, delivered in 10 business days from your approval of the drawing. Spell it out like this:
| Line | What to specify |
|---|---|
| Body | 316L stainless, hinged gasketed door, removable mounting panel |
| Size | 24 x 20 x 8 in outside; 23.88 x 19.88 x 7.88 in inside |
| Rating | Manufacturer-rated NEMA 4X-type / IP66 — not UL listed |
| Door | Cutout for a GFCI receptacle under a weatherproof in-use cover; 7/8 in [22 mm] hole for an illuminated power switch |
| Bottom | One 1/2 in NPT hole for the DC cord gland, one 1/2 in NPT for the 4X-rated drain/breather, one capped spare |
| Mounting | Wall-mount feet on the fence rail, drain at the lowest point, shaded face |
| Thermal basis | 100 W steady load, 35 C ambient: interior 38.8 C |
| Delivery | 10 business days, counted from your approval of the drawing |
The decision, then: the 24 x 20 x 8 in box for a lights-and-pump garden up to about 130 W steady; the 36 x 30 x 12 in box only when something draws full load all day; the 20 x 16 x 8 in box for a gate-opener or tool outlet used in bursts. Send the cutout drawing with the receptacle and switch hole dimensions marked. The custom stainless enclosures page lists what a complete drawing carries, and the enclosure selector re-checks the size if you add a DIN-rail supply later.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 24 × 20 × 8 in | 316L stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 316L stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 36 × 30 × 12 in | 316L stainless | 36 x 30 x 12 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does the inverter need MPPT when the source is a regulated 24 V supply?
No. MPPT is a battery-charging function that lives in a solar charge controller, and it does nothing on a regulated DC line. Buy a plain DC-to-AC unit; inverters in this class typically accept a 20-30 V input range, which matches a regulated supply and a charging battery alike.
Can I save money with a modified-sine inverter?
You can for resistive loads, but a garden outlet usually feeds a pump or a charger, and modified sine makes motors run hot and power supplies buzz. It also confuses some GFCIs; a Class A GFCI trips at 4-6 mA and wants clean 60 Hz to stay quiet. Pure sine ends the argument for a small premium.
How much does full sun add to the interior temperature?
Count on an extra 10-15 C of rise on a sunlit stainless face at midsummer. That is why the worked example puts the box on a shaded fence face: 15 W of inverter heat gives 3.8 C of rise in a 24 x 20 x 8 in box at 35 C ambient, and direct sun would more than triple that margin.
Should the 24 V DC negative be grounded?
Yes, at one point. If the supply bonds its negative to earth indoors, land the inverter's bonding terminal on that same ground bar and run a green equipment grounding conductor with the feed — 12 AWG copper for a 20 A fuse, sized from NEC Table 250.122. The earth itself is never the fault path under NEC 250.4(A)(5); the copper is.
Is IP67 worth it over IP66 for a fence-mounted box?
Only if the fence line floods. IEC 60529 tests IPX6 with a 12.5 mm nozzle at 100 L/min from 2.5 to 3 m, which covers rain and hose spray; IPX7 adds 1 m of still water for 30 min. IP66 is not an immersion rating, and standing water around a garden outlet is a mounting problem before it is a rating problem.





