Worried your rain barrel will turn into a mosquito nursery? Here is how to keep mosquitoes out of a rain barrel: screen every opening with fine mesh, then keep the barrel empty and dry between rain events.
This page is one part of the wider topic of rainwater harvesting, focused on the mosquito risk.
| Item | Value |
|---|---|
| Intake opening screen | A double layer of fine mesh window screen |
| Overflow port screen | Two layers of fine mesh screen around the opening |
| Outflow valve position | An inch or two from the bottom of the barrel |
| Between rain events | Barrel stays completely dry |
| Possible fine for failing to prevent mosquitoes (California district) | Up to $1,000 per day |
These figures come from a mosquito control district’s guidance at San Gabriel Valley Mosquito and Vector Control District. Requirements and fines can change, so check the source before you rely on them.
Why do rain barrels attract mosquitoes?
Mosquitoes need standing water to lay their eggs and grow, and a barrel full of rainwater provides exactly that. The district behind the guidance above describes rain collection devices as a perfect environment for them, which is why its barrel advice focuses on closing every access point.
The same page notes that mosquitoes are responsible for more human deaths than any other animal in the world. That is the reason local vector control teams take neglected water containers seriously.
A barrel has more entry points than most people expect. Common ones include:
- The intake opening where the downspout feeds in
- Decorative tops with dips or rims that hold water
- The overflow port
- The outflow valve near the base
- Loose lids, caps or worn screens
Screening the intake and overflow
The intake opening should always be covered with screen and tightly sealed. According to the district’s guidance, a double layer of fine mesh window screen is necessary to keep mosquitoes out.
Hoses and downspouts should not feed straight into the barrel. Leave an air gap so that water has to pass through the intake screen.

The overflow port stops water rising above the intake screen, but an open port gives mosquitoes a way in. The district recommends securing two layers of fine mesh screen around it, as described on its rain barrel page.
Large screens and perforated tops will not keep mosquitoes out, according to the same page. Fine mesh is the point, so a coarse grille is not a substitute.
Choosing a barrel top and managing the valve
Some barrels have design touches that hold water, or a rim that lets water overflow and collect above the screen. The district’s advice is to choose a barrel with a smooth top, and to keep any depressions filled with sand or remove the water immediately after rains, as set out in its guidance.
The outflow valve is the next trap. It sits an inch or two from the bottom of the barrel, so a drained barrel still holds some water below the valve, according to the district.
Its recommendation is to screen the opening with fine mesh and keep the valve closed. The leftover water then has to be removed by hand.
If you are still choosing or installing a barrel, the guide on how to set up a rain barrel covers the build side, and the points above are worth checking against any model you pick.
A routine for keeping the barrel dry and clean
The district says rain barrels are not designed to safely store water, and that collected water should be used right away. A short routine keeps the barrel dry between storms:
- After rain, use the collected water promptly rather than leaving it to sit.
- Drain the barrel, including the water left below the valve, so it stays completely dry between rain events.
- Look over the screens, openings, lids and caps, and repair worn or damaged parts quickly.
- Scrub the inside now and then with a scrub pad and warm, soapy water to remove eggs stuck to the walls.
Each of these steps comes from the district’s tips. Regular checks matter because the district also advises checking the structural integrity of the barrel, including clogged openings and loose fitting lids.
If you think mosquitoes are already growing inside, remove all of the water immediately. The district says this will kill any larvae growing in the barrel.
Local rules and checking before you build
Mosquito rules are set locally. The district’s page says failure to prevent mosquitoes may result in fines up to $1,000 per day under the California Health and Safety Codes 2000-2067, and it presents this as an enforcement risk in its own area, per the source.
Your area may have different rules, or none. Contact your local vector control or health authority, and read up on is it legal to collect rainwater where you live.
For questions about whether collected rainwater is suitable for any particular use, ask your local health authority rather than relying on a general guide.
Frequently asked questions
Do I need to empty the barrel after every rain?
Show answer
The district’s advice is that the barrel must stay dry between rain events, so plan to use the water soon and drain what remains. Check local guidance for how that applies where you live.
Is one layer of window screen enough?
Show answer
The district specifically calls for a double layer of fine mesh at the intake, so a single thin layer falls short of that advice.
What do I do if I find larvae?
Show answer
Empty the whole barrel straight away. The district states that doing so kills larvae, and a scrub with warm, soapy water helps clear eggs from the walls.
Can a decorative lid cause problems?
Show answer
Yes. Dips and rims can hold enough water to breed mosquitoes, so a smooth top is preferred, and any hollows should be filled with sand or dried quickly after rain.



