The short answer

Exterior sealant is a joint treatment, not waterproof paint. Around a window, distinguish the trim-to-wall joint, trim corners, sill area, siding laps, weeps, and the window’s own installation flashing. A bead placed over a drainage opening can make a leak harder to diagnose.

Map the joint first

Location Question Common mistake
Trim perimeter Is the joint open, cracked, or pulling away? Caulking over dirt or wet wood.
Sill and lower corners Where should incidental water exit? Sealing a designed drainage route.
Siding lap Is the gap a movement joint or a lap? Filling the lap so water cannot shed.
Window-to-frame area Is the leak at the unit or the wall? Assuming the visible interior stain is directly behind the failure.
Upper trim Does roof runoff reach the joint? Treating a gutter or flashing defect as caulk failure.

Photograph the joint dry, after rain if safe, and from both inside and outside. Remove only loose surface material you can reach without damaging the cladding. Use a sealant compatible with the substrate and the existing finish; a paintable interior product is not automatically suitable outside.

When to investigate further

Soft trim, staining that grows upward, bubbling paint, insect activity, or a leak that appears above the window points beyond a simple bead. Ask for the repair scope to identify substrate repair, flashing, cladding removal, drying, and repainting separately.

Limits

This guide does not specify a product or flashing detail for a particular window system. Hidden rot or recurring water intrusion deserves a qualified envelope inspection.