Installing Electricity in a Shipping Container

Bonding the steel shell, grounding electrode systems, service sizing, circuit layout, wiring methods, and what you can DIY vs what requires a licensed electrician.

Not a wiring guide. This explains the requirements and decisions involved so you can have an informed conversation with a licensed electrician and inspector. Code sections are cited so you can look them up. Your AHJ (authority having jurisdiction) and locally adopted NEC edition govern. Electrical work in an occupied structure requires a permit in nearly every jurisdiction. Compiled August 2026.

Wiring a shipping container home is similar to wiring any residential structure — with one critical difference that standard residential plans don't address: you are working inside a continuous conductive steel enclosure. That shell must be bonded to the grounding system. Skip this step and a fault anywhere inside the container can energize every wall, the floor frame, the door, and the exterior skin. This guide covers bonding, grounding, service size, circuit layout, wiring methods, and cost.

01 — Bonding the Steel ShellThe Requirement Nobody Plans For

A shipping container is a continuous conductive steel enclosure. If any energized conductor inside faults to the shell — a screw through a cable, a chafed conductor at a cut edge, a failed device — the entire structure becomes energized. NEC Section 250.4(A) requires that normally non-current-carrying conductive materials likely to become energized be connected together and to the supply source to establish an effective ground-fault current path, so a fault trips the overcurrent device instead of waiting for a person.

⚠ Standard residential plans do not cover this

Most residential electrical plans use boilerplate notes that reference NEC 250 generically. A stick-framed house has no continuous conductive shell, so the boilerplate is adequate. A container does — and if your plans do not contain an explicit container bonding note, the bonding may not get installed, and may not get caught at inspection because the inspector is looking at a plan that doesn't call for it.

ElementRequirement
ScopeAll shipping container shells and frames shall be bonded to the building grounding electrode system
Code basisNEC 250.4(A)(2), 250.50, and 250.104
ConductorMinimum #6 AWG copper bonding conductor per container unit
PathFrom container steel frame to the equipment grounding bus in the associated electrical panel
PreparationConnection points on container steel must be CLEANED TO BARE METAL
Corrosion protectionAnti-oxidant compound applied at the lug — a dissimilar-metal joint (copper to steel) that corrodes silently without it

Source: Oasis Engineering, “Electrical Grounding & Bonding for Shipping Container Homes,” April 2026. Verify conductor sizing against your adopted NEC edition and your engineer’s design — bonding conductors are generally sized per Table 250.122 based on the rating of the overcurrent device that could energize the metal.

Multiple containers: The specification says “each container unit.” A multi-container build is multiple separate steel structures. Welded connections between them may not provide a reliable electrical path — relying on a structural weld as a bonding conductor is not the same as installing one. Each unit gets its own bonding conductor unless an engineer specifies otherwise.

GFCI and bonding are complementary, not alternatives

GFCI protects against current finding a path to ground through a person. In a conductive steel building where every surface is potentially at ground, the availability of that path is higher than in a wood-framed house. That argues for taking GFCI requirements seriously and for considering GFCI protection in locations where it is permitted but not required.

02 — Grounding Electrode SystemSeparate Structure Rules (NEC 250.32)

The common case for a container home: a container on a property, fed from the main house or a meter pole. NEC 250.32 governs, and it catches people with two specific requirements.

RequirementDetail
Grounding electrode system required250.32(A) requires a grounding electrode system at each building or structure supplied by a feeder. Exception: NOT required where only a single branch circuit supplies the structure.
Four-wire feederTwo ungrounded conductors, a grounded (neutral) conductor, and an equipment grounding conductor. Required for new work since the 2008 NEC.
Neutral must be isolatedThe grounded conductor shall NOT be connected to the grounding electrode or equipment grounding conductors at the separate structure. Neutral and ground are separate at that panel — this is the most common error.
Ground rodsA rod or pipe electrode requires a supplemental electrode unless 25 ohms or less is demonstrated — which is why two rods is standard practice
⚠ The four-wire rule changed in 2008 and people still get it wrong

Before the 2008 NEC, a three-wire feeder to an outbuilding was permitted and the neutral was re-bonded at the second structure. That is no longer allowed for new work. If you are following older advice, a diagram from a 1990s book, or a contractor working from memory, this is the single most likely error in a container home installation.

