Dog Scratching Ears and Shaking Head at Night
By Dr. Zubair Khalid, DVM, MS, PhD ·

Key Takeaways
- Persistent ear scratching and head shaking, particularly at night, often indicate underlying discomfort, pain, or infection, amplified by stillness and reduced distractions.
- Common etiologies include allergic otitis externa (environmental or food-induced), bacterial or yeast infections (otitis media/externa), parasitic infestations (e.g., Otodectes cynotis), foreign bodies (e.g., plant awns), and moisture retention in the ear canal.
- Veterinary diagnostics involve otoscopic examination to visualize the tympanic membrane and canal, and cytology of ear exudate to identify causative agents like bacteria, yeast, or mites, guiding targeted therapy with antimicrobial, antifungal, or antiparasitic agents.
- Home care for mild irritation includes gentle cleaning of the outer ear with veterinarian-approved solutions and thorough drying after water exposure; however, any signs of infection, foreign bodies, or persistent symptoms necessitate professional veterinary intervention.
- Management of allergic conditions may involve hypoallergenic diets, environmental allergen control, and topical or systemic anti-inflammatory medications, while prevention focuses on regular ear hygiene, prompt drying, and prompt veterinary consultation for persistent issues.
- Emergency veterinary care is indicated for neurological signs such as head tilt, ataxia, circling, or severe pain and bleeding, which may suggest a ruptured tympanic membrane or central nervous system involvement.
It is a familiar and frustrating sound for many pet owners. You are settling into bed, the lights are off, and then you hear it: the relentless scratching, the rhythmic thumping of your dog shaking their head. While occasional ear care is normal, persistent scratching and head shaking at night often signal an underlying issue that needs attention. This behavior is not just disruptive to your sleep; it can indicate discomfort, pain, or even an infection in your dog's ears.
Quick Q&A: Common Questions
Question: Why does my dog scratch their ears and shake their head more at night? Answer: Nighttime often amplifies symptoms because your dog is lying still, which can increase pressure in the ear canal and make irritation feel more intense. Additionally, the quiet environment makes the sounds of scratching and head shaking more noticeable to you, and your dog may be less distracted from the discomfort.
Understanding the Causes
The combination of scratching and head shaking is your dog's way of trying to relieve an itch, dislodge debris, or drain fluid from the ear canal. Several common conditions can cause this behavior, especially at night.
Allergies (Environmental and Food)
Allergies are a leading cause of ear irritation in dogs. Inhaled allergens like pollen, dust mites, or mold can cause inflammation in the ear canal, leading to itching and secondary infections. Food allergies, often to proteins like chicken or beef, can also trigger ear inflammation. Nighttime exposure to dust mites in bedding can make this worse.
Ear Infections (Otitis Externa)
Bacterial or yeast infections are extremely common in dogs. A warm, moist ear canal provides an ideal environment for these organisms to thrive. Infections cause inflammation, discharge, and intense itching. Head shaking is a natural response to help expel the buildup.
Ear Mites
These tiny parasites are highly contagious and cause intense itching. While more common in puppies, ear mites can affect dogs of any age. They are often more active at night, leading to increased scratching and head shaking.
Foreign Bodies or Debris
A grass awn, foxtail, or even a piece of dirt can become lodged in the ear canal. This causes immediate irritation and discomfort. Your dog will shake their head violently in an attempt to dislodge the object.
Moisture in the Ears
Dogs with floppy ears are especially prone to retaining moisture after swimming or bathing. The trapped moisture creates a perfect breeding ground for bacteria and yeast, leading to inflammation and the urge to scratch and shake.
What You Can Do at Home
Before a vet visit, you can take steps to provide relief and prevent further irritation.
Clean the Outer Ear
Use a veterinarian-approved ear cleaning solution. Do not use cotton swabs deep in the ear canal, as they can push debris further in and damage the eardrum. Instead, gently wipe the outer ear flap and the visible part of the canal with a cotton ball or soft cloth.
Check for Visible Issues
In good light, gently look inside your dog's ear. Do not probe. Look for redness, swelling, discharge (brown, yellow, or black), or any visible objects. If you see a foreign body, do not attempt to remove it yourself. Take your dog to the vet.
Manage Allergies
If you suspect allergies, consider washing your dog's bedding in hypoallergenic detergent, using an air purifier in the bedroom, and switching to a limited-ingredient or hypoallergenic diet. Consult your vet for a tailored allergy management plan.
Keep Ears Dry
After baths or swimming, dry your dog's ears thoroughly with a soft towel. You can also use a drying ear solution recommended by your vet.
What to Expect at the Vet
If home care does not resolve the issue within 24 to 48 hours, or if you notice signs of infection, a veterinary visit is essential.
The Examination
Your vet will perform a thorough otoscopic exam to look deep into the ear canal and assess the eardrum. They will also take a sample of ear discharge to examine under a microscope. This cytology helps identify the specific cause: bacteria, yeast, or ear mites.
Diagnosis and Treatment
Based on the exam and cytology, your vet will prescribe the appropriate treatment. This may include:
- Medicated ear drops for infections (antibiotics, antifungals, or anti-inflammatories).
- Oral medications for severe infections or allergies.
- Ear cleaning performed at the clinic to remove deep debris.
- Foreign body removal under sedation if necessary.
Follow-Up Care
Your vet will likely recommend a follow-up visit to ensure the infection has cleared. It is crucial to complete the full course of treatment, even if your dog seems better.
Prevention Tips
Preventing ear issues is often easier than treating them.
- Regular ear checks: Make ear cleaning part of your weekly grooming routine.
- Dry ears after water: Always dry your dog's ears after swimming or bathing.
- Manage allergies: Work with your vet to control environmental and food allergies.
- Use a cone: If your dog is scratching excessively, use an Elizabethan collar (e-collar) to prevent self-trauma to the ears.
When to Seek Emergency Care
While most ear issues are not emergencies, seek immediate veterinary care if your dog shows signs of a head tilt, loss of balance, circling, or if the ear is bleeding or painful to the touch. These can indicate a more serious condition like a ruptured eardrum or inner ear infection.
In summary, a dog scratching their ears and shaking their head at night is a clear signal that something is wrong. By understanding the potential causes and taking prompt action, you can help your dog find relief and enjoy a peaceful night's sleep once again.