Most rain barrels are designed to prevent animals, insects, and even debris from getting inside. This often includes mosquitoes. If you want to prevent them from getting inside, choose a rain barrel with a mesh cover with small holes.