Electrical Guide

Can You Put an Outlet Under a Bed? Fire Risk, Bed Frames and Safer Spots

Can you put an outlet under a bed? Yes, nothing in the NEC bans a receptacle that ends up under a bed, and bedroom spacing rules often put one there. But a plug trapped under a bed frame or pressed by a mattress can bend, loosen and overheat right next to bedding. Bedroom outlets need AFCI protection (NEC 210.12) and tamper-resistant devices (406.12). The safer plan is to place outlets beside the bed at nightstand height and keep the space under the bed free of plugs.

Key Takeaways

  • An outlet under a bed is legal. It is just a poor spot for active plugs.
  • Bedrooms need AFCI protection and tamper-resistant receptacles.
  • Bent or half-pulled plugs heat up. Bedding and dust nearby can ignite.
  • Floor outlets under a bed need a listed floor box and can be stepped on or crushed.
  • Outlets beside the bed at 24 to 30 inches are easier to reach than low ones.
  • EMF from home wiring drops off fast with distance and is far below international exposure guidelines.
Outlet under a bed: bedroom with a platform bed and a wall outlet near the floor under the bed edge

Bedrooms are full of things that need charging: phones, watches, CPAP machines, lamps, air purifiers and adjustable bed bases. Many of those cords end up under the bed, plugged into whatever outlet the frame hides.

People notice. Reddit threads ask if it is safe to sleep next to outlets, and one person posted a photo of a plug wedged behind a mattress, asking if they were the only one with that problem. The top reply was blunt: never do that next to a mattress or bedding.

This guide covers outlets under beds the right way. You will learn the code, the real fire risk, better placement, floor outlets for beds in the middle of the room and what science says about EMF near your pillow.

210.12NEC AFCI rule covering bedrooms
406.12NEC tamper-resistant receptacle rule
6 ftMax distance from any wall point to an outlet
51,000Home electrical fires per year (ESFI estimate)

Yes. The NEC does not regulate furniture. An outlet that ends up under a bed is a normal bedroom receptacle.

NEC 210.52(A) requires bedroom receptacles so that no point along a usable wall is more than 6 feet from one. That rule ignores where the bed goes. In many bedrooms, the bed wall gets at least one outlet, and some of them end up under the frame or behind the headboard.

Low platform beds and storage beds make it worse. They sit tight to the floor and the wall.

Is an Outlet Under a Bed a Fire Hazard?

It can be. The outlet itself is not the problem. Plugs pushed sideways by a frame or mattress loosen, heat up and sit next to fabric, dust and stored items.

How a Plug Overheats

A plug that is pressed at an angle loses solid contact with the receptacle springs. Less contact means more resistance. More resistance means heat. Over months, that heat can soften the plug, scorch the receptacle and damage the cord.

Why the Bed Location Matters

Under a bed is dark, dusty and full of fuel: mattress fabric, bed skirts, storage boxes and dust bunnies. A hot plug there goes unseen. You might sleep inches away.

The Electrical Safety Foundation International estimates home electrical fires cause about 51,000 fires and nearly 500 deaths a year in the US. Many start in cords and plugs, not in the wall.

  • Plugs bent sideways by the bed frame.
  • Power strips buried under the bed.
  • Heating pads, electric blankets or space heaters plugged in under the bed.
  • Cords pinched between the frame and the wall.
  • Brown or melted marks on the plug or cover plate.
Warning: If you smell hot plastic in the bedroom, pull the bed away and check every plug. A warm or discolored plug means stop using that outlet until an electrician checks it.

What Code Rules Apply to Bedroom Outlets?

AFCI protection, tamper-resistant receptacles and the 6 foot spacing rule. Bedrooms were the first rooms the NEC required AFCI for, back in the 1999 edition.

RuleWhat it means
210.52(A) spacingNo wall point more than 6 ft from an outlet
210.12 AFCIArc fault protection for bedroom circuits
406.12 TRTamper-resistant receptacles
210.52(A)(3) floor outletsCount only within 18 in of the wall
314.27(B) floor boxesMust be listed for floor use

Why AFCI Matters Under a Bed

An AFCI breaker watches for arcing, the exact failure a crushed plug or pinched cord creates. Bedroom fires at night are dangerous because people are asleep. That is why the NEC started its AFCI rules with bedroom circuits.

If your home is older, the bedroom circuits may not have AFCI. Adding a combination AFCI breaker is often a simple upgrade. NEC 406.4(D)(4) also requires AFCI protection when you replace a receptacle in an area that now needs it.

Where Should Bedroom Outlets Go Instead?

Beside the bed, just above nightstand height, around 24 to 30 inches off the floor, on both sides. That keeps chargers and lamps reachable and keeps plugs out from under the frame.

Nightstand-Height Outlets

A receptacle just above the nightstand top is easy to reach for phone charging, and the cord never touches the floor. Many remodelers add a USB-C combo receptacle on each side.

Both Sides of the Bed

Couples fight over the one outlet. Plan one on each side of the headboard location. If you do not know where the bed will go, put outlets at the center of each long wall and near each corner.

