Quick answer

The model International Residential Code doesn't list window or door replacement among its permit exemptions (R105.2), so the answer is local. Many jurisdictions exempt replacement in the same opening. North Carolina exempts replacing windows and doors on projects of $40,000 or less (G.S. 160D-1110(c)). A 2026 South Dakota law bars local permit requirements for same-size window and door replacement on owner-occupied single-family homes (SDCL 11-10-15). Washington, DC requires permits for window replacement. Wherever you live, cutting a new opening or enlarging one changes the wall structure and needs a permit. Exempt or not, the replacement must still meet code: bedroom egress (R319.5 for replacements), safety glazing near doors, tubs and stairs (R324.4), and the energy code's U-factor and SHGC limits (N1111.1.1.1).

Replacement vs a new or larger opening

The project falls into one of two categories, and the permit answer usually follows from which one it is.

Replacement in the same opening. You remove the old window or door and install a new unit of the same size in the existing rough opening. With an insert or pocket window, the new unit goes inside the old frame. Either way, the wall framing doesn’t change.

A new or enlarged opening. Cutting a new window, widening an opening, turning a window into a patio door, or lowering a sill changes the wall structure. It needs a new or larger header, and often new flashing, siding, and interior finish work. The IRC’s allowance for ordinary repairs without a permit excludes “the cutting away of any wall, partition or portion thereof, the removal or cutting of any structural beam or load-bearing support, or the removal or change of any required means of egress” (R105.2.2). This work needs a building permit essentially everywhere.

Whether same-opening replacement needs a permit

The 2024 IRC’s list of work exempt from permit (R105.2) doesn’t mention windows or doors. Under the unamended model code, replacement isn’t automatically exempt, so state and local rules make the difference. Three examples show the range:

Jurisdiction Rule Limits
North Carolina G.S. 160D-1110(c) exempts work costing $40,000 or less on a single-family home from a building permit. Its exclusion for load-bearing structure states that no permit is required for “replacement of windows, doors, exterior siding,” and some deck and porch parts The state fire marshal’s office reads the law to require a permit when the project costs more than $40,000. The work must still comply with the State Building Code, and electrical and other trade work isn’t covered
South Dakota SDCL 11-10-15 (2026) bars counties, cities and townships from requiring a building permit to repair, or replace with something substantially similar, the doors and windows of a detached, owner-occupied single-family home, if the dimensions stay the same Designated historic properties can still require permits. The work must still meet applicable codes
Washington, DC The Office of Planning lists window replacement among work that needs a permit. DOB’s Homeowner’s Center reviews window and door replacement and repair for one- and two-family homes Historic properties need Historic Preservation Office review as part of the permit. Postcard permits can’t be used on historic properties

Many cities and counties publish their own list of work that doesn’t need a permit. Same-size window replacement is often on it, sometimes with conditions such as no change to egress windows, no safety glazing locations, or a limit on the number of units. An exemption from the permit isn’t an exemption from the code. The rules below apply either way, and the installer is responsible for meeting them.

What the code still requires

Bedroom egress

Basements, habitable attics, and every sleeping room need at least one operable emergency escape and rescue opening (R319.1). For new openings, the 2024 IRC requires a net clear opening of at least 5.7 square feet (5 square feet at grade floor), at least 24 inches high and 20 inches wide, with the sill no more than 44 inches above the floor (R319.2).

Replacement windows get a specific allowance. A replacement is exempt from the size and sill-height rules if “the replacement window is the manufacturer’s largest standard size window that will fit within the existing frame or existing rough opening,” and is the same operating style as the old one or a style “that provides for an equal or greater window opening area” (R319.5). Swapping a double-hung for a slider, or putting a heavy-framed insert into an existing frame, can shrink the clear opening. Check the clear opening dimensions before you order.

Window fall protection

