Yes—in most U.S. jurisdictions, a bedroom must have at least one operable emergency escape and rescue opening that meets the adopted building code, and that opening is what people mean by an egress window. The requirement is triggered by the room's use as a sleeping room, not by the word "basement," so a basement bedroom and a second-floor bedroom are both subject to it.

Whether your specific room legally qualifies depends on the code edition your local authority enforces and how the opening is sized, positioned, and operated.

What "egress window" actually means in code

An egress window is not a product category you buy off a shelf; it is a performance standard that a window opening must satisfy. The International Residential Code (IRC), which most U.S. states and many localities adopt with amendments, sets out the emergency escape and rescue opening requirements in its egress section—historically Section R310 in editions through 2021 and renumbered in later editions.

The core idea is that a sleeping occupant must be able to escape, and a firefighter in gear must be able to enter, without tools and without contorting through a slot.

That dual purpose is why the dimensions are more generous than a typical ventilation window. An opening sized for a child to crawl through is not the same as one sized for a rescuer wearing an air pack. The code resolves this by specifying a minimum clear opening area, minimum width and height, and a maximum sill height above the floor.

The requirement applies to basements and every sleeping room, and it also governs how the opening is accessed—through a window well, for example—and how it connects to the exterior. A window that opens onto an interior light well or a covered patio with no path out does not satisfy the intent, and inspectors commonly look for that.

The dimensions that decide whether a window qualifies

The classic egress figure most builders and inspectors cite is a net clear opening of at least 5.7 square feet. That number comes from the IRC and is the most commonly quoted threshold; some older codes and some local amendments use 5.0 square feet, so the exact figure is worth confirming with your building department rather than assuming.

The 5.7-square-foot area is only one of several limits that must all be met simultaneously:

  • Minimum net clear opening area: typically 5.7 sq ft (5.0 sq ft in some older or amended codes).
  • Minimum net clear opening height: typically 24 inches.
  • Minimum net clear opening width: typically 20 inches.
  • Maximum sill height: typically 44 inches above the finished floor.

"Net clear" is the operative phrase. It means the unobstructed opening you actually get when the window is fully open—not the rough opening framed into the wall, and not the glass area. A double-hung window, for instance, typically provides only about half its total glass area as clear opening because the sash slides over the other half.

A casement or awning window that swings clear can often deliver the full opening. This is why two windows with the same nominal size can differ dramatically in whether they pass.

The arithmetic matters. A window with a 20-inch clear width needs at least about 41 inches of clear height to reach 5.7 sq ft (20 × 41 = 820 sq in ÷ 144 ≈ 5.7 sq ft). A 24-inch-wide opening needs roughly 34 inches of height. A common 5.0-square-foot local standard changes those thresholds slightly. The point is that width, height, and area are three separate tests, and the smallest of them governs.

Sill height is equally decisive, especially in basements. A basement window set high in the wall—common in older construction—may meet the area requirement but sit more than 44 inches above the floor, failing the code. In that case the fix is usually a deeper window well combined with a lower window, or a code-compliant alternative.

Basements, window wells, and the ladder question

Basement bedrooms generate the most egress disputes because the opening has to work in a hole in the ground. The IRC addresses this with window well requirements: if the egress window is below grade, the well must provide enough horizontal area and, where the sill is more than a certain height below grade, a permanently affixed ladder or steps.

The practical implications are substantial. A shallow well that only clears the window by a few inches may be acceptable; a deep well typically requires a ladder rated to support the occupant and positioned to be usable. The well also must drain so it doesn't fill with water, and it needs to be wide enough that a person can actually maneuver through the window and stand up.

Local amendments vary widely here. Some jurisdictions require the well to be a specific minimum size; others impose ladder spacing or cover requirements that affect whether a well can be covered at all. A covered well with a grate can still satisfy egress if the cover is removable from the inside without tools and the opening remains large enough—but a fixed, bolted cover defeats the purpose.

If you are finishing a basement and carving out a bedroom, budget for the window well, the ladder, the drain, and the window itself as a package. Retrofitting a code-compliant egress opening into an existing foundation wall is one of the more expensive single items in a basement buildout, because it usually means cutting concrete or block, adding a well, and reworking the wall assembly.