Adjustable Beds and CPAP

Adjustable bed bases and CPAP machines need power all night. Place their outlets where the cord can run without pinching as the bed moves. Many adjustable base manuals warn against extension cords. A dedicated outlet behind the bed area with slack is best. See an outlet behind a bed for headboard placement.

Can You Move an Outlet That Is Under the Bed?

Yes. An electrician can raise the box to nightstand height in the same stud bay, or add a new outlet beside the bed and blank off the old one.

1

Plan the Bed

Decide where the bed and nightstands will stay.

2

Kill Power

Turn off the breaker and test the outlet.

3

Open Above

Cut a new box hole at nightstand height.

4

Extend

Run cable from the old box up the stud bay.

5

Finish Old Box

Leave a blank plate or a receptacle. Never bury the box.

6

Protect

Confirm AFCI and TR, then test.

The old box must stay accessible under NEC 314.29. A blank cover plate behind the bed is fine. Drywall over a box with splices is not.

Can You Put a Floor Outlet Under a Bed?

Yes, with a floor box listed for floor use. It helps when the bed sits in the middle of a room, but it can be crushed by bed legs or stepped on.

NEC 314.27(B) requires floor receptacle boxes to be listed for the application. Place it under a nightstand or beside the headboard, not where a bed leg or rail will sit on it.

For slab floors, see an outlet in a concrete floor. For wood floors, the box mounts to framing below.

Beds With Built-In Outlets

Many headboards and storage beds now come with built-in USB and AC outlets. These are furniture power units. Look for a listing to UL 962A. They plug into a wall outlet, so put that outlet where the plug will not be crushed.

Is It Safe to Sleep Next to an Outlet?

Yes. Fields from home wiring are weak and fall off quickly with distance. The real risk near a bed is a damaged plug or overloaded strip, not EMF.

EMF articles claim outlets behind the bed disrupt sleep. The science is far less dramatic. The World Health Organization's cancer agency, IARC, classified extremely low frequency magnetic fields as "possibly carcinogenic" (Group 2B) in 2002, based on limited evidence at higher average exposures than most homes see. That category also includes many everyday things.

Magnetic fields from household wiring drop sharply within a foot or two. A Reddit commenter put it simply: power wires near bed heads have been normal for 70 years. If you want less exposure, put the phone charger a few feet away. It costs nothing.

Myth: Outlets behind the bed give off radiation.

Outlets carry 60 Hz power. Fields are weak and drop fast with distance. They are not ionizing radiation.

Myth: An outlet under the bed is illegal.

It is legal. It is just a poor spot for plugs.

Myth: A power strip makes it safe.

A strip under a bed adds more plugs in a hidden, dusty spot.

What Should Never Be Plugged In Under a Bed?

Space heaters, heating pads and electric blankets left running, power strips piled with chargers, and anything with a damaged cord.

The U.S. Fire Administration advises keeping space heaters at least 3 feet from anything that can burn, including bedding. A heater under or next to a bed breaks that rule. Plug heaters directly into a visible wall receptacle.

Closets and beds are both bedroom fire zones. See an outlet in a closet for the closet version.

More placement guides: install two outlets in one electrical box, add an outlet without opening the wall and an outlet under a desk.

Frequently Asked Questions

Can you put an outlet under a bed?

Yes, it is legal. It is a poor place for active plugs because frames and mattresses press on them.

Is it safe to have a bed against an electrical outlet?

Only if the plug is not bent or crushed. Leave a gap or use a flat right-angle plug.

Can you sleep next to an outlet?

Yes. Fields from home wiring are weak. The real risk is a damaged or overheating plug.

Do bedroom outlets need AFCI?

Yes. NEC 210.12 requires AFCI protection for bedroom circuits.

Where should outlets go by a bed?

Beside the bed, just above nightstand height, on both sides.

Can a floor outlet go under a bed?

Yes, with a listed floor box placed where legs and rails will not sit on it.

Can I plug a space heater in under the bed?

No. Keep heaters 3 feet from bedding and plug them into a visible wall outlet.

Can an outlet under a bed be moved?

Yes. An electrician can raise it in the same stud bay and leave a blank plate on the old box.

The Bottom Line

You can put an outlet under a bed, and bedroom spacing rules sometimes do. It is just a bad home for plugs.

Move active plugs to outlets beside the bed at nightstand height. Use AFCI protection and tamper-resistant receptacles. Never run heaters or power strips under the bed.

Pull the bed out once a year, check every plug and vacuum the dust. That simple habit removes most of the risk.

How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Sources reviewed: 2023 National Electrical Code sections 210.12, 210.52(A), 314.27(B), 314.29, 406.4(D) and 406.12; Electrical Safety Foundation International fire statistics; U.S. Fire Administration space heater guidance; IARC Monograph Volume 80 on extremely low frequency magnetic fields; UL 962A furniture power units; and homeowner threads on r/Electricity and r/HomeImprovement. Local amendments and your inspector decide edge cases.

Call now Free estimate