How to Replace a Window in 18 Steps

Out with the old, in with the new windows

Father and daughter looking out of new window
Photo: Cavan Images / Getty Images
Father and daughter looking out of new window
Photo: Cavan Images / Getty Images
Paige Bennett
Written by Paige Bennett
Contributing Writer
Updated July 17, 2023

Difficulty

Challenging

Only DIY if you know what you're doing.

Time to complete

6 hours

An average-sized window will take about six hours. Plan to take a couple of work days for larger windows.

Cost

$500–$1,000

Only buy supplies if you’re comfortable with advanced-level DIY.

Need professional help with your project?
Get quotes from top-rated pros.

What you'll need:

TOOLS
  • Safety goggles
  • Work gloves
  • Hearing protection
  • Tape measure
  • Screwdriver
  • Caulk gun
  • Utility knife
  • Putty knife
  • Pry bar (optional)
  • Scissors (optional)
  • Hammer
  • Oscillating saw (optional)
  • Pliers
  • Shop vac
  • Level
  • Power drill
  • Screwdriver (optional)
  • Angled paintbrush
SUPPLIES
  • Window replacement
  • Wood filler
  • Flashing tape
  • Wood shims
  • Exterior caulk
  • Screws
  • Spray foam rated for window replacement
  • Paint or stain (optional)
  • Finishing nails

Replacing old windows is both an aesthetically pleasing and functional upgrade. Not only does installing windows boost curb appeal and provide a finished look to your home, but new windows can improve energy efficiency and prevent uncomfortable temperature fluctuations in your home. Use this guide to learn how to replace a window and enjoy the perks and benefits of new windows.

Prepping to Replace a Window

Learning how to replace a window is a big task. Before you get started, you’ll want to understand all the different parts of a window, from the sashes to the jambs to the casing. Depending on the type of window you’re installing, you may be dealing with different parts. For instance, a picture window has just a flat panel of glass, while a double-hung window includes two movable sashes, each with its own panel of glass.

You’ll also need to brush up on building codes. For instance, if you’re installing egress windows, they have specific requirements for size and distance from the floor. These windows are designed to serve as emergency exits and, therefore, must adhere to strict building codes. 

If you’re installing a window that requires making a new opening in the wall or enlarging an existing opening, you may need to work with a structural engineer to ensure the window has proper support. This type of project also typically requires you to obtain building permits.