Second floors, additions, and the rooms people forget

Egress rules are not limited to basements. Every sleeping room, including bedrooms on upper floors, needs an emergency escape and rescue opening. That includes a bedroom added in a finished attic or a converted bonus room, provided the room is legally a sleeping room.

There is a useful distinction between a room that is called a bedroom and a room that is used as one. Real estate listings and tax assessments sometimes label a den or office as a bedroom, and the code question turns on use and on what the permit drawings declared.

A room with no egress opening that is marketed as a bedroom creates both a safety problem and a disclosure problem. If you are converting a space, the safe assumption is that if someone will sleep there regularly, it needs an egress opening.

Second-floor egress has an additional wrinkle: the opening must lead to a place from which a person can escape. A window that opens onto a roof is generally acceptable only if the roof provides a safe path or is otherwise usable; a window that opens onto a steep, unguarded roof may satisfy the numbers but not the intent. The code's language about the exterior path is where local interpretation comes in, and inspectors vary.

How the requirement interacts with permits and resale

The egress rule surfaces most often at three moments: during a renovation permit, during a home inspection, and at resale. Each has a different dynamic.

During a permit review, the plan reviewer checks that each labeled bedroom has a compliant opening on the drawings. If you add a bedroom, the reviewer will look for the window schedule and often the window well or ladder detail. Missing it means a correction notice and a delayed inspection.

During a home inspection, an inspector may flag a bedroom window that is too small, painted shut, or blocked by furniture or a security bar. A window that once complied can become non-compliant in practice: a fixed security grille or a window AC unit in the opening defeats egress even though the window itself is fine.

At resale, the issue is disclosure and financing. Some lenders and appraisers flag a bedroom without a compliant egress opening, and some insurers care. The requirement is a code matter, not a warranty, but a buyer's inspector will raise it, and the negotiation follows.

What counts as compliant—and what quietly fails

A window can look like it meets the requirement and still fail. Here is where the failures cluster.

The opening is measured wrong. People measure the frame or the glass. The code measures the clear opening with the window fully open. A single-hung window that slides up halfway gives you only the top half as clear opening; the bottom sash sits in the way unless it is removable or tilts out. Sliding windows give half the width.

Casement and awning windows that swing fully clear typically deliver the full rough opening, which is one reason they are popular for egress.

The window is operable but blocked. A window that opens is necessary but not sufficient. Security bars fixed in place, furniture placed in front of the sill, or a window well packed with stored items all defeat the escape function. Removable or hinged security bars with interior release are the usual compliant compromise.

The sill is too high. Especially in basements, a window set above the 44-inch sill limit fails even if the area is generous. The fix is a lower window or a step/bench, but a fixed bench can itself obstruct—so the code treatment of steps and platforms matters.

The window opens to the wrong place. A window onto an interior courtyard with no exit path, or into a covered light well that is fully enclosed, fails the rescue-and-escape intent even if the dimensions are perfect.

The room isn't on the plan as a bedroom. If the permit drawing labels the room "office" or "storage," the reviewer won't require egress—and you may end up with a space that is used as a bedroom but was never reviewed for it. That mismatch is a common source of trouble at resale.

Alternatives when a window alone won't work

When a window can't be made to comply—often in a basement with a high sill and no room for a well—the code allows an emergency escape and rescue opening that is not a window. The most common alternatives are:

  • An egress door that leads directly outside, such as a walk-out basement door or a door to an exterior stair. A door that provides the required clear opening and path satisfies the requirement in place of a window.
  • A larger window well with a compliant ladder, paired with a window sized to the clear-opening minimums.
  • A redesigned opening, such as replacing a narrow slider with a casement or a tilt-and-turn unit that yields the full clear opening.

What generally does not work: a fixed window, a window with a permanent grille, a skylight (unless it meets specific and unusual criteria, and many local codes disallow it for this purpose), or a window that opens only to an enclosed interior space. Some jurisdictions accept a code-compliant hatch or a bulkhead door as the escape route, but these are local interpretations and should be confirmed before you build.

