The most reliable way to repel mosquitoes while sleeping is to combine a physical barrier, like a bed net, with either a fan or a topical repellent. No single method is foolproof on its own, but layering two or three approaches can virtually eliminate bites through the night.
Mosquitoes find you in the dark by following the carbon dioxide you exhale, then homing in on your body heat and skin odors from closer range. Research shows they detect CO2 from several meters away but need to get within about 10 to 20 centimeters before they can sense heat. Every strategy below works by interrupting one or more of those steps.
Bed Nets: The Most Proven Option
A properly hung bed net is the gold standard for sleeping protection, especially in areas with malaria or dengue. The CDC recommends a white, rectangular net with at least 156 holes per square inch, which is fine enough to block even the smallest mosquito species while still allowing airflow. White is ideal because it makes it easier to spot any mosquito that slipped inside before you tuck the edges in.
Nets treated with permethrin, a synthetic insecticide, offer an extra layer of defense. Even if a mosquito lands on the fabric, the chemical kills or repels it on contact. The World Health Organization has assessed permethrin-treated nets at standard concentrations and found the health risk acceptable for all routes of exposure, including for children who touch or sleep against the netting. These nets retain about 90% of their treatment through roughly 20 washes over three years, so they last a long time before needing replacement.
The most common failure point isn’t the mesh itself but gaps at the edges. Mosquitoes are drawn to openings as small as 10 millimeters and will actively seek them out. Tuck the net completely under the mattress or use a net with a weighted hem. Check for tears regularly, since even a small hole becomes an entry point.
A Fan Does More Than Cool You Down
Pointing a fan toward your bed is one of the simplest and most underrated defenses. Research testing wind speeds from 0 to about 8 mph found that fan-generated airflow dramatically reduced mosquito catches, and the effect scaled with wind speed in a predictable pattern. The moving air disperses and dilutes the plume of CO2 and body odors you release, making it much harder for mosquitoes to track you. It also creates physical turbulence that makes landing difficult for insects that weigh almost nothing.
A standard oscillating floor fan or box fan aimed at your upper body is enough. You don’t need a wind tunnel, just a consistent breeze across your sleeping area. This works well as a complement to a bed net or repellent, and it’s completely safe for children and pregnant women.
Topical Repellents for Overnight Protection
If you’re sleeping somewhere without a net, a long-lasting topical repellent applied before bed can carry you through the night. The two most effective active ingredients are DEET and picaridin, and both are available in concentrations that last six to twelve hours.
At 20% concentration, both DEET and picaridin provide over 90% bite protection for at least five hours. Higher concentrations extend that window substantially. In controlled trials, 33% DEET maintained over 90% protection for 12 hours. Picaridin at 20% matched DEET’s performance for up to 10 hours, with some formulations lasting longer. After eight or nine hours, picaridin sometimes outperformed DEET at similar concentrations.
For a full night’s sleep, choose a product with at least 20% of either ingredient. Apply it to exposed skin (arms, legs, neck, feet) right before bed. One application of a higher-concentration product should cover a typical seven- to eight-hour sleep window without reapplication.
Natural Alternatives
Oil of lemon eucalyptus (OLE) is the strongest plant-based option. In field testing, it achieved repellency rates of 85% on the first day, comparable to DEET-based products. However, its protection declines faster, dropping to around 42% by day six in outdoor tests. For a single night indoors, a fresh application is reasonable, but it won’t match the duration of synthetic repellents. OLE should not be used on children under three years old due to a lack of safety data for younger kids.
Seal Your Sleeping Space
Repellents and nets treat the symptom. Keeping mosquitoes out of your room treats the cause. Window screens are effective as long as they’re intact. Mosquitoes can physically fit through gaps as small as 8 millimeters, and they actively prefer openings around 10 millimeters. Check screens for tears, and pay attention to gaps around air conditioning units, door frames, and the seals where screens meet window frames. Even a narrow gap along a sliding door track is enough.
If you’re in a hotel or rental without screens, keep windows closed after dusk and run air conditioning if available. Cool air reduces mosquito activity, and the sealed environment prevents entry. A door sweep on exterior doors eliminates the gap at the threshold that mosquitoes readily exploit.
What to Skip: Coils and Ultrasonic Devices
Mosquito coils are widely used in tropical regions, but burning one indoors while you sleep poses a serious air quality problem. A single burning coil releases the same mass of fine particulate matter (PM2.5) as 75 to 137 cigarettes. Its formaldehyde emissions equal roughly 51 cigarettes. Researchers analyzing coils from China and Malaysia also identified multiple volatile organic compounds, including known and suspected carcinogens, in the smoke. In an enclosed bedroom, pollutant concentrations from a single coil can substantially exceed health-based air quality guidelines. If you use a coil, it should only be in a well-ventilated or outdoor space, never in a closed room where you’re sleeping.
Ultrasonic repellent devices, the plug-in gadgets that claim to drive mosquitoes away with high-frequency sound, do not work. In a blinded, placebo-controlled trial across 18 nights, devices emitting frequencies from 3 to 11 kHz produced no significant difference in mosquito landing rates compared to placebo units. Over 7,400 mosquitoes were caught during the study, and the ultrasound had no measurable effect on any species tested.
Protecting Infants and Young Children
Children under six months should not have any topical repellent applied to their skin. A bed net is the safest and most effective approach for babies. Make sure the net is secured so there’s no risk of it draping over the child’s face.
For children six months and older, DEET and picaridin at child-appropriate concentrations (10% to 20%) are considered safe. Apply the repellent to your own hands first, then rub it onto the child’s exposed skin, avoiding the hands, eyes, and mouth. Plant-based options like citronella and lavender oil are not recommended for topical use on children under two because of insufficient safety data. OLE products carry a minimum age of three.
A fan paired with a properly installed bed net is the simplest, safest combination for a child’s room, effective without any chemical exposure at all.
Putting It All Together
The most effective overnight setup layers two or three methods. A bed net keeps mosquitoes physically away from your skin. A fan disperses the CO2 and heat signals that draw them in. A topical repellent handles any mosquito that gets past both barriers. And sealed windows and doors reduce the number of mosquitoes in the room to begin with.
If you’re at home in a screened house, a fan alone may be enough on most nights. If you’re traveling in a high-mosquito area, a permethrin-treated bed net plus a 20% DEET or picaridin application before bed is the combination used by travelers and field researchers worldwide. Match your approach to the threat level, and prioritize the methods that work passively while you sleep rather than relying on anything you’d need to reapply at 3 a.m.

