Dog shaking its head and scratching its ears: ear infection signs
Questions about your pet? Talk to a specialist now
Veterinarian, trainer, nutrition and grooming: instant answers, 24/7, in your language.
Start free: 3 daysCancel anytime · no charge if you cancel before the trial endsEar problems are among the most common reasons for veterinary visits. A dog that shakes its head, scratches an ear, rubs it along the floor or yelps when the ear is touched is usually trying to relieve discomfort. The leading cause is otitis externa, an infection or inflammation of the ear canal with bacteria or yeast, which is often triggered by allergies, moisture, mites or a foreign object.
Ear disease is painful and tends to get worse and harder to treat the longer it is left. A dog's ear canal is L-shaped, so debris and moisture get trapped. Prompt veterinary treatment, with the right medicine for the cause, gives the best chance of a quick recovery.
What to do right now
- Look at the ear without poking: check for redness, swelling, discharge, debris that looks like coffee grounds, a bad smell or a visible object.
- Check the ear flap for swelling. A puffy, warm, balloon-like flap suggests an aural hematoma, a blood blister that needs veterinary treatment.
- Stop your dog from scratching if it is causing damage, using a cone or a soft recovery collar.
- Do not put cotton swabs, hydrogen peroxide, vinegar, alcohol, oils or leftover ear medicines into the ear. They can irritate it or push debris deeper, and they are dangerous if the eardrum is damaged.
- Do not clean the ear heavily before the visit. The veterinarian may want to see the discharge.
- Make an appointment as soon as possible, and sooner if there is pain, a head tilt or a swollen flap.
Go to a vet or emergency clinic if
- Your dog is crying out in pain, will not let you touch the ear or has an obviously painful ear.
- There is a head tilt, loss of balance, walking in circles, eyes flicking back and forth or sudden deafness. These can mean middle or inner ear disease.
- The ear flap is swollen, or there is blood or pus.
- Your dog started shaking its head suddenly after a walk in long grass, which can point to a grass seed in the ear.
- The ear has a strong smell, thick discharge or red, swollen skin.
- Your dog is lethargic, has a fever or has had repeated ear infections.
Why dogs get ear infections
- Allergies to food or the environment, the most common underlying cause, often along with itchy skin and paws.
- Moisture from swimming or bathing, and floppy, hairy ears that trap damp air.
- Yeast and bacteria that overgrow once the ear canal is inflamed.
- Ear mites, particularly in puppies, causing dark, crumbly debris.
- Foreign bodies such as grass seeds and awns.
- Excess wax, polyps, tumours and narrow canals.
- Hormonal diseases such as hypothyroidism.
Breeds with long, heavy ears, such as Cocker Spaniels and Basset Hounds, and swimmers such as Labradors are at higher risk.
Signs of an ear infection
Common signs include head shaking, scratching the ears, rubbing the head, a bad smell, redness, swelling, dark or yellow-green discharge, pain when touched and a tilted head. Chronic infections cause thickened, narrowed canals and dark, scaly skin. Both ears are often affected, especially when allergies are the cause.
What the veterinarian will do
The veterinarian looks into the canal with an otoscope and takes a sample of the discharge to examine under a microscope, identifying bacteria, yeast or mites. Painful ears may need sedation. Treatment normally includes thorough cleaning and prescription ear drops or ointments, with oral medicine in some cases. A foreign object is removed, usually under sedation. An aural hematoma often needs a small drainage procedure or surgery. Dogs with recurring infections are checked for underlying allergies or other conditions.
Most simple infections improve within one to two weeks, and it is important to complete the full course and attend the recheck even if the ear looks better.
Preventing ear infections
- Dry the ears gently after swimming and bathing, using a veterinary ear cleaner suited to your dog if your veterinarian recommends one.
- Check ears weekly for redness, smell and debris.
- Do not pluck hair from the canal or use cotton swabs deep in the ear.
- Control allergies with veterinary guidance.
- Keep up parasite control to prevent mites.
Giving ear drops
Hold the ear flap up, place the tip of the bottle at the canal opening without pushing it in, and squeeze in the prescribed amount. Massage the base of the ear for about 30 seconds until you hear a squelching sound. Let your dog shake, and wipe the ear flap with a tissue. Reward your dog after each session so it learns to accept it. Give the drops for the full course, and keep the recheck appointment, since infections that are stopped too early often return.
Aural hematoma
Violent head shaking can break small blood vessels in the ear flap, and blood collects between the skin and cartilage, producing a soft, warm, swollen cushion. It is painful and does not resolve well on its own. Veterinarians drain it or repair it surgically, and also treat the cause of the shaking, since otherwise it returns.
Frequently asked questions
Why does my dog keep shaking its head?
The most common causes are ear infections, mites, allergies and foreign bodies. An examination is needed to find the cause.
Can I clean my dog's ears at home?
Only with a cleaner recommended by your veterinarian. Do not use swabs, peroxide, vinegar or alcohol.
What does a swollen ear flap mean?
It may be an aural hematoma, a blood blister caused by vigorous shaking. It needs veterinary care.
Are ear infections in dogs contagious?
Infections are not, but ear mites can spread between pets.
Not sure how serious it is?
Luxury Pets members can describe what is happening by chat or video call at any hour and get a clear answer on what to do at home and whether it needs a clinic. Plans start at 30 USD per month, with a 3-day free trial.
This guide is general information and does not replace an examination by a veterinarian. Luxury Pets is an online service: in an emergency, go to the nearest veterinary clinic.
About this guide
Published by Luxury Pets, an online pet care service. This guide was prepared by Luxury Pets from published veterinary references, listed below, to help owners decide what to do first and when to go to a clinic. Last reviewed: 2026-11-19.
Sources
More pet health guides
- Why is my dog shaking or trembling?
- Heavy dog shedding: what is normal and how to manage it
- Teaching your dog sit and stay: a beginner's guide
- Dog skin rash, hives or red bumps: allergic reaction or skin infection?
- Yeast infection on dog skin: signs, causes and care
- Dog sprayed by a skunk: what to do
- Dog snake bite: signs and emergency steps
- Dog suddenly blind: causes, signs and why it is an emergency
- My dog swallowed a fish hook: what to do
- Dog swallowed magnets: why it is an emergency
- My dog swallowed a sock or foreign object: what to do
- Switching your dog's food: how to change diets without an upset stomach
- Pet health guides