Wiring a shed or cabin for 230 V from an inverter
Plug-in or fixed wiring, the rules, earthing an inverter supply, RCDs and the consumer unit, cables and sockets, combining with a grid supply, DC loads, and what you can do yourself.
By Michael Johnson · Updated 19 November 2026 · How we check our guides
Once a shed, workshop, cabin or garden office has a battery and inverter, the next step is often proper 230 V sockets and lights instead of extension leads. That means building a small mains electrical installation powered by an inverter, with all the same shock and fire risks as house wiring, plus some extra questions about earthing that don't arise on the grid. This guide explains what's involved, the rules in England and Wales, inverter earthing, RCDs and consumer units, cable and sockets, combining with a grid supply, and what you can do yourself versus what needs an electrician.
1. Options: plug-in or fixed wiring
| Option | Pros | Cons |
|---|---|---|
| Plug appliances into the inverter's own sockets | Simple; no installation work | Extension leads everywhere; limited sockets |
| Fixed wiring from the inverter via a small consumer unit | Proper sockets and lighting circuits, RCD protection | Needs correct earthing, design and testing |
| Low-voltage (12 or 24 V) lighting and USB, with a few 230 V sockets | Efficient; less mains wiring | Two systems to install |
2. The rules
- All fixed installations should meet BS 7671.
- In England and Wales, adding new circuits, including to outbuildings and outdoors, is usually notifiable building work under Part P: use a registered competent person or notify building control.
- Scotland and Northern Ireland have their own building standards.
- Insurers may ask for an Electrical Installation Certificate.
3. Earthing an inverter supply
- On the grid, the supplier provides an earth and links neutral to earth upstream. An inverter is a separate source, so the installation needs its own earthing arrangement.
- Usually, neutral is bonded to earth at the inverter or consumer unit (some inverters do this automatically when inverting), with an earth electrode for an isolated building.
- Without the correct arrangement, RCDs may not trip on an earth fault.
- Follow the inverter manual and get the design checked. See the earthing guide.
4. RCDs and the consumer unit
- Use a small consumer unit with RCD protection (typically 30 mA) and circuit breakers sized for each circuit.
- Test the RCD regularly. See the consumer unit guide.
- The inverter's output current limits what the circuits can draw; size breakers to protect the cables.
5. Cables, sockets and lights
- Use cable rated for the circuit and installation method; protect it from damage and rodents.
- Choose sockets rated for the environment (IP-rated outdoors, in damp sheds or workshops).
- Label sockets as inverter-supplied, so people know the power is limited.
- Keep 230 V and DC wiring separate and clearly identified.
6. Combining with a grid supply
- A supply from the house to an outbuilding usually uses buried armoured cable or cable in ducting, with RCD protection, installed by an electrician.
- Never connect an inverter to a circuit that's also fed from the grid without a proper changeover or an inverter-charger designed for it. See the inverter-charger guide and the transfer switch guide.
- Earthing arrangements differ when grid and inverter supplies are combined; get expert design.
7. Keep some things on DC
- LED lighting, USB charging, fans, pumps and routers run efficiently on 12 or 24 V. See 12 V wiring basics.
- Switch the inverter off when no mains loads are needed. See the standby power guide.
8. What you can do yourself
- Plan your loads, choose the inverter and battery, and build the DC side if you're competent. See the off-grid workshop guide and the shed solar guide.
- Plug appliances directly into the inverter.
- Have an electrician design, install or check the 230 V fixed wiring, earthing and RCDs, and issue a certificate.
9. Frequently asked questions
Can I wire sockets to my inverter in a shed?
Yes, but it's a fixed mains installation. It needs correct earthing, RCD protection and testing, and in England and Wales is usually notifiable building work.
Does an off-grid inverter need an earth?
The installation needs a correct earthing arrangement, usually neutral bonded to earth and an earth electrode, so RCDs work. Follow the inverter manual.
Is running power to a shed notifiable?
In England and Wales, a new circuit to an outbuilding is usually notifiable under Part P. Use a registered electrician.
10. Sources
- Voltimum, electrical supply to an outbuilding: voltimum.co.uk
- Selectra, power to a shed: cable size and depth: selectra.co.uk
- IET, consumer units and protective devices FAQs: theiet.org
New to some of the terms? See the glossary. Not sure where to start? Try start here.