How to Install a Window
Learn how to prepare the rough opening, flash the sill, set and level the window unit, shim for squareness, and secure it with weatherproof seals.
This guide shows how to install a window in 2-4 hours. Start with inspect and prepare the rough opening; follow the safety notes and step checkpoints below.
Visual step map
See the full sequence before you start, then check off each step as you go.
0 of 6 steps checked
Materials and cost planner
Select the items you plan to buy, adjust any estimated price, and calculate the selected total.
Editable rough U.S. retail estimates. Estimated all listed: $254.00. Prices are planning estimates, not quotes — tax, store, brand, size and quantity will change them.
Time and finish planner
Estimate active working time from the number of steps in this guide.
Paint coverage calculator
Estimate how much paint to buy from the area you plan to cover, the number of coats and the coverage shown on the can.
Use the coverage printed on the actual product label. Rough, porous or heavily patched surfaces can use much more paint.
- Read the tools, materials, safety notes, and steps below for free.
- Tap See 20-second demo if you want to understand it first.
- Tap Start Camera Coach when you want hands-free help, or Voice-only if you do not want to use the camera.
- Allow camera and microphone. Point your phone at the work; the coach watches your progress and tells you the next step.
๐งฐ Required Tools & Equipment
- โ Cordless drill and driver bits
- โ 4-foot spirit level
- โ Tape measure
- โ Caulk gun
- โ Utility knife
- โ Rubber mallet
๐ฆ Materials & Supplies
- โ New window unit
- โ Self-adhering flashing tape
- โ Exterior-grade silicone sealant
- โ Cedar or composite shims
- โ 2-1/2 inch window/construction screws
- โ Low-expansion window & door spray foam
โ ๏ธ Safety Checkpoints & Warnings
- โข Wear cut-resistant gloves when handling exposed glass panels and sharp metal flashing edges.
- โข Use safety glasses when drilling into framing and spraying expanding foam.
- โข Ensure stable, level ladder footing or scaffolding if installing from an elevated exterior position.
๐ Step-by-Step Guide (6 Steps)
Inspect and Prepare the Rough Opening
Clear away any old nails, debris, and rotted wood from the rough opening. Measure diagonally from corner to corner in both directions to verify squareness within 1/8 inch. Check the bottom sill with a level to confirm it is flat and level.
- โข Bare, clean framing lumber with no protruding fasteners
- โข Tape measure showing identical diagonal dimension measurements across opposite corners
- โข Failing to remove old fasteners, causing the new frame to bow
Apply Sill Flashing Tape
Cut a strip of self-adhering flashing tape 12 inches longer than the rough opening width. Lay it across the bottom rough sill, extending 6 inches up each vertical side jamb. Smooth the tape firmly down onto the sill and over the exterior face to create a watertight drain pan.
- โข Wrinkle-free flashing membrane running continuously across the sill
- โข Tape folding cleanly 6 inches up both left and right side jambs
- โข Stretching the tape tightly into corners, causing it to tear or pull away later
Apply Caulk Beads to the Flange or Stop
Load exterior sealant into the caulk gun and cut the tip to yield a 3/8-inch bead. Lay a continuous bead along the interior backside of the top and side exterior nailing flanges. Leave the bottom flange dry and uncaulked so trapped moisture can weep outward.
- โข Continuous 3/8-inch bead of sealant along top and side exterior flanges
- โข Completely dry, uncaulked bottom flange
- โข Caulking the bottom flange, which traps water inside the wall assembly
Set, Plumb, and Shim the Window
Lift the window unit into the opening from the exterior, resting the bottom edge first before tipping it in flat. Insert pairs of cedar shims from opposing sides behind the side jambs to center the unit. Place your 4-foot level against the side jambs and header to verify level, plumb, and square reveal.
- โข Window frame centered with an even 1/4-inch to 3/8-inch gap on all sides
- โข Spirit level bubble centered when held against both vertical jambs and sill
- โข Over-driving shims, which bows the jambs inward and binds the sash
Fasten the Window Frame
Drive 2-1/2 inch screws through the mounting flange or pre-drilled side jamb holes directly into the studs through the shims. Start with the top corner on the hinge side, check squareness across diagonals, and secure the opposite bottom corner. Complete all remaining fastener locations without overtightening.
- โข Screws seated flush against the flange or jamb counter-sinks
- โข Window sash slides or cranks open and closed smoothly without sticking
- โข Driving screws at an angle, which pulls the window out of plumb
Insulate and Weather-Seal
From the interior, fill the gap between the window jamb and rough stud with low-expansion foam, filling the cavity roughly 50% deep to allow for expansion. Score and snap off protruding shims flush with the wall plane using a utility knife. On the exterior, tape over the side and top nailing flanges with flashing tape in shingle fashion.
- โข Trimmed shims perfectly flush with the wall framing studs
- โข Uniform ring of expanded foam filling the interior gap without spilling onto frame face
- โข Exterior flashing tape applied side-first, then top-flange overlapping the sides
- โข Using high-expansion regular foam, which exerts enough pressure to warp the window frame
Credit: inspired by an original tutorial by CR Carpentry & Remodeling โ watch the original on YouTube.
Don’t have everything?
- No Cedar shims? Composite plastic shims
- No Self-adhering flashing tape? Pre-formed plastic sill pan with exterior sealant