Electrode typeAvailability at a container
Concrete-encased electrode (Ufer)Available if the container sits on a concrete slab or footing with rebar — often the best electrode when present. Decide at foundation design, not at rough-in.
Driven rods (2 minimum)The usual answer for pier or screw-pile foundations. Two required unless one rod measures 25 ohms or less.
Ground ringPossible but uncommon residentially
Plate electrodeAn option where rock prevents driving rods
What the earth does not do

The NEC prohibits the earth from serving as an effective ground-fault current path (250.4(A)(5)). Ground rods limit induced voltages from nearby lightning strikes — they do not clear faults. Fault current returns on the equipment grounding conductor. A container with excellent ground rods and no EGC is not grounded in any protective sense.

📐

Blueprint Sets Including Electrical Layouts

Permit-ready container home plan sets with electrical panel location, circuit schedules, and grounding/bonding details.

Browse Blueprint Sets on Amazon →

03 — Service Size50A vs 100A — Size Up

The trench costs the same either way. The decision to downsize the service is the cheapest one to make correctly and the most expensive one to reverse.

50A subpanel100A subpanel
Typical useShop, studio, office, small ADU with minimal loadFull dwelling with HVAC, water heater, kitchen
What it runs comfortablyLighting, receptacles, one mini-split, small appliancesAll of the above plus electric range, water heater, EV charging
Trenching costSameSame
Labor costNearly identicalNearly identical
Cost to upgrade laterRe-trench, re-pull wire, new panel, new permitNone
What drives the load calculation

Mini-split (dedicated circuit, sized per nameplate MCA) · Water heater (electric tankless is a very large load) · Range or cooktop · Clothes dryer · EV charger (plan the panel space now even if installing later) · Well or septic pump if applicable · Workshop tools (welders and compressors have high momentary demand). Give your electrician the actual feeder run distance early — voltage drop over 100–300 feet changes conductor sizing and cost.

04 — Circuit LayoutNEC Requirements for a Container Dwelling

CircuitTypeNotes
Mini-split heat pumpDedicated, sized per nameplateMCA and max OCPD from the equipment label govern — not a rule of thumb
Kitchen small applianceTwo 20A circuits minimum (NEC required)At least two 20A circuits serving countertop receptacles
RefrigeratorOften dedicatedKeeps fridge off a GFCI that can nuisance-trip
Bathroom receptacles20A, GFCI (NEC required)Dedicated 20A circuit for bathroom receptacles
Laundry20A dedicatedRequired where laundry is present
General lighting and receptacles15A or 20ASized by area and load calculation
Exterior receptaclesGFCI, weather-resistant, in-use coverAll outdoor receptacles
Water heaterDedicated, sized to nameplate
Range/cooktop (if electric)Dedicated 240V
EV chargerDedicated 240VPlan the breaker space even if installing later
Spare breaker spacesLeave them. You will use them.
Protection typeWhere requiredNote
GFCI — NEC 210.8Bathrooms, kitchens, outdoors, garages, laundry areas, and receptacles within specified distance of sinksThe list has expanded in recent code cycles — check your adopted edition
AFCI — NEC 210.12Most dwelling-unit branch circuitsAlso expanded over recent cycles

05 — Container-Specific ConstraintsWhat Changes vs a Wood-Frame Build

06 — Wiring MethodsNM-B vs MC Cable vs EMT

MethodWhere it fitsContainer considerations
NM-B (Romex)Inside finished, framed, dry interior walls where permittedCheapest and fastest. Not permitted where exposed to physical damage, in wet/damp locations, or in many exposed applications. Article 334.
MC cableInterior runs where some mechanical protection is wantedMetal armor provides impact protection; works in more locations than NM-B. Article 330.
EMT conduitExposed runs, anywhere subject to physical damage, industrial-look installsMost robust option. Gives a rework path — pull new conductors later without demolition. Article 358. Often preferred for the exposed-steel aesthetic.

07 — DIY vs LicensedWhat You Can and Cannot Do