Once you have these basics down, you’re ready to start measuring the window’s rough opening and shopping for a replacement window.

  1. Identify the Replacement Window You Need

    It’s important to note that there are two main types of replacement windows—full-frame replacement windows and insert or pocket replacement windows. 

    A full-frame replacement removes the entire window, frame, molding, and jambs, whereas an insert or pocket replacement window replaces the window itself, leaving the framing and woodwork in place.

  2. Measure the Old Window

    Man and woman measuring window with tape measure
    Photo: Mikael Vaisanen / Getty Images

    Using a tape measure, start by identifying the height of the pocket by measuring the inside of the frame. It’s helpful to take the window measurements two times to ensure you’re purchasing the correct size.

    Measure the height in three places—the left side, middle, and right side of the frame. Take the shortest of the three measurements to determine the height.

    Repeat this process to measure the width, noting the dimensions of the top, middle, and bottom sections. Use the smallest measurement of the three to determine the width.

  3. Buy a Replacement Window

    Once you have the dimensions, you can purchase the replacement window. The new window should be 1/4- to 3/4-inch smaller than the opening; however, this can vary depending on the manufacturer. Most windows come in standard sizes, but you may have to order custom windows if you have a uniquely sized opening.

  4. Find the Old Window Sashes

    Worker removing old window
    Photo: ungvar / Adobe Stock

    Safety note: If your house was built before 1978, be sure to take the proper lead safety precautions if it contains lead paint before continuing to replace the windows. 

    Remove any storm windows first by either directly lifting them out of place or removing the screws with a screwdriver.

    Start by identifying the sashes—the moveable part of the window that holds the glass panes together. Remember, you can either remove the window from the interior or exterior of the home, depending on the location of the sashes. If there’s paint over the old window, you may need to score the seams with a utility knife to break the seal.

  5. Remove the Sashes

    You may have sash springs hung in the window (spring-loaded mechanisms that help the windows glide up and down). You can remove these and their plastic covering by unscrewing them and cutting them away. It’s important to note that the spring-loaded sashes may snap back when removing them, so be sure to wear protective gear during this step.

    From the outside of the window, use a hammer and chisel or an oscillating saw to remove the exterior sash stops. Next, remove the parting stops (the strip between the upper and lower sashes) using a putty knife, chisel, or oscillating saw. If you’re removing the window from the outside, you may choose to leave the interior stop in place if it’s in good condition. 

    Once the parting stops have been removed, the upper and lower sashes can be removed by pulling the window out of place.

  6. Remove the Window Frame

    Remove the old trim, molding, and window stops by scoring the edges with a utility knife, and prying them out with a putty knife, pry bar, or chisel. You can reuse these pieces if they’re in good condition; otherwise, you can discard them once removed. 

    Sometimes, older aluminum or vinyl windows will have cords or weights that also need to be removed. You can cut them away from the frame using a pair of scissors.

  7. Make Repairs

    You don’t want to install a new window in a spot that is worse for wear. Doing so could compromise the efficiency of your new windows.

    After the window has been removed, determine if any repairs need to be made to the rough opening. Inspect the wood, remove any areas with damage or rot, and cut and install new pieces of wood to replace them. Check the opening for any holes and fill them in with wood filler.

  8. Prepare the Rough Opening

    Chisel and sandpaper block resting on windowsill
    Photo: Jill Ferry Photography / Getty Images

    The rough opening is the hole in the wall where the window frame will fit. It needs to be properly prepared for your new window to sit snugly and securely in place.

    You may notice securing staples used to hold the old window’s aluminum tracks in place. You can remove these with a pair of pliers. If you notice chipped paint or caulk in the window opening, remove it with a paint scraper, then sand it down to create a smooth finish. 

    You also want to make sure the rough opening is clear of any debris that could prevent the frame from fitting into the wall tightly. Vacuum the opening and sill with a shop vac, and wipe it down to remove any dirt, grime, and debris.

  9. Apply Flashing Tape

    Flashing tape helps protect your home from air and water leaks. You’ll install this material around the window frame. It creates a protective barrier between the window and the wall.

    Apply your flashing tape across the length of the window sill, ensuring that it extends over the window stool (the horizontal surface at the bottom rail of the window sash). Press the flashing tape firmly into the seam and corners for a tight fit.

  10. Insert Shims as Needed

    Father and son positioning new replacement window
    Photo: Monty Rakusen / Getty Images

    After all of the preparations have been made to the window opening, use a level to ensure the surface is even. If you notice bowing or unevenness, you may need to add wood shims to the low spots to create a level surface. You can secure the wood shims into place using flashing tape and screws.

  11. Test the Window Fit

    Dry-fit the new window to ensure it fits in the opening (there should be a small gap of about ⅛-inch between the window and the frame). You may need to enlist a helper during this step, as replacement windows are heavy and bulky. 

  12. Add Caulk

    Now it’s time to caulk your window opening. Set the window aside and apply exterior caulk to the outside stops and head jambs. Apply a bead of caulk along the edges where the window stool meets the window sill. If there are any small gaps less than 1/4-inch wide around the window frame, casing, or interior window sill, you can fill the gaps with caulk to minimize drafts.

  13. Set the Window

    Man drilling replacement window into place
    Photo: photovs / Getty Images

    After applying the caulk, lift the window and position it into the opening, ensuring it’s centered. Gently press the window into the bead of the caulk, allowing it to rest on the interior blind stops.

  14. Secure the Window

    After the window is set, identify the pre-drilled screw holes in the window, and set the shims behind the screw holes between the window and the jamb. You can also set shims at the bottom or top of the window to ensure the window is level and square. 

    Measure the window from corner to corner, diagonally on each side. If the measurements are the same, the window is square. You may need to adjust the shims a few times to get equal measurements. Drill the screws into place (or use a screwdriver), driving the screws through the shims as well.

  15. Make Sure Everything Is Just Right

    Check that the window is level and plumb (a perfectly straight vertical line), and make any final adjustments. Once the window is square, level, and plumb, trim excess material away with a utility knife.

  16. Add Insulation

    Look for gaps in the window and apply a spray foam insulation to prevent hot or cold air from escaping your home. Opt for a spray foam insulation rated for windows and refer to the manufacturer's directions for dry time and the recommended installation technique.

  17. Reinstall Window Parts

    Reinstall the old trim, molding, and window stops ‌you removed using finishing nails or caulk. Or, install new trim, molding, and window stops if you discarded them. 

    Apply caulk to the interior trim and the exterior joints to fully secure the window. It’s important to refer to the window manufacturer, as you may need to leave a gap at the bottom of the sill to promote drainage.

  18. Paint or Stain the Frame

    Depending on the window you purchased, you may need to paint or stain the interior window sash and frame. Wood, in particular, requires paint, stain, or sealant to protect against moisture, which can lead to rot or warping. After the caulk and spray foam are completely dry, you can begin painting or staining using an angled paintbrush, ensuring the room is well-ventilated.

DIY vs. Hiring a Pro

Replacing a window costs about $65 to over $6,500 for the new window materials alone. You could spend another $200 to $800 on tools and supplies, like a power drill, a ladder for installing upper-story windows, a pry bar, a caulk gun, paint, and more. If you decide to hire a pro, you’ll pay for the cost of materials plus $100 to $300 per window for labor fees. 

Hiring a local window contractor is the quickest, safest way to replace a window. If you install a window incorrectly, it could lead to costly air drafts or water damage between the window frame and the exterior walls of the house. Installing large windows is also dangerous if you don’t have the skills and knowledge to build proper supports.

Frequently Asked Questions

There are some key differences between new construction and replacement windows. New construction windows are typically installed during new home construction or when building an addition. They’re nailed directly into the frame, as they’re installed when the studs are exposed. 

Alternatively, replacement windows fit directly into the window opening without someone having to remove any of the exterior material. Replacement windows tend to be easier to install without professional help. New construction windows are best left to the pros since they require adding or changing the support frame of the home.

Need professional help with your project?
Get quotes from top-rated pros.
Learn more about our contributor
Paige Bennett
Written by Paige Bennett
Contributing Writer
Paige Bennett is a professional editor and writer with experience covering design, DIY projects, food, health, and travel, and holds a bachelor's degree in journalism from Ohio University.
Paige Bennett is a professional editor and writer with experience covering design, DIY projects, food, health, and travel, and holds a bachelor's degree in journalism from Ohio University.
The homeowners guide to Windows
From average costs to expert advice, get all the answers you need to get your job done.