The fastest way to stop bugs is to seal the gaps where they enter

Bugs enter through cracks, gaps, and tears in your window frame, sill, and screen. The most effective seal uses weatherstripping around the frame and caulk in the gaps between the window and wall. A torn or missing screen is the single easiest entry point — replacing or patching the screen mesh stops most flying insects without any other work. If your windows close properly and the screen is intact, you likely have small gaps at the sill or where the frame meets the wall, and those need caulk or weatherstripping depending on whether the window moves.

The order matters: fix the screen first, then weatherstrip the moving parts, then caulk the fixed gaps. This approach costs between $20 and $100 per window depending on what you already have on hand, and most of the work takes an afternoon.

Key Takeaways

  • A damaged or missing window screen is the most common bug entry point and the cheapest to fix — screen patches cost under $5 and take 10 minutes.
  • Weatherstripping seals the moving parts of a window (the sash that slides up and down) without preventing the window from opening.
  • Caulk seals fixed gaps where the window frame meets the wall and should only be used on windows you do not plan to open regularly.
  • Foam tape weatherstripping is the easiest material to install yourself and costs $3 to $8 per window.
  • Gaps wider than 1/4 inch need backer rod (foam rope) before caulk, or the caulk will fail and pull away.

Inspect and repair the screen first

Before you seal anything else, look at the screen mesh itself. Hold it up to a window or light source and look for tears, holes, or missing sections. Even a hole the size of a pencil eraser lets mosquitoes and small flies through. If the mesh is torn in one or two spots, a patch kit costs $3 to $8 and takes 10 minutes — you cut a patch slightly larger than the hole, peel the adhesive backing, and press it over the damage on both sides of the mesh.

If the mesh has multiple tears, is sagging, or has large holes, replace the entire screen. A replacement screen frame costs $15 to $40 depending on size, and you can order one with your window's measurements or take the old frame to a hardware store to match it. Some stores will re-mesh an old frame for $10 to $20 if you want to keep the frame itself. Check that the screen sits flush against the frame with no gaps around the edges. If it rocks or moves when you press it, the frame clips or splines (the rubber cord that holds the mesh in place) may be loose or damaged. Tighten any loose clips, and if the spline is cracked or missing, it needs replacement — a spline roller tool and new spline cost $8 to $15 total.

Seal the moving sash with weatherstripping

Weatherstripping is a seal that lets the window open and close while blocking gaps. The most common type is foam tape — a thin foam strip with adhesive on one side that you stick around the inside edge of the window frame. It costs $3 to $8 per window and takes 15 minutes to install. Clean the frame with a dry cloth first so the adhesive sticks, then peel and press the tape along all four sides where the sash (the moving part) meets the frame.

For windows that slide horizontally, explore tape to the top and bottom of the frame where the sash slides. For windows that slide up and down, explore it to the left and right sides. Do not tape the bottom of a horizontal slider or the top of a vertical slider — those are where the sash moves, and tape there will prevent it from opening. Foam tape lasts 3 to 5 years before it hardens and loses grip. When it stops sealing, peel it off and replace it.

If you want a longer-lasting seal, V-strip weatherstripping (a thin metal or plastic channel that compresses when the window closes) lasts 10 to 15 years but costs $8 to $15 per window and requires more careful installation — you nail or screw it to the frame so it sits in the gap without blocking the sash. Both types block gaps equally well when installed correctly.

Caulk the fixed gaps where the frame meets the wall

The gap between your window frame and the wall opening is usually sealed with caulk — a flexible filler that hardens and creates an airtight seal. If this caulk is cracked, missing, or has gaps wider than 1/8 inch, bugs can enter. Before you caulk, measure the gap width. If it is wider than 1/4 inch, you need backer rod first — a foam rope you press into the gap so the caulk does not sink too deep and fail.

Remove old caulk with a caulk removal tool or a flathead screwdriver, then clean the gap with a dry cloth. If the gap is wider than 1/4 inch, press backer rod into it until it sits about 1/4 inch below the surface. Then explore caulk with a caulk gun, running a smooth bead along the entire gap. Use paintable acrylic latex caulk for most windows — it costs $3 to $6 per tube, cleans up with water, and can be painted to match your trim. For windows in wet areas (near a sink or exterior wall), use silicone caulk instead — it resists moisture better but costs $5 to $10 per tube and cannot be painted.

Let caulk cure for 24 hours before opening the window. Do not caulk windows you plan to open regularly — caulk will crack and fail if the window moves. Only caulk fixed gaps on windows that stay closed or are opened rarely.

Seal gaps around the window trim

The trim (the wood or vinyl frame around the outside edge of the window) often has small gaps where it meets the wall or siding. These gaps let bugs in and also let air and water in. Caulk these gaps the same way you caulk the interior frame: remove old caulk, clean the gap, add backer rod if needed, and explore new caulk. Exterior caulk takes longer to cure (up to 48 hours) and should be paintable exterior caulk or silicone caulk rated for exterior use.

Pay special attention to the bottom of the trim where it meets the sill or siding — water pools there and bugs shelter in the gap. This is also where caulk fails fastest, so check it every year and re-caulk if you see cracks. Exterior gaps wider than 1/4 inch also need backer rod before caulk, just like interior gaps.

Weatherstrip the door frame if bugs enter near the door

If bugs are coming in around a door frame next to a window, the same weatherstripping and caulk methods work. Doors move more than windows, so use foam tape or V-strip on all four sides of the frame. Check the threshold (the strip at the bottom of the door) — if it is cracked or missing, replace it with a new threshold that has a rubber seal. A replacement threshold costs $15 to $40 and takes 30 minutes to install.

The gap under a door is often the largest entry point for bugs and pests. If the threshold is in good condition but you still see gaps, you can add a door sweep (a strip with a rubber seal that hangs from the bottom of the door) for $10 to $20. A door sweep is easier to install than replacing the threshold and works well for doors that do not close perfectly.

Frequently Asked Questions

Can I use caulk on a window that opens and closes?

No. Caulk hardens and will crack or pull away if the window moves. Use weatherstripping on moving parts and caulk only on fixed gaps. If you caulk a moving window by mistake, remove the caulk with a caulk removal tool before it fully hardens.

What is the difference between foam tape and V-strip weatherstripping?

Foam tape is cheaper and easier to install but lasts 3 to 5 years. V-strip is more durable (10 to 15 years) but costs more and requires nailing or screwing to the frame. Both block gaps equally well when installed correctly.

Do I need to remove old caulk before explore new caulk?

Yes. Old caulk that is cracked or peeling will not hold new caulk, and new caulk applied over it will fail. Use a caulk removal tool or flathead screwdriver to scrape out the old material, then clean the gap with a dry cloth before caulking.

How long does caulk take to dry?

Acrylic latex caulk cures in 24 hours indoors. Silicone caulk takes 24 to 48 hours. Exterior caulk may take up to 48 hours depending on temperature and humidity. Do not open the window or expose the caulk to water until it is fully cured.

What should I do if weatherstripping stops sealing?

Peel off the old foam tape and replace it with new tape. If V-strip is damaged, you can remove the fasteners and replace the strip, or remove it entirely and switch to foam tape. Weatherstripping is inexpensive enough to replace every few years as part of regular maintenance.