TaskDIY feasible?Notes
Trench diggingYesCall 811 (Dig Safe) before any trenching
Conduit installation and pulling wireYes in most jurisdictionsCheck your local requirements
Device installation (outlets, switches)Yes in most jurisdictionsAfter rough-in is inspected
Panel installation and breaker wiringJurisdictionally variableMany jurisdictions require a licensed electrician for panel work
Service connection (meter to panel)No — licensed electrician requiredUtility will not connect without a licensed electrician sign-off in most jurisdictions
Bonding the container shellTechnically DIY, but specify explicitlyMust be on the plans and inspected; clean to bare metal; anti-oxidant compound required
Mini-split refrigerant connectionNo — EPA 608 certified technician requiredFor systems with pre-charged line sets, installation may be DIY; refrigerant work requires certification

08 — Cost BreakdownWhat Electrifying a Container Actually Costs

ItemBudget rangeNotes
100A subpanel + breakers$300–$600 (materials)Leave spare spaces
Feeder wire (100A, 100 ft run)$400–$800Conductor cost scales with distance and ampacity
Trenching (100 ft)$500–$2,000Varies by soil, depth, and access
Conduit (underground)$200–$500Schedule 40 PVC underground
Container bonding (materials)$50–$150#6 AWG copper, lugs, anti-oxidant compound
Ground rods + clamps$50–$150Two 8-ft rods standard
Interior wiring (1 bedroom home)$800–$2,500 (materials)EMT conduit is higher; NM-B is lower
Devices, covers, plates$300–$800GFCI/AFCI devices add cost
Licensed electrician labor$2,500–$8,000Highly variable by market and scope
Permit and inspection fees$200–$1,000Jurisdiction-dependent
Total all-in (100A service, 40-ft container home)$5,300–$16,500Lower end: rural, good DIY, short run. Upper end: long run, full contractor, premium devices.
🚚

Get a Container Delivered to Your Site

Shipped.com aggregates prices from verified depots nationwide. Get a delivered price before your electrical rough-in planning.

Get a Quote from Shipped.com →

09 — FAQ

Does a shipping container need to be grounded?
Yes — and bonded, which is a related but distinct requirement. The steel shell must be bonded to the grounding electrode system (NEC 250.4(A)(2), 250.50, 250.104) with a minimum #6 AWG copper bonding conductor connected to bare metal with anti-oxidant compound at the lug. A standard residential electrical plan does not typically specify this because stick-framed houses have no continuous conductive shell. Your container electrical plans must explicitly call out the bonding requirement.
What size electrical panel does a container home need?
A 100A subpanel is the right choice for any full-time dwelling. A 50A panel is adequate for a workshop, studio, or minimal ADU without HVAC. The feeder trench costs the same either way — the wire is the main difference, and re-trenching to upgrade later costs far more than sizing up now. Run a proper load calculation with your electrician, and when the calculation lands near a boundary, go up.
Can I run Romex (NM-B) in a shipping container home?
In finished, framed, dry interior walls where permitted by your local code — yes. NM-B is not permitted where exposed to physical damage, in wet or damp locations, or in many exposed-run applications. In practice, many container builders use MC cable or EMT conduit throughout because the exposed corrugated steel environment has more locations where NM-B is prohibited, and EMT suits the industrial aesthetic. Check your locally adopted NEC edition and your inspector's interpretation.
Do I need GFCI outlets in a container home?
Yes — and the list of required GFCI locations has expanded in recent NEC editions. Required locations include bathrooms, kitchens, outdoors, garages, laundry areas, and receptacles within specified distances of sinks. In a conductive steel structure where every surface is potentially at ground, the availability of a fault path through a person is higher than in a wood-framed house — which argues for taking GFCI requirements seriously and considering it in locations where it's permitted but not explicitly required.
Can I wire a container home myself?
Partially. Trench digging, conduit installation, wire pulling, and device installation are DIY-feasible in most jurisdictions with a permit. Panel installation and service connection typically require a licensed electrician. Container bonding is technically DIY but must be explicitly on the plans and inspected. Refrigerant work on a mini-split requires an EPA 608 certified technician. Do not do permitted work without a permit — it creates problems at inspection, at insurance renewal, and at resale.
How much does it cost to wire a shipping container home?
All-in for a 40-ft container home with a 100A service: $5,300–$16,500. The lower end assumes a short feeder run, significant owner labor, and a rural location with lower permit fees. The upper end reflects a long run, full contractor labor, premium GFCI/AFCI devices, and higher-cost urban markets. The feeder run distance is the single biggest cost variable beyond panel size.