Bats are most effectively deterred through physical exclusion, not repellents. Sealing entry points and installing one-way exit devices is the only method consistently proven to keep bats out of a structure long-term. Chemical repellents, ultrasonic gadgets, and bright lights have limited or no reliable effect, and some are outright illegal to use against bats.
One-Way Exclusion Devices
The gold standard for removing bats from a building is a one-way exclusion device. These let bats leave on their own but prevent them from coming back in. You have two main options: tubes and netting.
Exclusion tubes are typically two inches in diameter and about 10 inches long, made from PVC pipe, flexible plastic tubing, or even empty caulking tubes with both ends cut off. You squeeze or trim one end to fit snugly into the gap where bats enter, then secure it with caulk, staples, or screws. A collapsible plastic sleeve over the outside end collapses on itself after a bat crawls through, blocking re-entry. The tubes should project horizontally or downward from the roost opening. Bats can’t grip the slick interior surface to crawl upward, so a tube angled above the roost won’t work.
For larger or irregularly shaped openings like attic louvers, lightweight plastic netting with mesh no bigger than one-sixth of an inch works as a one-way valve. Secure the top and sides of the netting over the opening, and let the bottom hang free, extending 18 to 24 inches below the lower edge. Bats crawl down and out, but the loose netting prevents them from flying back up and in.
After all bats have left (usually within three to seven warm nights), you permanently seal every gap. Bats can squeeze through openings as small as three-eighths of an inch, so a thorough inspection of soffits, ridge vents, fascia boards, and chimney flashing is essential before and after exclusion.
Timing Matters: Maternity Season Restrictions
You cannot legally exclude bats during maternity season, when mothers are nursing pups that can’t yet fly. In Florida, for example, exclusion devices are only legal from August 15 through April 15. Blocking a roost between mid-April and mid-August traps flightless young inside the structure, where they die and create serious odor and sanitation problems. Exact dates vary by state and species, so check your state wildlife agency’s guidelines before starting any exclusion work. Most states in the eastern U.S. restrict exclusion roughly from May through August.
Light as a Deterrent
Certain types of light can discourage bats from using a roost entrance, but the effect depends heavily on the color. A study testing LED lighting at cave roost entrances found that white, green, and yellow light all reduced bat activity at the opening. Red and blue light had no noticeable effect compared to total darkness. Interestingly, the intensity of the light mattered less than the wavelength. The key factors were the light’s blue component, red component, peak wavelength, and spectral width.
This means a bright white or green floodlight near an entry point may make bats uncomfortable enough to avoid it temporarily, but light alone won’t solve a roost problem. Bats adapt, and a determined colony will often tolerate the disturbance once they’ve established a roost. Light works best as a short-term nudge alongside physical exclusion, not as a standalone strategy.
Why Ultrasonic Devices Don’t Work Reliably
Ultrasonic repellent devices marketed for home use claim to drive bats away with high-frequency sound. The science behind them is weak. Researchers testing broadband ultrasound broadcasts near wind turbines found some evidence that the sound discouraged bats from approaching, but the effect was inconsistent across test sites and limited by distance. Ultrasound loses energy rapidly in humid air, shrinking the effective range considerably. The researchers themselves concluded that acoustic deterrents are “not an acceptable mitigation strategy at this time.”
Consumer-grade plug-in ultrasonic repellers are far less powerful than the experimental equipment used in those studies. There is no credible evidence that the devices sold at hardware stores deter bats from an attic or wall void.
Mothballs and Chemical Repellents
Mothballs containing naphthalene are one of the most commonly attempted bat deterrents, and one of the worst ideas. Using mothballs to repel bats is illegal. Mothballs are registered by the EPA only for use in enclosed containers to protect fabrics from moths. Scattering them in an attic to repel wildlife is an off-label use of a pesticide, which violates federal law.
Beyond legality, naphthalene is a genuine health hazard. It’s linked to nasal cancer, and the fumes in an enclosed attic can seep into living spaces. Children can mistake loose mothballs for candy. The EPA has flagged the widespread sale of unregistered naphthalene products as a particular concern. Other chemical repellents, including peppermint oil and cinnamon sprays, have no scientific backing for bat deterrence and evaporate quickly in ventilated spaces like attics.
Natural and Environmental Deterrents
A few environmental changes can make your property less attractive to bats in the first place. Reducing outdoor lighting near the house cuts down on the insect swarms that draw foraging bats close to the structure. Trimming tree branches that overhang the roofline removes the sheltered flight paths bats use to approach entry points. Keeping attic spaces well-ventilated and hot during summer can make them less comfortable as roosts, though this alone rarely drives out an established colony.
Bat houses mounted on a pole or building 12 to 20 feet off the ground and facing south can give evicted bats an alternative roost. This won’t deter bats from your attic on its own, but pairing a bat house with proper exclusion increases the chance that bats relocate nearby rather than searching for another gap in your home.
What Actually Works: A Step-by-Step Approach
Effective bat deterrence comes down to a straightforward sequence. First, identify every entry point by watching the exterior of your home at dusk and noting where bats emerge. Second, outside of maternity season, install one-way exclusion devices at each active entry point. Third, wait several nights for all bats to leave. Fourth, remove the devices and permanently seal every gap with caulk, steel wool, hardware cloth, or expanding foam. Gaps along rooflines, where different building materials meet, and around utility penetrations are the most common entry points.
For colonies larger than a handful of bats, or if the roost is in a hard-to-reach area, hiring a wildlife control professional experienced with bat exclusion is the most reliable path. Bat guano accumulation in large colonies can create respiratory hazards from fungal spores, and cleanup often requires protective equipment.