The choice among alternatives is usually driven by geometry and cost rather than preference. If the wall is above grade, a properly sized casement or slider with a low sill is the simplest path. If the wall is below grade, the window well, ladder, and drain package usually dominates the cost, and a walk-out door may be cheaper than a deep well in some layouts.

Comparing the realistic options for a non-compliant bedroom

When a bedroom fails egress, the practical choices are to enlarge or replace the window, add or enlarge a window well, add an egress door, or reclassify the room. The table below compares them on the criteria that actually drive the decision; costs are qualitative because they vary enormously by region, wall construction, and access.

Option Best suited to Typical scope Main constraint Relative cost
Replace with a full-clear-operable window (casement, awning, or tilt-turn) Above-grade walls, or shallow wells Remove old unit, reframe, install, trim Sill height still must be ≤44 in.; wall cavity must fit Moderate
Enlarge the existing opening Rooms with a too-small window but adequate wall Cut and reframe the rough opening, new unit Load-bearing walls need engineering; exterior finish repair Moderate to high
Add or enlarge a window well with ladder Below-grade bedrooms Excavate, form or install well, ladder, drain Depth, soil, drainage, and local well-size rules High
Add an egress door (walk-out or bulkhead) Basements with an exterior wall and grade access Cut door opening, stairs, landing, drainage Grade, stair code, water management High
Reclassify the room (remove the bedroom label) Rooms that will not be slept in regularly Permit and listing correction Does not fix a room actually used for sleeping Low, but limits use and value

The decision usually comes down to geometry: how far below grade the sill sits, whether the wall is load-bearing, and how much exterior access exists. A room that is only slightly too small often needs a window swap; a deep basement bedroom usually needs a well-and-ladder package or a door.

Working with the local authority, and the checks that prevent surprises

Because the IRC is a model code, your actual obligation is set by the edition your state or city has adopted and by any local amendments. Two jurisdictions can both say "IRC" and enforce different sill heights, well sizes, or accepted alternatives.

Before you buy a window or cut a wall, the reliable step is to ask the building department which code edition applies and whether they have a written egress handout—many do, and it resolves most ambiguity in a single conversation.

The second check is measurement, done properly. Measure the clear opening with the window fully open, at the narrowest point, and confirm the sill height to the finished floor. Compare all of it against the local figures. A window that misses one dimension by an inch is non-compliant.

The third check is the path. Stand at the window and ask whether a person could get out and away, and whether a rescuer could get in. If the answer depends on moving furniture, unlocking a grate, or crossing a roof with no safe route, the opening isn't doing its job.

For a renovation, put the egress detail on the permit drawings explicitly, with the window schedule and the well or ladder detail. For a resale, get the room's status clear before listing—whether it is a legal bedroom with a compliant opening or a den that should be described as such.

Egress compliance is one of the few code items that is simultaneously a safety requirement, an inspection trigger, and a value factor, so resolving it early is almost always cheaper than resolving it under negotiation.

Frequently Asked Questions

Does every bedroom need an egress window, or only basements?

Every sleeping room needs an emergency escape and rescue opening under the IRC, including bedrooms on upper floors and in additions—not just basements. Basements simply attract more attention because below-grade openings require wells and ladders.

Is 5.7 square feet always the required opening size?

It is the most commonly cited IRC figure, but some older codes and local amendments use 5.0 square feet, and the exact number is set by the edition your jurisdiction enforces. Confirm it with the local building department before sizing a window.

Can a window well with a ladder satisfy the requirement?

Yes, in many jurisdictions a below-grade egress window paired with a compliant window well, ladder, and drain satisfies the requirement, provided the window's clear opening and sill height also meet the code. Well dimensions and ladder rules are commonly amended locally.

Does a door count as an egress opening?

An egress door that leads directly outside can serve in place of a window in many jurisdictions, and walk-out basement doors are a common compliant solution. Whether a specific door and path qualify is a local determination.

What happens if I sell a house with a non-compliant bedroom window?

A buyer's inspector may flag it, and some lenders and insurers care. The exposure is usually a negotiation item and a disclosure issue rather than an automatic violation, but the underlying safety problem remains until the opening is brought into compliance or the room is reclassified.