Where the bottom of an operable window’s clear opening is less than 24 inches above the floor and more than 72 inches above the ground outside, the window must either not let a 4-inch sphere pass through when fully open, or have window opening control devices or fall prevention devices complying with ASTM F2090 (R321.2.1). For replacements, these devices may be mounted as low as they can go within the existing opening (R319.5.1).

Safety glazing

Safety glazing (tempered or laminated glass) is required in hazardous locations listed in R324.4. These include:

  • Doors: glazing in swinging, sliding, and bifold doors (R324.4.1).
  • Next to doors: glazing within 24 inches of either side of a door, in the plane of the closed door, where the bottom edge is less than 60 inches above the floor (R324.4.2).
  • Large panes near the floor: an individual pane larger than 9 square feet, with its bottom edge less than 18 inches above the floor, its top edge more than 36 inches above the floor, and a walking surface within 36 inches (R324.4.3).
  • Wet areas: glazing near tubs, showers, spas, saunas, and pools where the bottom edge is less than 60 inches above a standing or walking surface, unless it’s more than 60 inches horizontally from the water’s edge (R324.4.5).
  • Stairs and ramps: glazing with its bottom edge less than 36 inches above the stair or landing surface (R324.4.6), with exceptions.

Each pane of safety glazing must carry a manufacturer’s designation naming the safety glazing standard it meets, “visible in the final installation” (R324.1). Inspectors look for that mark in the corner of the glass.

Energy code

Under the 2024 IRC, “where some or all of an existing fenestration unit is replaced with a new fenestration product, including sash and glazing, the replacement fenestration unit shall meet the applicable requirements for U-factor and solar heat gain coefficient (SHGC)” in Table N1102.1.3 (N1111.1.1.1). Where you replace several units, an area-weighted average can be used to show compliance. The table’s maximum U-factors for windows and glass doors are:

Climate zone Max U-factor Max SHGC
0 and 1 0.50 0.25
2 0.40 0.25
3 0.30 0.25
4 (except Marine) 0.30 0.40
5 and Marine 4 0.28 No requirement
6 0.28 No requirement
7 and 8 0.27 No requirement

In Marine 4 and Zones 5 through 8, the maximum is 0.30 for windows in buildings above 4,000 feet or in windborne debris regions where opening protection is required. U-factors must come from NFRC 100 ratings, labeled by the manufacturer (N1101.10.3). Many jurisdictions still use the 2021 or an earlier energy code, with slightly different values.

Doors between the garage and the house

A replacement door between an attached garage and the house must still be solid wood or steel at least 1 3/8 inches thick, or 20-minute fire-rated, and “self-latching and equipped with a self-closing or automatic-closing device” (R302.5.1). A hollow-core interior door or a door without a closer doesn’t meet this.

What replacement doesn’t trigger

Work that needs a permit usually requires bringing smoke and CO alarms up to new-construction standards. Both sections exempt “the addition or replacement of windows or doors” (R310.2.2, R311.2.2).

Lead paint in older homes

For homes built before 1978, EPA’s Renovation, Repair and Painting rule applies to paid work that disturbs painted surfaces, which includes removing old window and door frames. Anyone paid to do the work must be certified, “even sole proprietorships,” and must follow lead-safe practices. The rule generally “does not apply to homeowners doing RRP projects in their own pre-1978 homes,” though it does apply if you rent out the home.

Historic districts and HOAs

In a local historic district or on a landmark property, replacing windows or doors usually needs design review, even where the building permit is exempt. South Dakota’s 2026 exemption, for example, expressly lets local governments keep requiring permits on designated historic properties. In Washington, DC, Historic Preservation Office clearance of the building permit serves as the preservation approval. Review commonly looks at material, sash configuration, muntin pattern, and whether repair is feasible instead of replacement.

The energy code accommodates historic buildings. Its provisions aren’t mandatory for historic buildings if a report signed by the owner, a registered design professional, or the State Historic Preservation Office shows that compliance “would threaten, degrade or destroy the historic form, fabric or function of the building” (N1109.5).

