Food

DIY Window Replacement: What It Takes

By Hayride Live · Updated · 5 min read

DIY window replacement is doable for a handy homeowner, but it’s a full-day project per window and requires careful measuring, the right tools, and a helper. The core fact: you can replace a window yourself if it’s a standard size, the opening is square, and you’re comfortable with a pry bar, shims, and a drill. If the window is on a second story, has rot, or is an unusual size, plan to hire a pro.

Measure the Window Opening Before You Buy Anything

Order the replacement window from the rough opening dimensions, not the old window’s size. The rough opening is the framed hole in the wall; the new window’s frame will be about 1/2 inch (13 mm) smaller on each side to allow for shims and leveling. Measure the width at the top, middle, and bottom of the opening, and the height at the left, center, and right. Use the smallest width and the smallest height as your order size. If the opening is out of square by more than 1/4 inch (6 mm) across the diagonal, a standard window won’t fit right—fix the framing or call a contractor.

For a typical single-hung or double-hung window, the rough opening is the old window frame plus the exterior trim and interior stops. You’ll remove those, so measure the wood framing behind them. Write down the width and height to the nearest 1/8 inch (3 mm). Most window manufacturers list their windows by rough opening size, so you can order a unit that matches your numbers.

Gather the Tools and Materials (and a Helper)

You’ll need a pry bar, utility knife, hammer, drill with screwdriver bits, level, shims, caulk gun, exterior caulk, and a tape measure. You’ll also need a new window, and you’ll likely need a tube of low-expanding foam insulation for the gaps. Work gloves and safety glasses are non-negotiable—glass shards and old nails are sharp. A second person is essential for lifting the new window into place; most windows weigh 40–80 lb (18–36 kg) and are awkward to hold while you level them.

For a first-time DIYer, budget 4–6 hours per window, including removal, prep, and installation. If you’re replacing several windows, add an hour per window after the first one. Have a plan for the old window: many areas allow it in regular trash if it’s wrapped and taped, but check your local disposal rules.

Remove the Old Window Without Damaging the Wall

Start by cutting through the paint or caulk seal between the interior trim and the window frame with a utility knife. Then pry off the interior trim (the casing) carefully—you’ll reuse it if it’s in good shape. Do the same on the exterior: cut the caulk bead and remove the exterior trim. With the trim off, you’ll see the window’s nailing flange (the fin) that holds it to the framing. Cut any caulk around the flange, then use a pry bar to gently pull the window out from the inside. Have your helper support the window from outside if it’s a large unit.

Once the old window is out, inspect the rough opening. Look for rot, water stains, or gaps. If you see soft wood, you’ll need to repair the framing before installing the new window—this is a common reason to call a pro. Vacuum out debris and check that the opening is square by measuring both diagonals; they should be within 1/4 inch (6 mm) of each other.

Install the New Window: Level, Shim, and Secure

Apply a bead of exterior caulk to the back of the new window’s nailing flange (the flat edge that will sit against the framing). Set the window into the opening from the outside, or from inside if it’s a new-construction window with a flange. Push it in until the flange is flush with the sheathing. Use a level to check the sill is level and the side jambs are plumb. Insert shims between the window frame and the rough opening to adjust—tap them in gently with a hammer. Work from the bottom up, checking level after each shim.

Once the window is level and plumb, drive screws through the pre-drilled holes in the flange into the framing. Use corrosion-resistant screws, and don’t overtighten—you can warp the frame. Then stuff fiberglass insulation or low-expanding foam into the gaps between the window and the rough opening. Low-expanding foam is best; standard foam can bow the frame. Let the foam cure, then trim any excess with a knife.

Reinstall the interior trim and exterior trim, using new nails and caulk. Caulk the exterior seams with a paintable exterior caulk. If the window has a nailing flange, the exterior trim covers it; if it’s a replacement window with a J-channel, you’ll snap the siding back over it.

Worked Example: A 36-Inch by 60-Inch Double-Hung

Say your rough opening measures 36 in (91 cm) wide and 60 in (152 cm) high. You order a window with a rough opening size of 36 x 60. After removing the old window, you find the opening is 36 1/8 in wide at the top and 35 7/8 in at the bottom—that’s a 1/4-inch difference, which is within tolerance. You set the new window in, shim the bottom left corner up 1/8 in to level the sill, and shim the top right side out 1/8 in to plumb the jamb. You screw the flange at the bottom, middle, and top on each side. The gaps are about 1/2 in (13 mm) on each side, so you use low-expanding foam to fill them. Total time: 4 hours, including cleanup.

When to Stop and Call a Professional

If the rough opening is out of square by more than 1/4 inch (6 mm), if there’s rot in the framing, or if the window is above the first floor, stop and call a licensed contractor. Also call a pro if you see signs of water damage on the interior walls, or if the window is a custom shape (arched, octagon, or very large). Electrical wiring or plumbing running through the window framing is rare, but if you find any, stop and have it relocated by a licensed electrician or plumber. For second-story windows, the risk of falling outweighs the savings; a pro has the ladders and insurance.

If you’re replacing a window in a wall that might contain asbestos (homes built before the 1980s), have the material tested before you disturb it. Follow EPA lead-safe guidance if you’re in a pre-1978 home and the paint is peeling. Never cut into a wall without checking for wires and pipes first—use a stud finder and look at the attic and basement to trace any lines.

Check Your Work: Air Leaks and Operation

After installation, open and close the window a few times—it should move smoothly without sticking. Check the gap between the sash and the frame; it should be even all around. On a windy day, hold a lit candle or incense stick near the edges; if the flame flickers, you have an air leak—add more caulk or foam. Check the exterior caulk for gaps and smooth it with a wet finger. If you see daylight from inside, you missed a spot. Most new windows come with a warranty, but it often requires professional installation to be valid—read the fine print before you start.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.