Bugs die from chemicals that shut down their nervous systems, physical substances that destroy their protective outer shells, extreme temperatures, and biological agents that attack them from the inside. The method that works best depends on what type of bug you’re dealing with and where the problem is. Here’s how each approach actually works and when to use it.
Chemical Sprays and How They Work
The most common bug-killing chemicals on store shelves are pyrethroids, synthetic versions of a compound naturally found in chrysanthemum flowers. These work by binding to the electrical channels in an insect’s nerve cells, forcing those channels to stay open when they should close. The result is uncontrolled nerve firing, paralysis, and death. You’ll find pyrethroids in most household sprays, ant killers, and perimeter treatments sold at hardware stores.
Gel baits take a different approach. Instead of killing on contact, they use slow-acting poisons that insects carry back to their nests. Fipronil, one of the most effective bait ingredients for cockroaches, typically kills within two days of ingestion. Because the poisoned insect returns to its colony first, other roaches that feed on it or its droppings also die. In lab studies, freshly applied fipronil gel baits achieved 100% cockroach mortality within five days.
One important caveat: bugs are developing resistance to chemical killers at an alarming rate. Mosquito populations in many parts of the world now carry genetic mutations that make pyrethroids far less effective. When two specific resistance mutations appear together in the same insect, resistance can increase by hundreds or even thousands of times compared to a single mutation alone. If a spray that used to work stops working, resistance is the likely explanation, and switching to a different class of product is the practical fix.
Physical and Mechanical Methods
Not every bug killer is a chemical. Some of the most reliable options work through pure physics.
Diatomaceous earth is a fine powder made from fossilized algae. Under a microscope, each particle has sharp, jagged edges. When an insect crawls through it, those edges scratch and abrade the waxy coating on its exoskeleton. The powder then absorbs the oils and fats from that coating, and the insect dries out and dies from dehydration. It works on ants, cockroaches, bed bugs, fleas, and most crawling insects. The tradeoff is speed: diatomaceous earth can take anywhere from a few hours to several days, depending on the insect and how much contact it makes.
Sticky traps are exactly what they sound like. They don’t poison anything. They simply immobilize insects on a glue surface until they die of dehydration or starvation. They’re useful for monitoring how bad a problem is and for catching stragglers, but they rarely solve an infestation on their own.
Vacuuming is underrated. For visible clusters of insects (think spiders, stink bugs, or carpet beetles), a vacuum with a hose attachment removes them immediately. Disposing of the bag or emptying the canister outdoors finishes the job.
Heat and Cold
Temperature extremes are highly effective bug killers, especially for bed bugs. Adult bed bugs die when exposed to 48.3°C (about 119°F), while their eggs are tougher and require 54.8°C (around 131°F) to achieve a complete kill. At 45°C (113°F), adults survive for up to 95 minutes, and eggs can hang on for over seven hours. Once temperatures hit 50°C (122°F) or above, no survival is observed in either adults or eggs.
Professional heat treatments for bed bugs work by raising the temperature of an entire room above that lethal threshold and holding it there long enough to penetrate furniture, mattresses, and wall cavities. The standard recommendation is to reach at least 48°C in every hiding spot and maintain it for at least 72 minutes, or push temperatures to 50°C and above throughout the space.
Cold works too, but more slowly. Placing infested items in a freezer at 0°F (-18°C) for at least four days kills most household insects at all life stages. This is practical for small items like books, shoes, or stuffed animals that can’t tolerate heat.
For everyday laundry, running clothes and bedding through a hot dryer cycle for 30 minutes is enough to kill bed bugs, fleas, and their eggs.
Biological Bug Killers
Some of the most targeted bug killers come from nature. Bacillus thuringiensis, commonly called Bt, is a soil bacterium that produces proteins toxic to specific insects. When a caterpillar or mosquito larva eats Bt, those proteins bind to receptors in its gut lining and punch holes through the cells, essentially destroying the digestive system from the inside. Bt is widely used in organic gardening and mosquito control because it kills the target pest without harming bees, birds, or mammals.
Neem oil, pressed from the seeds of a tropical tree, contains a compound called azadirachtin that mimics the hormones insects use to molt and grow. When insects ingest it, their molting process gets disrupted, so larvae can’t develop into adults. It also acts as a feeding deterrent by triggering “stop eating” signals in the insect’s taste receptors while simultaneously blocking the “keep eating” signals. This makes it especially useful for garden pests like aphids, whiteflies, and caterpillars.
Parasitic nematodes are microscopic worms you can buy and apply to soil. They enter grubs, flea larvae, and other soil-dwelling pests through natural body openings, then release bacteria that kill the host within 24 to 48 hours. They’re a practical option for lawn grubs and outdoor flea control.
Choosing the Right Method
Different situations call for different tools. Here’s a practical breakdown:
- Ants: Gel baits work best because foraging ants carry the poison back to the colony. Spraying visible ants with contact killer actually slows down colony elimination by disrupting the trail before enough bait gets shared.
- Cockroaches: Gel baits (especially fipronil-based ones) combined with boric acid powder in wall voids and under appliances. Roaches that eat bait die within two days and poison nestmates through contact and feeding.
- Bed bugs: Heat treatment is the gold standard for heavy infestations. For lighter problems, diatomaceous earth applied to cracks and crevices, combined with mattress encasements and regular hot-dryer cycles, can work over several weeks.
- Flies and mosquitoes: Eliminating standing water (where they breed) does more than any spray. For immediate relief, pyrethroid-based sprays kill on contact, and Bt dunks placed in water features kill larvae before they become adults.
- Garden pests: Neem oil for soft-bodied insects like aphids, Bt for caterpillars, and diatomaceous earth for crawling beetles. Rotating between these prevents any single pest population from developing tolerance.
Safety Around People and Pets
The EPA classifies pesticide toxicity into four categories, with Category I being the most dangerous and Category IV the least. Most consumer-grade bug sprays and baits fall into Categories III and IV, meaning they pose relatively low risk when used as directed. Products in Categories I and II carry signal words like “Danger” or “Warning” on the label and are typically restricted to professional use.
Pyrethroids are among the safer chemical options for mammals because insects are far more sensitive to them than humans or dogs are. Cats, however, lack a key enzyme needed to break down pyrethroids, so flea treatments and sprays designed for dogs should never be used on or near cats.
Diatomaceous earth is one of the lowest-risk options overall, since it works mechanically rather than chemically. The main precaution is avoiding inhalation of the fine dust during application. Food-grade diatomaceous earth is safe around children and pets once it settles. Bt and neem oil are also considered very low risk for humans and pets, which is why both are approved for organic food production.
For any chemical product, the label is the most reliable safety guide. If it says to ventilate the room, keep pets out for a specific time period, or avoid skin contact, those instructions reflect actual toxicity testing, not just legal caution.

