How do I prevent pests from getting into my house?
Block the ways in and take away what pests are looking for. Seal cracks and openings, using steel wool, sheet metal or galvanized wire cloth for any gap over 1/4 inch that rodents could use. Fix leaks and standing water, repair screens, and keep plants, mulch and wood away from the foundation.
Exclusion works better than spraying
Pests come inside for three things: food, water and shelter. The U.S. Environmental Protection Agency (EPA) frames prevention around taking those away. Its advice falls into three steps: cut off food, cut off water and block the ways in.
EPA's integrated pest management approach puts prevention first and treats broad pesticide spraying as a last resort. Start with the house itself.
Seal the entry points
Know the size that matters
University of California Integrated Pest Management (UC IPM) guidance says sealing cracks and openings wider than 1/4 inch keeps out both rats and mice. Rats can slip under a door with only a 1/2-inch gap, so door bottoms deserve a close look. For insects, UC IPM's ant guidance says to caulk cracks and openings that provide entry into buildings.
Walk the outside of the house and check:
- Gaps where pipes, wires and cables enter the walls
- Foundation cracks and openings around crawl spaces
- Spaces around windows and door frames
- Door bottoms and thresholds
- Chimney tops and roof plumbing vents
- Vent covers
Inside, EPA suggests sealing cracks along baseboards, behind sinks and around pipes and windows. UC IPM notes that ants follow wires and pipes as trails into buildings.
Use materials pests cannot chew
Caulk is fine for insects, but UC IPM warns that rats can chew through plastic, foam, wood and caulk. For rodent-sized holes, it recommends:
- Steel wool
- Sheet metal
- Galvanized wire cloth or expanded metal with 1/2-inch mesh over vents
- Door sweeps or weather stripping on exterior doors
- A tight-fitting crawl space cover and a spark arrester on the chimney
UC IPM says never to use lightweight chicken wire, because rats can pass through its openings.
Keep screens whole
EPA advises repairing holes in door and window screens. UC IPM recommends 1/2-inch galvanized wire cloth on ground-level windows that open, and covering the tops of roof plumbing vents over 2 inches across with screen.
Control moisture
EPA's moisture checklist:
- Fix leaky faucets, dishwashers, washing machines and radiators
- Wipe up spills and puddles quickly
- Drain standing dish water from the sink
- Empty excess water from plant saucers
Outdoors, UC IPM ties termite risk to damp foundations and substructures. It recommends keeping those areas dry and ventilated, and repairing plumbing leaks, foundation cracks and grading problems promptly. Ants are drawn to leaky faucets and sprinkler heads, so fix those too.
Create a buffer around the foundation
What touches the house becomes a bridge into it.
- Plants and mulch: UC IPM's ant guidance says to keep plants, grass and mulch at least one foot from the foundation.
- Shrubs and branches: Its rat guidance says to keep shrubs 2 feet from buildings and to prune tree limbs well back from the roof.
- Wood: For termites, UC IPM recommends keeping structural wood ideally at least 12 inches above soil and removing woodpiles, scrap wood and untreated posts near the house.
Take away food and hiding places
Sealing works best alongside good housekeeping. EPA recommends sealing food in containers or bags, cleaning up crumbs right away, keeping trash lidded and emptied often, and not leaving pet food out overnight. Clearing stacks of newspapers and cardboard removes hiding spots. EPA also suggests checking boxes and bags before bringing them inside.
When to call a professional
EPA's integrated pest management guidance notes that sighting a single pest does not always mean control is needed. If you find termite mud tubes on walls, damaged wood or indoor swarms of winged insects, call a licensed pest control professional; UC IPM says to call a professional if you suspect your home is infested. It notes that only licensed professionals can apply registered termite pesticides, and it suggests professional termite inspections every 3 to 5 years.
Related questions
What size hole can a mouse or rat get through?
UC IPM says sealing cracks and openings wider than 1/4 inch excludes both rats and mice, and that rats can squeeze under a door with only a 1/2-inch gap.
Is caulk or spray foam enough to keep rodents out?
Not by itself. UC IPM notes rats can chew through plastic, foam, wood and caulk. Use steel wool, sheet metal or galvanized wire cloth for rodent openings.
How far should mulch be from my foundation?
UC IPM's ant guidance recommends keeping plants, grass and mulch at least one foot away from the foundation.
Find pest control companies near you
Listed businesses in our launch markets
These are real pest control companies listed in our directory, not recommendations or endorsements. We don't verify pricing, licensing or availability — confirm directly before hiring.
Mike's Swat Team Pest & Termite Control
No Pest Zone
Mosquito Shield
Grove & Hulett PC
Allstate Termite & Pest Solutions - Tulsa
Eco-Logic Management Inc.
Popular areas:
Sources
- Do You Really Need to Use a Pesticide? — U.S. Environmental Protection Agency . Accessed Nov 9, 2026.
- Pest Notes: Rats — University of California Statewide IPM Program . Accessed Nov 9, 2026.
- Pest Notes: Ants — University of California Statewide IPM Program . Accessed Nov 9, 2026.
- Pest Notes: Termites — University of California Statewide IPM Program . Accessed Nov 9, 2026.
- Introduction to Integrated Pest Management — U.S. Environmental Protection Agency . Accessed Nov 9, 2026.