HOAs often regulate exterior color, frame material, grid patterns, and door styles, and may require approval before you order. HOA approval is separate from any permit.

Enlarging or adding openings

When you change the opening, plan for:

  • A building permit and header design. A wider opening in a bearing wall needs a correctly sized header, and sometimes new jack studs or an engineered beam.
  • Fire rules near property lines. Under Table R302.1(1), openings aren’t allowed in exterior walls less than 3 feet from the lot line, and are limited to 25 percent of the wall area between 3 and 5 feet.
  • Energy rules for new glass. New fenestration area must meet the energy code for new construction (N1111.1.1.1).
  • Egress and landings. A window turned into a door needs a proper landing and steps outside. A new bedroom needs a compliant escape opening.
  • Siding, flashing, and water management around the new opening, which inspectors may check.

What to prepare

  • A window and door schedule: locations, rough opening sizes, unit sizes, operating types, and which rooms are bedrooms.
  • Product data: NFRC labels or specs showing U-factor and SHGC, and safety glazing where required.
  • Clear opening dimensions for bedroom and basement windows.
  • Header details for any enlarged or new opening.
  • Historic district or HOA approval, if applicable.
  • Lead-safe certification for your contractor if the home was built before 1978.

Common mistakes

  • Ordering insert windows that shrink a bedroom’s escape opening.
  • Missing tempered glass next to doors, tubs, or stairs.
  • Assuming “replacement” covers enlarging an opening. Any change to the framing needs a permit.
  • Replacing the garage entry door with one that isn’t solid or self-closing.
  • Skipping historic review, which can mean removing new windows.
  • Hiring a contractor who isn’t lead-safe certified for a pre-1978 home.

Re-siding or re-roofing at the same time? See our roof replacement guide. To find your local permit office, browse the state directory.

Common questions

Do I need a permit to replace windows?

It depends on where you live. North Carolina and South Dakota exempt same-size replacements on single-family homes, within limits. Washington, DC requires a permit for window replacement. Many cities publish a list of work that doesn't need a permit. Ask your permit office, and assume a permit is needed if you're changing the opening size or your house is historic.

Can I replace a bedroom window with a smaller one?

Be careful. Bedroom windows are usually the required emergency escape opening. The 2024 IRC exempts a replacement from the full size rules only if it is the manufacturer's largest standard size that fits the existing frame or rough opening, and is the same operating style or one with an equal or larger opening (R319.5). An insert window that cuts the clear opening can leave the room without a legal escape route.

Does a replacement window have to be tempered?

Only in hazardous locations, but those are common. Under R324.4 they include glazing in doors, glazing within 24 inches of a door with its bottom edge under 60 inches above the floor, large panes near the floor and a walking surface, glazing near tubs and showers, and glazing beside stairs. Safety glazing must carry a manufacturer's designation that stays visible after installation.

What U-factor do replacement windows need?

Under the 2024 IRC, replacement units must meet the U-factor and SHGC values for your climate zone in Table N1102.1.3 (N1111.1.1.1). Vertical fenestration U-factors range from 0.50 in the warmest zones to 0.27 in Climate Zones 7 and 8. Your jurisdiction may use an older energy code. Check the NFRC label on the window.

Is there still a federal tax credit for new windows?

No, for windows installed now. The IRS says the energy efficient home improvement credit applied to qualifying property placed in service on or after January 1, 2023 and before December 31, 2025. State or utility rebates may still be available.

Check your county’s rules

The rules above are a starting point. Your county, city or state agency decides which rules and code edition apply, what it changed, and what it charges. Look up the permit office that serves your address.

Sources

Last reviewed November 2026. Code section numbers such as R105.2 refer to the International Code Council’s model codes; CFR citations refer to the Code of Federal Regulations. We checked the wording against the sources linked above; code adoptions cited there reproduce the model text without amendment unless the source notes a state amendment. Codes take effect only when a state or local government adopts them, and many make amendments. This guide is general information, not legal or engineering advice. Suggest a correction