ElectricalToolbox

Can You Bury an Extension Cord for Halloween Decorations?

No. An extension cord, even a heavy orange outdoor one, is built for temporary use on top of the ground. It is not rated to be buried, and putting one under dirt, mulch, sod, or gravel is unsafe and against the National Electrical Code (NEC). Soil holds moisture against the jacket, a shovel or a tent stake next season can slice it without anyone seeing, and once buried the cord can no longer shed the heat it makes under load. Burying it also turns a temporary cord into permanent house wiring, which is a job an extension cord is not designed to do. For a Halloween display that comes down in November, run the cord on the surface, protect it where people walk, and pick it up after the season. If you genuinely need power run underground to a spot in the yard for good, that is buried cable installed by a licensed electrician, not an extension cord.

People bury a cord to hide a long ugly run across the yard. The run being long is its own problem: a thin cord over a long distance loses voltage and starves the display. Before you route it, check the gauge against the length and load on the Extension Cord Voltage Drop Calculator so a shorter, thicker cord solves the reason you wanted it out of sight.

Why an extension cord can't go underground

An outdoor extension cord is jacketed to survive weather and sunlight on the surface, where it stays visible and can dry out and breathe. It is not sealed for constant contact with wet soil. Bury it and three things work against it at once. Moisture in the ground presses on the jacket around the clock and eventually finds any nick or worn spot, which on an outdoor circuit means nuisance ground-fault trips at best and a live fault to earth at worst. The cord is now invisible, so the next person with a shovel, an aerator, or a stake for a tent or a sign has no idea it is there. And a cord makes heat when it carries current; on the surface that heat drifts off into the air, but packed in dirt it has nowhere to go, so the cord runs hotter than its rating assumes.

There is a code reason on top of the physical one. The NEC lists the uses that flexible cords are not permitted for, and burying one hits several of them: it is being used as a substitute for the fixed wiring of the property, it is concealed, and it is where it can be physically damaged. A cord is a temporary connection, and permanent underground power is a different kind of wiring entirely.

What buried power actually looks like

If you want power run underground to a post lamp, a shed, or a yard outlet permanently, the right materials are direct-burial cable (the gray UF cable made for it) or ordinary conductors inside a buried conduit, installed as a real branch circuit. The code even sets how deep it has to sit so a future shovel clears it. Those minimum cover depths, from the NEC burial table, give a sense of the gap between a proper install and dropping a cord in a trench:

Direct-burial UF cable, no conduit: 24 in of cover

PVC (nonmetallic) conduit rated for burial: 18 in of cover

Residential 120 V circuit, GFCI protected, 20 A or less: 12 in of cover

Rigid metal or intermediate metal conduit: 6 in of cover

Those are inches of earth over listed, buried-rated materials on a permanent circuit. An extension cord meets none of that, at any depth. The takeaway is not "bury it 24 inches deep," it is that anything meant to live underground is a different product than the cord on your reel, and putting it in is an electrician's job with a permit, not a Halloween shortcut.

The safe way to route a seasonal cord

Keep the cord on top of the ground where you can see it and it can shed heat. Use an outdoor-rated cord (the packaging says outdoor, and the jacket is usually marked with a W). Where it crosses a walkway, a path, or the driveway, cover just that stretch with a proper cord protector or cable ramp so nobody trips and no wheel crushes it, rather than hiding the whole run. Keep the plug ends up off wet ground and under an in-use bubble cover, and feed the whole thing from a GFCI-protected outdoor outlet, which the code requires for outdoor receptacles at a home. Then take the cord up when the season ends. A cord that is out for six weeks and then coiled back onto the reel is being used the way it was designed to be.

A quick sizing example for the surface run

Say the reason you wanted to bury the cord is that it has to reach a display 100 feet across the yard pulling about 5 amps of lights and a prop. Run it on the surface, but size it right, because 100 feet is far enough that a thin cord sags the voltage. Voltage drop on a 120-volt cord is figured as two times the wire's resistance times the current times the length. On a common 16-gauge cord:

16 AWG, 100 ft, 5 A: 2 × 12.9 × 5 × 100 ÷ 2,580 cmil = 5.0 V

5.0 V ÷ 120 V = 4.2% drop

Step up to a 12-gauge cord over the same run and the drop falls to comfortable:

12 AWG, 100 ft, 5 A: 2 × 12.9 × 5 × 100 ÷ 6,530 cmil = 2.0 V

2.0 V ÷ 120 V = 1.6% drop

A common rule of thumb keeps a branch circuit under about a 3 percent drop, so the 12-gauge cord clears it and the 16-gauge one does not on a run this long. That is the real fix for a long yard cord: a thicker cord on the surface, not a thin one in a trench. Run your own length and load through the Extension Cord Voltage Drop Calculator to see which gauge you need.

The short version

  • Do not bury an extension cord. It is a temporary, on-the-surface cord and is not rated for soil, at any depth.
  • Buried moisture, hidden damage, and trapped heat are the three ways it goes wrong, and the code lists burying a cord among the uses not permitted.
  • Real underground power is direct-burial cable or conduit, installed as a permanent circuit by a licensed electrician.
  • Route the seasonal cord on top, outdoor-rated, on a GFCI outlet, with a cord cover only where people cross it, and take it up after Halloween.
  • If the run is long, go thicker, not buried. A 12-gauge cord holds voltage where a 16-gauge one sags.

NEC reference

NEC 2020. Flexible cords and extension cords fall under Article 400, and the uses that are not permitted, including as a substitute for the fixed wiring of a structure, where concealed, and where subject to physical damage, are listed in 400.12. Permanent underground wiring uses direct-burial cable such as Type UF (Article 340) or conductors in a buried raceway, with the minimum burial cover set by Table 300.5; the cover figures above are read from that table for NEC 2020 and are the minimum earth over listed, buried-rated materials, not values for a cord. Outdoor receptacles at a dwelling must be GFCI protected under 210.8(A). The voltage-drop figures use the circular-mil areas of solid copper from Chapter 9, Table 8 (16 AWG and 12 AWG), and the 3 percent target is an informational recommendation in the NEC, not a code requirement.

Results are for reference only. Verify against the applicable adopted edition of the NEC and consult a licensed electrician for code compliance.

Get the full guide

NEC Code Quickstart

This guide covers one calculation. NEC Code Quickstart walks all twelve exam calculations start to finish, each with a worked example and the exact code reference: ampacity and derating, breaker sizing, voltage drop, box and conduit fill, grounding, dwelling load, range and dryer demand, motor circuits, and transformer current. Written for the 2023 NEC with notes for the 2026 edition.

Related