Short answer
It depends on where the water is getting in. If the window itself is failing, replace the window first and then repair the stucco around it. If the stucco is cracked and the window is sound, repair the stucco first so water stops getting in. Either way, check the wall around the opening before you start.
Find where the water is getting in
Look for these signs:
- Staining or dark marks on the wall below and beside the window, and on the sill
- Cracks in the stucco, especially at the corners of the window and above it
- Gaps or failed caulk around the frame and metal trim
- Condensation, soft or painted-over wood, or stains on the inside trim
Watching the window during rain can help. A moisture meter gives useful readings, but when the signs are unclear, a professional moisture inspection is more reliable.
When to replace the window first
- The sash no longer seals, or the frame is rotted
- The leak comes from the window itself, running from the frame or the sash
- You plan to change the window’s size or type anyway
Replacing the window first makes sense here because installing a new unit means cutting the stucco around the opening, so any patch done before that work would be cut out. Replacing first also lets the flashing tie into the building paper while the stucco is open.
When to fix the stucco first
- The window is sound and the leak comes through cracks in the stucco nearby
- The damage is in the wall outside the area the window work will reach
- The wall needs time to dry out before other work can start
If water is getting in through the wall rather than the window, stopping that first keeps the damage from spreading while you plan the rest.
Why the order matters
Window installation cuts into the stucco, so a patch done too early is lost. Flashing has to tie into the building paper, which is easier to do when the stucco is open. Patching first can also hide damage that a new window would have exposed. Working out the sequence before any work begins avoids paying twice for the same section of wall.
Next steps
Get the framing inspected, find the cause of the water, and plan the sequence. For how the window and the plaster fit together when both are being done, new windows or plaster first explains the reasoning. Check with your local building department about permits, and get a contractor’s view if the damage covers more than a small area.