Electrical Guide
Can You Put an Outlet Under a Window? Spacing Rules, Heaters and Curtain Safety
Can you put an outlet under a window? Yes. The NEC does not ban it, and it often counts the wall below a window as usable wall space, so an outlet there can be required to meet the 6 foot spacing rule in NEC 210.52(A). Mount it low, between the floor and the sill, keep it out of the path of window condensation, and never place it directly above an electric baseboard heater, since most heater instructions forbid that. Floor-to-ceiling glass may need a floor outlet instead.
Key Takeaways
- Outlets under windows are legal and very common.
- Windows do not break wall space in NEC 210.52(A). The wall below them still counts.
- Fixed glass panels count as wall space too. Sliding glass panels do not.
- Most baseboard heater listings forbid installing the heater below a receptacle.
- Room air conditioner cords are limited to 10 feet at 120 volts (NEC 440.64).
- In kitchens, countertop outlets under a window must still sit within 20 inches above the counter.

Windows take up wall space. Furniture goes under them. Beds get pushed against them. Desks face them for the light. So an outlet under the window is one of the most useful outlets in a room.
Yet people hesitate. Some worry about rain and condensation. Some heard you cannot put a receptacle near a heater. A Reddit user with a large kitchen window could not see where the counter outlets would go. A DoItYourself forum member asked if an outlet under the window would have any use at all.
This guide settles it with code and field experience. You will learn the spacing math, how windows and glass walls are counted, the heater and window AC rules, kitchen countertop windows and the best placement tips.
Is It Legal to Put an Outlet Under a Window?
Yes. No NEC section prohibits a receptacle under a window. In many rooms, the wall under the window is exactly where the spacing rule puts one.
The NEC does not care what is above the outlet. It cares about the wall along the floor line. A window sill 24 or 36 inches above the floor leaves plenty of wall below it for a standard box.
Google's AI summary for this query says the same thing: the code treats the space beneath a window as usable wall space. That is correct.
Is There a Minimum Height Below the Sill?
No set number. The receptacle needs a box that fits fully within the wall below the window framing. Window rough openings have a sill plate and often cripple studs below. The box mounts to a cripple stud or with an old-work box between them.
A typical receptacle height is 12 to 18 inches above the floor. A sill 24 inches or higher leaves room.
Does an Outlet Under a Window Get Wet?
Indoors, rarely. Cold single-pane windows can sweat in winter. On the Oregon coast that condensation can run down the sill. A properly installed window with sound trim keeps water out of the wall. If your sill drips, fix the window first. The outlet is not the problem.
Outdoors, the rules change. An exterior outlet under a window needs a weather-resistant receptacle and an in-use cover under NEC 406.9. That is covered later in this guide.
How Do Windows Affect Outlet Spacing Rules?
They mostly do not. Under NEC 210.52(A), wall space is measured along the floor line. Windows sit above the floor line, so the wall under them is counted like any other wall.
The 6 Foot Rule
NEC 210.52(A)(1) says receptacles must be placed so that no point measured horizontally along the floor line of any wall space is more than 6 feet from a receptacle. In practice that means one at least every 12 feet, and within 6 feet of each doorway or break.
What Breaks Wall Space
NEC 210.52(A)(2) defines wall space as any space 2 feet or more wide, unbroken along the floor line by doorways, fireplaces and fixed cabinets without countertops. Windows are not on that list. So a long wall with three windows is one continuous wall space.
Fixed Glass and Sliding Doors
Here is the nuance. NEC 210.52(A)(2) counts fixed panels in exterior walls as wall space. Sliding panels, like the moving half of a patio door, do not count. Floor-to-ceiling fixed glass still needs outlet coverage, even though there is no wall to mount one on.
The fix is a floor receptacle. NEC 210.52(A)(3) lets floor receptacles count toward the requirement if they are within 18 inches of the wall. Our guide to an outlet in a concrete floor covers floor boxes for slab homes.
| Wall feature | Counts as wall space? |
|---|---|
| Wall under a window | Yes |
| Fixed glass panel to the floor | Yes. Use a floor outlet within 18 in. |
| Sliding glass door panel | No |
| Doorway | No. It breaks the wall space. |
| Fireplace | No. It breaks the wall space. |
| Window seat cabinet | Fixed cabinet without counter breaks it |
Can You Put an Outlet Above a Baseboard Heater Under a Window?
Usually no. Electric baseboard heaters are often placed under windows, and most heater listings forbid installing them below a receptacle. A cord hanging into the heater can melt and start a fire.
The NEC flags this in an informational note in 210.52: listed baseboard heaters include instructions that may not permit their installation below receptacle outlets. Since NEC 110.3(B) requires equipment to be installed per its listing and instructions, that note has teeth.
Why Heaters Go Under Windows
Cold air falls off the glass. A heater below the window warms that air and stops the draft. That is why so many older Oregon homes have baseboard heaters right under the windows.
What Are the Options?
- Move the receptacle to the wall beside the heater, not above it.
- Use a heater with a factory-installed receptacle. NEC 210.52 lets that receptacle count, as long as it is not fed from the heater circuit.
- Shorten the heater or move it to free wall space for the outlet.
- Switch to a wall heater or a ductless heat pump head.
Can a Window Air Conditioner Use an Outlet Under the Window?
Yes, and it is the best spot. NEC 440.64 limits room air conditioner cords to 10 feet at 120 volts and 6 feet at 208 or 240 volts, so the outlet should be close to the window.
Circuit Load Limits for Window Units
NEC 440.62 sets limits for cord-connected room air conditioners. The AC's rating cannot exceed 80 percent of the branch circuit rating if nothing else is on the circuit. If lights or other outlets share the circuit, the AC cannot exceed 50 percent.
| Circuit | Max window AC rating |
|---|---|
| 15 A, AC only | 12 A (80 percent) |
| 15 A, shared | 7.5 A (50 percent) |
| 20 A, AC only | 16 A (80 percent) |
| 20 A, shared | 10 A (50 percent) |
A typical 8,000 BTU unit draws around 6 to 7 amps. A 12,000 BTU unit can draw around 10 to 11 amps. Check the nameplate. A big unit on a shared bedroom circuit can trip the breaker on a hot evening.
Cord Protection on Window Units
Room air conditioner cords carry an LCDI or AFCI device on the plug, required by NEC 440.65. That is the bulky plug with test and reset buttons. Do not cut it off or replace it with a standard plug.
Never plug a window AC into an extension cord. Manufacturers forbid it. The heavy, continuous draw overheats light cords.
Can You Put an Outlet Under a Kitchen Window?
Yes, if it sits on the backsplash between the counter and the sill and no more than 20 inches above the counter. A low sill can leave too little room, which forces other solutions.
NEC 210.52(C)(1) requires countertop receptacles so that no point along the wall line is more than 24 inches from one. A long window over a counter can make that tricky. A Reddit user hit exactly this with a large kitchen window.
Solutions for a Low Kitchen Window
- Install a receptacle in the short backsplash strip below the sill, oriented horizontally if needed.
- Put receptacles at each end of the window, close enough to cover the counter between them.
- Use a listed plug strip under the upper cabinets beside the window.
- Check the sink exception in NEC 210.52(C)(1), which can exempt the wall directly behind a sink in some layouts.
Kitchen windows are often over the sink. A receptacle there must be GFCI protected, like every kitchen receptacle under 2023 NEC 210.8(A). Our guide to an outlet next to a kitchen sink covers distance and splash concerns.
One forum commenter wondered why there was an outlet above the kitchen window. That is usually for under-cabinet or holiday lighting. See an outlet above a kitchen cabinet.
Where Exactly Should the Outlet Go Under a Window?
Centered under the window if furniture will sit there, or offset to one side for a bed or desk. Keep it at normal height and clear of baseboard heaters, curtain hems and window seat cushions.
Bedroom Windows
Beds often go on the window wall. An outlet under the window sits right beside a nightstand. That is handy for lamps and charging. One home design creator called outlets under windows perfect for bed walls. Just avoid placing it where the headboard will crush the plug. Our guide to an outlet behind a bed covers that risk.
Living Room Windows
A sofa or reading chair often sits under a big window. An outlet there powers a floor lamp. Put it near the end of where the sofa will be, so the plug stays reachable.
Home Office Windows
Desks face windows for light. An outlet under the window at desk height, or just above the desk, reduces cords on the floor. See an outlet under a desk for layouts.
Holiday Lights in Windows
Plug-in window candles and lights need an outlet close to the sill. A receptacle under each front window makes seasonal decorating cord-free. Some homeowners add a switched receptacle for this.
Curtains and Drapes
Long drapes brush the floor. They can cover the outlet and the plug. That is fine for a phone charger. It is not fine for a heater, a halogen lamp or anything hot. Keep heat makers off curtain walls.
Can You Put an Outlet Under a Window on the Outside of a House?
Yes. It must be a weather-resistant, GFCI-protected receptacle with an in-use cover, and it should sit clear of the window's drip line.
NEC 406.9(B) requires 15 and 20 amp receptacles in wet locations to have an enclosure that is weatherproof while a cord is plugged in. NEC 406.9(A) and (B) also require weather-resistant receptacles. NEC 210.8(A) requires GFCI outdoors.
Water running down the siding below a window concentrates at the corners. Offset the box away from the corners and seal the cover to the siding per the cover instructions. Our guide to an outlet on an exterior wall walks through outdoor installs, and an outlet on a brick wall covers masonry homes.
How Do You Add an Outlet Under an Existing Window?
An electrician finds a nearby receptacle on the same wall, fishes cable along the floor line or through the crawl space, and sets an old-work box between the cripple studs below the sill.
Find a Source
A receptacle on the same wall or a crawl space below is easiest.
Locate Framing
Find the cripple studs and sill plate below the window.
Kill Power
Shut off the breaker and test the source.
Cut and Fish
Cut the box hole and fish cable through the bays.
Box and Device
Install an old-work box and a tamper-resistant receptacle.
Test
Test polarity, ground and AFCI, then inspect.
Exterior walls have insulation and a vapor barrier. Fishing through them is harder than through an interior wall. Some electricians drop in from the crawl space instead. If you want to avoid wall work, see adding an outlet without opening the wall.
Does an Outlet Under a Window Lose Heat in Winter?
It can, because most windows sit on exterior walls. Outlets on exterior walls leak air unless they are sealed.
Use foam gaskets behind the cover plate or air-sealed electrical boxes. The U.S. Department of Energy lists electrical outlets on exterior walls among common air leak points. A $1 gasket fixes it.
Frequently Asked Questions
Can you put an outlet under a window?
Yes. The NEC allows it and counts the wall below a window as wall space for the 6 foot spacing rule.
Do windows count as wall space for outlets?
The wall below a window counts. Fixed glass panels count. Sliding panels and doorways do not.
Can an outlet go above a baseboard heater?
Usually no. Most heater listings forbid installing the heater below a receptacle. Put the outlet beside the heater.
How close should the outlet be to a window AC?
Close. NEC 440.64 limits 120 volt room AC cords to 10 feet. Never use an extension cord.
What if a window goes all the way to the floor?
Use a floor receptacle within 18 inches of the wall. NEC 210.52(A)(3) lets it count.
Can I put an outlet under a kitchen window?
Yes, if it fits on the backsplash within 20 inches above the counter. It must be GFCI protected.
Can an outdoor outlet go under a window?
Yes, with a weather-resistant GFCI receptacle and an in-use cover, away from the window's drip corners.
Do outlets under windows get wet?
Indoors, only if the window leaks or sweats heavily. Fix the window or condensation problem first.
The Bottom Line
You can put an outlet under a window. The code counts that wall, and the spacing rule often requires it.
Keep it clear of baseboard heaters. Place it close to any window AC. In kitchens, keep it within 20 inches above the counter. Outdoors, use a weather-resistant GFCI with an in-use cover.
Plan it around the furniture you will put under the window. Then pull the permit, get it inspected and enjoy the most useful outlet in the room.
How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Sources reviewed: 2023 National Electrical Code sections 110.3(B), 210.8(A), 210.52(A) and (C), 406.9, 440.62, 440.64 and 440.65; the Oregon Electrical Specialty Code; U.S. Fire Administration heating fire guidance; U.S. Department of Energy air sealing guidance; room air conditioner nameplate ratings; and homeowner threads on Reddit, Houzz and DoItYourself. Local amendments and your inspector decide edge cases.