Crickets are drawn to a combination of light, dark sheltered crevices, warmth, moisture, and food odors, and understanding which of these dominates depends on the time of day and the cricket’s immediate needs. At night, many species fly or walk toward artificial lights. During the day or when resting, they seek out tight, dark, humid hiding spots. Layer food smells on top of those preferences and you have a reliable recipe for a cricket congregation. But the picture is richer than a simple list of attractants, because crickets are surprisingly sophisticated in how they evaluate their surroundings.
Why Crickets Show Up Around Lights
If you have ever sat on a porch on a summer evening and heard chirping converge around the floodlight, you have witnessed one of the most visible cricket behaviors: attraction to artificial light. Crickets are primarily nocturnal, and like many night-active insects, they are drawn to light sources in ways that researchers are still working to fully explain. A broad review of the scientific literature on artificial light at night found that this flight-to-light behavior is one of the most studied responses among nocturnal insects, and that exponential increases in night-sky brightness worldwide have raised serious concerns about the impact on crepuscular and nocturnal species.1PubMed Central. The impact of artificial light at night on nocturnal insects: A review and synthesis
What makes crickets especially responsive to certain lights comes down to their visual hardware. The compound eyes of field crickets contain three types of photoreceptors, peaking in sensitivity at ultraviolet (around 332 nm), blue (around 445 nm), and green (around 515 nm) wavelengths.2PubMed. Spectral and polarized light sensitivity of photoreceptors in the compound eye of the cricket (Gryllus bimaculatus) That UV sensitivity is key. Many outdoor and commercial lights emit UV wavelengths that are invisible to humans but act like beacons for crickets. Standard white fluorescent tubes, mercury-vapor lamps, and some older LEDs are especially attractive. Warm-toned LEDs and yellow “bug lights” that emit very little UV tend to pull in far fewer insects. So if crickets keep appearing around your home, the type of bulb you use matters as much as whether you leave the light on.
It is worth noting that light does not attract crickets during the daytime. Their circadian rhythm drives them to seek dark hiding places when the sun is up. Light attraction is overwhelmingly a nighttime phenomenon, linked to their active foraging and dispersal period.
The Pull of Tight, Dark Spaces
During resting hours, crickets reverse their relationship with light completely. They are strongly drawn to dark, enclosed spaces where their body can press against surfaces. This wall-hugging behavior, called thigmotaxis, is one of the defining traits of cricket shelter-seeking. Research on house crickets found that they locate their preferred resting sites through innate responses to light avoidance and a drive to press against surfaces, supplemented by a preference for humidity and warmth.3PubMed. The selection of shelter place by the house cricket In practical terms, this means crickets gravitate toward cracks in foundations, gaps under doors, piles of debris, stacked cardboard, leaf litter, and any crevice where they can wedge themselves in and feel contact on multiple sides of their body.
Thigmotaxis is not just a comfort behavior. A study on female Texas field crickets found that individual variation in wall-hugging was linked to how the crickets navigated their environment. Crickets that hugged walls less tended to perform better at spatial tasks, possibly because they relied more on vision rather than staying in contact with surfaces.4PLOS ONE. Forest litter crickets prefer higher substrate moisture for oviposition: Evidence from field and lab experiments But for most crickets in most situations, pressing against a surface signals safety. This is why you find them behind appliances, inside wall voids, under rocks, and in the folds of ground-level clutter.
If you are trying to keep crickets out of a building, understanding thigmotaxis tells you where to focus. Sealing cracks at ground level, eliminating gaps under doors, and removing stacks of material near the foundation takes away exactly the kind of shelter crickets are wired to seek. They are not randomly wandering in. They are following edges and pressing into gaps.
Moisture and Temperature Preferences
Darkness and tight spaces are necessary but not sufficient. Crickets are also strongly attracted to moisture. Forest litter crickets, for example, showed a clear linear preference for wetter substrates when choosing where to lay eggs. Both in the field and in the lab, the probability that females would deposit eggs in a given spot rose steadily as moisture increased.4PLOS ONE. Forest litter crickets prefer higher substrate moisture for oviposition: Evidence from field and lab experiments This makes sense biologically: cricket eggs desiccate easily, and nymphs need humid conditions to molt successfully. But the preference for moisture extends well beyond egg-laying. Crickets of all life stages tend to cluster in damp areas, which is why basements, crawl spaces, bathrooms, and laundry rooms are common indoor trouble spots.
Temperature plays a similarly powerful role. Crickets are ectotherms, so they depend on their environment for body heat, and they actively seek out temperatures that match their metabolic needs. Research on field crickets found that long-winged individuals (the ones primed for dispersal flights) preferred temperatures around 36°C, while short-winged crickets (more sedentary) preferred roughly 32.5°C.5Functional Ecology. Nocturnal dispersal flight of crickets: Behavioural and physiological responses to cool environmental temperatures These preferences also shift across the day: crickets prefer warmer microclimates during their active nocturnal period, and long-winged crickets generally preferred warmer temperatures than short-winged ones throughout the full day-night cycle.6Current Research in Insect Science. Life history strategy dictates thermal preferences across the diel cycle and in response to starvation in variable field crickets, Gryllus lineaticeps
What this means in practice is that warm, humid environments are cricket magnets. Heated buildings in cooler climates provide exactly the thermal profile crickets are drawn to, especially near plumbing, heating vents, or water heaters. Outdoors, compost piles, mulch beds, and irrigated gardens offer the same combination of warmth and dampness.
What Crickets Eat and How They Find It
Crickets are omnivores with broad tastes. They eat decaying plant matter, fungi, other insects (alive or dead), pet food, paper, fabric, and crumbs of almost anything humans eat. That dietary flexibility is part of why they thrive in and around homes. But their feeding is not indiscriminate. Crickets actively regulate what they consume based on nutritional content, and they are remarkably good at it.
When given a choice between foods with different protein-to-carbohydrate ratios, crickets consistently self-select a balanced diet. One study found that crickets offered a range of diets chose roughly equal parts protein and carbohydrate throughout their development, though males ate about 17% more protein than females.7PubMed Central. Applying nutritional ecology to optimize diets of crickets raised for food and feed A separate study on cricket nymphs found a self-selected protein-to-carbohydrate ratio closer to 1:1.8, which aligned with the ratio that maximized their body mass and growth rate.8Physiological Entomology. Nutrient landscape of a cricket nymph: How dietary protein and carbohydrate shape intake, performance, and body composition in the two‐spotted cricket, Gryllus bimaculatus The slight difference between studies reflects different species and life stages, but the consistent finding is that crickets do not just eat whatever is nearest. They evaluate food and adjust their intake toward a target nutritional balance.
Diet quality also shapes cricket development in ways that matter for attraction. Males fed a protein-rich diet reached adulthood several days faster than males fed a carbohydrate-heavy diet and grew larger.9Elsevier / Animal Behaviour. How dietary protein and carbohydrate influence field cricket development, size and mate attraction signalling This means protein-rich food sources, like pet food, meat scraps, or other dead insects, are especially attractive to growing crickets and to adults gearing up for reproduction.
Crickets find food largely through smell. Their antennae are the primary sensory organ for detecting chemical cues in the environment, packed with specialized structures for picking up olfactory, gustatory, and mechanical signals.10PubMed. The anatomical pathways for antennal sensory information in the central nervous system of the cricket, Gryllus bimaculatus Detailed microscopy of house cricket antennae revealed roughly 200 segments per antenna, bearing seven distinct types of sensory structures. Four of these types have features consistent with olfactory detection, one appears gustatory, and two seem mechanosensory.11The FASEB Journal. Functional Morphology of Sensory Organs of the House Cricket, Acheta domesticus (L.): A Morphological and Physiological Investigation This sensory toolkit lets crickets smell food from a distance and then taste-test it up close before committing to a meal.
Smells That Repel Instead of Attract
The same olfactory sensitivity that draws crickets to food also makes them responsive to warning smells. One striking example involves bacterial contamination. Researchers exposed crickets to feed contaminated with E. coli bacteria and found that the bacteria released a volatile compound called indole that the crickets could detect with their antennae. In behavioral tests, crickets spent less time feeding on indole-contaminated food compared to clean food, showing a clear avoidance response.12Journal of Insects as Food and Feed. Can crickets recognise bacterially contaminated feed? Gryllus assimilis odour perception of Escherichia coli Crickets are not blindly attracted to all organic material. They can distinguish safe food from potentially harmful food by smell alone.
Predator odors trigger a similar avoidance. Female crickets exposed to the scent of a shrew (a natural mammalian predator) took significantly longer to begin foraging compared to females in a scent-free control group.13PubMed Central. Sex-based differences in anti-predator response of crickets to chemical cues of a mammalian predator The response was sex-dependent: females were more cautious than males, possibly because the cost of losing a reproducing female is higher than the cost of losing a male in evolutionary terms. For anyone trying to discourage crickets from a particular area, the implication is that certain strong organic smells, particularly those associated with predators or decay, can reduce cricket activity even if the shelter and moisture conditions are otherwise ideal.
Sound and Chemical Signals From Other Crickets
Beyond light, shelter, and food, crickets are powerfully attracted to each other. Male calling songs are one of the most recognizable cricket behaviors, and for good reason: the chirp is a long-range signal that draws females in for mating. Female field crickets walk toward male calls in a behavior called phonotaxis, which researchers have studied extensively as a model for understanding how animals navigate using sound.14PubMed Central. Substrate texture affects female cricket walking response to male calling song If you hear one cricket chirping in your garage, it may be actively recruiting others.
Chemical signals also play a role in aggregation. Cave crickets produce pheromones in their feces that strongly attract other individuals. In laboratory and field tests, about 70 to 88% of cave crickets moved toward filter paper that had been defecated on by other crickets, regardless of whether the feces came from adults or nymphs.15Oxford Academic (Journal of Insect Science). The pheromone of the cave cricket, Hadenoecus cumberlandicus, causes cricket aggregation but does not attract the co-distributed predatory spider, Meta ovalis This means that once a few crickets establish themselves in a spot, their presence chemically signals other crickets to join. A small problem can become a large one through this aggregation effect.
The combination of acoustic and chemical attraction explains why cricket infestations tend to be clustered rather than evenly spread. They are not independently finding the same spot. They are actively signaling each other to gather there.
How Crickets Balance Attraction Against Danger
Crickets do not simply follow every attractive stimulus without hesitation. They continuously weigh attraction against risk, and they have evolved sensory thresholds that help them make surprisingly smart decisions. Research on rainforest crickets found that they use a high-amplitude behavioral threshold for responding to ultrasonic bat calls. Under the noisy conditions of a tropical forest at night, this threshold helps them avoid false alarms triggered by background noise while still detecting bat echolocation calls that are close enough to represent a genuine threat.16Philosophical Transactions of the Royal Society B. Decision making in the face of a deadly predator: high-amplitude behavioural thresholds can be adaptive for rainforest crickets under high background noise levels
This kind of risk-reward calculus means that what “attracts” a cricket is always conditional. A bright light might draw a cricket on a warm, quiet night but fail to lure one if predator cues are strong in the area. A moist crevice might be ideal shelter, but if it smells like a shrew, the cricket will keep moving. When you think about what pulls crickets toward your home, you are really thinking about the net balance of all these signals. The locations where crickets show up are the spots where attraction wins and danger signals are low.
Practical Steps for Reducing Cricket Attraction
Knowing what draws crickets in gives you a clear checklist for making a space less inviting:
- Switch lighting: Replace white fluorescent or mercury-vapor outdoor bulbs with warm-toned LEDs or amber “bug lights” that emit minimal UV. Position lights away from doorways so the cone of attraction pulls crickets away from entry points rather than toward them.
- Seal entry points: Crickets follow edges and press into gaps. Weatherstripping under doors, caulk around pipes and wires entering the building, and mortar for foundation cracks address their thigmotactic instincts directly.
- Reduce moisture: Fix leaky faucets, improve drainage around foundations, and use dehumidifiers in basements and crawl spaces. Removing the moisture gradient that crickets follow eliminates one of their strongest habitat cues.
- Remove food sources: Store pet food in sealed containers, clean up crumbs, and take garbage out regularly. Outdoors, move compost bins and organic debris away from the building’s perimeter.
- Eliminate shelter clutter: Stacked cardboard, firewood against walls, dense ground cover right next to the foundation, and piles of debris all create the dark, tight microclimates crickets are wired to seek. Creating a clear perimeter zone of a foot or two around the building removes harborage.
None of these steps alone will eliminate crickets entirely, but stacking them addresses every major attractant simultaneously. The goal is not perfection but shifting the balance so your space scores poorly across every dimension crickets evaluate.
Why Cricket Farming Exploits the Same Instincts
The growing industry of cricket farming for food and animal feed relies on the exact same set of attractants, just turned in the opposite direction. Instead of minimizing moisture, warmth, darkness, and food odor, producers maximize them. Cricket rearing facilities typically provide egg cartons or corrugated cardboard for shelter (exploiting thigmotaxis), maintain humidity above 50%, keep temperatures warm, and offer carefully formulated diets balanced in protein and carbohydrate.
The nutritional research on cricket self-selection has direct commercial implications. Knowing that crickets actively regulate their nutrient intake means producers can offer optimized diets rather than simply dumping in cheap grain. Studies showing that protein-rich diets accelerate development and increase body size suggest that farms aiming for fast turnover and high yields should skew feeds toward protein.9Elsevier / Animal Behaviour. How dietary protein and carbohydrate influence field cricket development, size and mate attraction signalling Meanwhile, findings that crickets can detect and avoid bacterially contaminated feed via volatile compounds like indole highlight the importance of hygiene in production facilities. If feed goes bad, the crickets themselves may refuse to eat it.12Journal of Insects as Food and Feed. Can crickets recognise bacterially contaminated feed? Gryllus assimilis odour perception of Escherichia coli
Research into active nutrient regulation by crickets has also found that males and females have somewhat different nutritional targets, and that life stage matters too. Nymphs self-selecting a carbohydrate-leaning ratio while adults trend toward more balanced or protein-rich intake suggests that a one-size-fits-all diet is suboptimal.8Physiological Entomology. Nutrient landscape of a cricket nymph: How dietary protein and carbohydrate shape intake, performance, and body composition in the two‐spotted cricket, Gryllus bimaculatus Farms that adjust feed composition by life stage can improve growth efficiency and reduce waste. The biological instincts that make crickets a nuisance in your basement are the same ones that make them efficient and manageable as livestock.
The Aggregation Snowball Effect
One of the least appreciated aspects of cricket attraction is how quickly a small presence compounds. The fecal pheromone aggregation documented in cave crickets, where 70 to 88% of tested individuals moved toward areas marked by other crickets’ droppings, means that once a handful of crickets settle into a favorable spot, they chemically advertise it to every passing individual.15Oxford Academic (Journal of Insect Science). The pheromone of the cave cricket, Hadenoecus cumberlandicus, causes cricket aggregation but does not attract the co-distributed predatory spider, Meta ovalis Add male calling song on top of pheromone trails, and you have two independent broadcast systems drawing more crickets in.
This snowball dynamic is why early intervention matters more for crickets than for many other household pests. A single cricket under the washing machine is easy to ignore. But if it is a female that has laid eggs in the damp substrate, or a male whose chirping carries through the walls, the conditions for rapid population growth are already in place. The shelter, moisture, warmth, food scraps, and now social signals are all aligned. By the time you hear a chorus, the colony has been building for weeks.