Dogs snap at the air for several reasons, ranging from harmless playfulness to signs of a medical problem that needs attention. If your dog does it once while excited or chasing a bug, it’s probably nothing. But if the snapping is repeated, happens in episodes, or looks like your dog is biting at invisible flies, it could point to a gastrointestinal issue, a type of seizure, or a compulsive behavior disorder.
Fly-Catching Syndrome
The most distinctive form of air snapping is called fly-catching syndrome, where a dog repeatedly snaps at the air as if trying to catch imaginary flies. The episodes can be brief or last several minutes, and they sometimes include jumping, licking, and swallowing. It looks bizarre, almost like the dog is seeing something that isn’t there. In some cases, that’s essentially what’s happening.
This behavior has puzzled veterinarians for decades because it sits at the intersection of several possible causes: seizure activity in the brain, compulsive behavior, hallucinations, and gastrointestinal disease. A multicenter study of 24 dogs with fly-catching syndrome found that the cause remained unclear in most cases, which tells you how complex this condition can be. But research over the past two decades has increasingly pointed toward one surprising culprit.
The Stomach Connection
A landmark study published in The Canadian Veterinary Journal found that gastrointestinal disease was the most common underlying cause of fly-biting behavior. When researchers performed endoscopies on seven dogs with the behavior, every single one had a digestive abnormality. The problems ranged from inflammatory conditions of the stomach and small intestine to acid reflux and delayed stomach emptying.
The connection makes sense when you think about it: a dog experiencing nausea, acid reflux, or stomach pain may snap or gulp at the air the same way a nauseated person might swallow repeatedly. One case that helped researchers form this theory involved a Cavalier King Charles Spaniel whose five months of fly-catching behavior completely stopped after a diet change to treat flatulence. When the owners tested different foods, they found the dog tolerated fish and milk just fine, but red meats, poultry, or rabbit caused the behavior to return within an hour of eating. Another dog in the study had episodes of excessive drooling alongside the air snapping. Once that dog was diagnosed with a specific type of stomach inflammation and treated with a hypoallergenic diet, both the drooling and the fly biting resolved.
If your dog’s air snapping tends to happen after meals or alongside signs like lip licking, grass eating, gulping, or a gurgling stomach, a digestive issue is worth investigating.
Focal Seizures
Air snapping can also be a type of focal seizure, sometimes called a psychomotor seizure. Unlike the dramatic full-body convulsions most people picture, focal seizures affect only part of the brain and can look like nothing more than a brief episode of strange behavior. The dog’s consciousness may be altered during the event. It might appear to hallucinate, seem confused, or fail to recognize family members. Fly-biting is a recognized example of this type of seizure.
In the study of 24 dogs with fly-catching syndrome, EEG recordings showed abnormal electrical spike activity in 38% of the cases, with most of that activity located in the part of the brain responsible for vision. That supports the idea that some dogs are genuinely “seeing” something during these episodes, likely visual disturbances triggered by misfiring neurons. The same study found that brain MRIs revealed structural abnormalities in several dogs, including a condition called Chiari malformation where the skull is too small for the brain.
Clues that air snapping might be seizure-related include episodes that happen during rest or sleep, a dazed or “checked out” look during the behavior, and a period of confusion or exhaustion afterward. If you can’t interrupt the behavior by calling your dog’s name or offering a treat, that also points more toward a neurological cause than a behavioral one.
Compulsive Behavior
Some dogs develop repetitive air snapping as a compulsive behavior, similar to how dogs might chase their tails or lick their paws raw. This typically starts as a normal behavior that gets reinforced, either because the dog finds it self-soothing during stress or because it accidentally gets attention from owners. Over time, the behavior becomes harder for the dog to stop on its own.
Compulsive disorders are more likely in dogs that are understimulated, anxious, or confined for long periods. The key difference from seizures is that compulsive behaviors can usually be interrupted. If your dog stops snapping when you redirect with a toy, a command, or a walk, the behavior is more likely compulsive than neurological. That said, the lines blur. Cavalier King Charles Spaniels appear in the literature repeatedly for both compulsive fly snapping and seizure-related fly catching, suggesting some breeds may be genetically predisposed to the behavior regardless of the exact mechanism.
Other Common Causes
Not every case of air snapping is a medical mystery. Some straightforward explanations include:
- Dental or oral pain. A broken tooth, gum infection, or something stuck in the mouth can cause a dog to snap or chomp oddly at the air.
- Actual insects. Sometimes there really are gnats or flies around your dog’s face that you can’t easily see, especially outdoors in warmer months.
- Attention-seeking. If air snapping once earned a big reaction from you, your dog may have learned it’s a reliable way to get your focus.
- Play and excitement. Many dogs snap at the air when overstimulated during play. This is normal and not a concern on its own.
What to Record Before a Vet Visit
Video is the single most useful thing you can bring to your veterinarian. Many of these episodes are short and won’t happen on cue in a clinic, so capturing one on your phone gives your vet critical information. Beyond video, keep a simple log noting when the episodes happen (time of day, how long after eating), how long they last, whether your dog seems aware during the episode, and whether you can interrupt the behavior. Also note any accompanying signs like drooling, swallowing, restlessness, or changes in appetite.
The timing relative to meals matters. If episodes cluster within an hour of eating, that pattern strongly suggests a gastrointestinal link and may help your vet decide to start with an endoscopy or diet trial rather than jumping to neurological testing.
How Vets Sort It Out
Because air snapping can stem from the gut, the brain, or behavior, diagnosis often involves ruling things out in stages. A vet will typically start with a physical exam and blood work, then move toward more specific testing based on the pattern you’ve described. Gastrointestinal causes may be investigated with an endoscopy, which lets the vet look directly at the stomach lining and take tissue samples. A diet trial using a hypoallergenic food is sometimes tried before endoscopy to see if the behavior improves.
If seizures are suspected, an EEG (which measures electrical activity in the brain) is the gold standard for confirming abnormal brain activity, though it’s not available at every veterinary clinic. MRI can identify structural brain problems. For dogs where seizures are confirmed, anti-seizure medications are effective for most. About 20% of epileptic dogs need more than one medication to get adequate control, according to Cornell University’s College of Veterinary Medicine.
For compulsive behavior, treatment usually combines environmental changes (more exercise, mental enrichment, reduced stress) with behavioral modification techniques. In stubborn cases, medications that affect brain chemistry can help break the cycle. One case report of a Cavalier King Charles Spaniel with compulsive fly snapping documented clinical recovery after treatment with a medication that increased available levels of a mood-regulating brain chemical, confirmed by brain imaging showing normalization of activity.
The good news is that across all these causes, most dogs improve significantly once the right underlying problem is identified and addressed. A dog whose air snapping comes from stomach inflammation may need nothing more than a diet change. A dog with focal seizures can often be well-controlled with medication. Even compulsive cases tend to respond when the dog’s environment and routine are adjusted alongside appropriate treatment.

