Dog Licking Rear End: Anal Sac Disease, Perianal Pruritus, Parasites, and Differential Diagnosis

Dog Licking Rear End: Anal Sac Disease, Perianal Pruritus, Parasites, and Differential Diagnosis

🐕
Reviewed by a Doctor of Veterinary Medicine (DVM)
Veterinary Internal Medicine and Dermatology
Perianal and perineal licking is one of the most common presenting complaints in small animal practice and one of the most frequently mismanaged – owners often assume anal sac problems are the cause and request expression without a proper examination, when the actual driver is allergic skin disease, intestinal parasites, or a structural condition that requires a different intervention entirely. This article systematically covers the differential diagnosis of perianal licking in dogs: anal sac anatomy and disease spectrum (impaction, sacculitis, abscess, adenocarcinoma), perianal pruritus from atopic and food-allergic skin disease, intestinal parasites causing perianal irritation, perineal fistula (anal furunculosis), tail fold intertrigo in brachycephalic and screw-tailed breeds, and perianal tumors. It also explains when anal sac expression is appropriate, when it can cause harm, and how to determine which condition is causing the symptom.

Key Takeaways

  • The anal sacs (sometimes called anal glands, though they are sacs rather than true glands) are paired secretory organs located at the 4 o’clock and 8 o’clock positions on either side of the anal opening. Each sac is connected to the perianal skin by a short duct that opens slightly inside the anal ring. The sacs produce a malodorous, oily secretion that is normally expressed in small quantities during defecation, contributing to individual scent marking. When the ducts become occluded or the secretion is too thick to flow freely, the sac fills (impaction), becomes inflamed (sacculitis), and can progress to abscess formation with rupture through the overlying skin. Anal sac impaction and sacculitis are the most common cause of scooting and perianal licking in dogs, but they are not the only cause, and treating for anal sac disease when the actual cause is allergic skin disease or parasites delays effective management.
  • Allergic skin disease (atopic dermatitis and food allergy) causes perianal pruritus through a different mechanism than anal sac disease. In allergic dogs, the perianal skin is part of the generalised skin barrier dysfunction – the same inflammatory process causing ear infections, paw licking, and generalized skin itchiness also affects the perianal region. Perianal licking driven by allergy is typically part of a broader pattern of pruritic signs: concurrent paw licking, ear problems, axillary and inguinal skin inflammation, and generalized body rubbing. A dog that only licks its perianal area without other pruritic signs is more likely to have a local cause (anal sac disease, parasites, perianal fistula) than primary allergic skin disease, though allergic dogs commonly have anal sac problems secondarily because the allergic inflammation alters the anal sac duct environment.
  • Intestinal parasites – particularly tapeworms (Dipylidium caninum and Taenia species) and less commonly pinworms in certain geographic regions – cause perianal pruritus when proglottids (tapeworm segments) migrate out of the anal opening and move on the perianal skin. Owners may see what they describe as “grains of rice” or “sesame seeds” around the anal area or in the dog’s bedding – these are tapeworm proglottids, each containing eggs. Dipylidium caninum is transmitted through flea ingestion (the dog swallows a flea carrying the larval stage while grooming), so tapeworm infestation in a dog indicates prior or current flea infestation requiring treatment. Roundworm (Toxocara canis) and whipworm (Trichuris vulpis) infestations cause anal irritation less commonly but should be considered in dogs with gastrointestinal signs and perianal licking.
  • Perianal fistula (anal furunculosis) is a painful, progressive condition involving multiple ulcerating, malodorous draining tracts in the perianal skin surrounding the anal opening. It occurs most commonly in German Shepherd Dogs (disproportionately affected – estimated 84% of cases) and is considered an immune-mediated condition with a genetic predisposition. The lesions are distinctly different from anal sac abscesses: they are multiple, tract-forming, chronic, and surround the entire anal circumference rather than being localized to the anal sac position (4 or 8 o’clock). Perianal fistulas cause severe pain – affected dogs may be reluctant to defecate, assume abnormal postures, and resent tail handling. Treatment requires immunosuppressive therapy (cyclosporine is the current standard of care) and is often prolonged; surgical intervention is reserved for advanced cases. Attempting home management of perianal fistula delays treatment of a painful condition that responds well to appropriate immunosuppressive therapy.
  • Perianal tumors, while less common than the conditions above, are an important consideration in older dogs presenting with perianal licking and perineal swelling. Perianal adenoma (hepatoid gland tumor) is the most common perianal tumor and is androgen-dependent – it occurs almost exclusively in intact male dogs and regresses following castration in most cases. Perianal adenocarcinoma is malignant, occurs in both sexes (including neutered dogs), and requires wide surgical excision; metastasis to sublumbar lymph nodes is common. Anal sac adenocarcinoma is a separate tumor arising from the anal sac itself rather than the perianal skin; it frequently causes hypercalcemia (elevated blood calcium) through paraneoplastic hormone secretion, which can manifest as increased thirst, urination, and lethargy before the anal mass is noticed. Any firm, non-reducible perianal or perineal mass in a dog requires veterinary evaluation; not all perianal swellings are anal sac abscesses.

Differential Diagnosis: Why Dogs Lick Their Perianal Region

Condition Key Signs Breed/Risk Predisposition Diagnosis Treatment
Anal sac impaction Scooting, perianal licking, tail chasing; anal sacs palpably firm and full on rectal exam Any breed; higher prevalence in small breeds (Toy Poodles, Chihuahuas, Dachshunds) Rectal palpation; impacted sacs feel firm; content is thick, pasty when expressed Manual expression; dietary fiber increase; weight loss if obese; scheduled expressions if recurrent
Anal sacculitis Perianal licking, pain on defecation or sitting; anal sacs inflamed and tender; content may be bloody or purulent Any breed; often secondary to allergic skin disease Rectal palpation; cytology of expressed material (neutrophils, bacteria) Expression; infusion of antibiotic/anti-inflammatory solution; systemic antibiotics if severe; address underlying allergy
Anal sac abscess Painful, warm, fluctuant unilateral swelling lateral to anus; dog may be systemically unwell; rupture produces foul-smelling bloody discharge Any breed Physical examination; unilateral swelling at 4 or 8 o’clock position Lance and flush abscess under sedation; systemic antibiotics; Elizabethan collar; warm compresses post-drainage
Allergic skin disease (atopic/food) Perianal licking as part of generalized pruritus; concurrent paw licking, ear disease, groin/axillary redness; perennial or seasonal Labrador/Golden Retrievers, Bulldogs, Pugs, West Highland White Terriers, Boxers, Cocker Spaniels Dermatology evaluation; allergy testing; food elimination trial (12 weeks) Allergen management; immunotherapy; Apoquel/Cytopoint; dietary modification for food allergy
Intestinal parasites (tapeworm) Perianal pruritus; visible proglottids (“rice grains”) around anal area or in bedding; prior flea exposure Any dog with flea exposure or hunting/scavenging behavior Fecal examination; visual identification of proglottids Praziquantel (tapeworm-specific anthelmintic); concurrent flea control; treat all in-contact animals
Perianal fistula (anal furunculosis) Multiple ulcerating draining tracts encircling the anal opening; malodor; severe pain; reluctance to defecate; common in GSDs German Shepherd Dogs (84% of cases); Irish Setters; Leonbergers Physical examination (characteristic multifocal ulcerating tracts); biopsy for confirmation Cyclosporine (immunosuppression); topical tacrolimus for mild cases; surgery for refractory cases
Tail fold intertrigo Moist dermatitis in tail fold skin contacting perianal area; malodor; licking; common in screw-tailed breeds English Bulldogs, French Bulldogs, Boston Terriers, Pugs (breeds with inverted/corkscrew tails) Physical examination; inspection of tail fold reveals macerated, erythematous skin Tail fold hygiene; medicated wipes; surgical tail fold resection in severe cases
Perianal adenoma One or more smooth, well-circumscribed nodules in perianal skin; usually non-painful; may ulcerate if large Intact male dogs over 8 years; any breed Biopsy; histopathology Castration (causes regression in majority); surgical excision for large or ulcerated lesions
Anal sac adenocarcinoma Firm, fixed anal sac mass; hypercalcemia signs (PU/PD, lethargy, anorexia); sublumbar lymphadenopathy Any breed; female dogs overrepresented in some studies; Cocker Spaniels potentially predisposed Rectal exam; serum calcium; imaging for lymphadenopathy; biopsy Surgical excision; chemotherapy; radiation; prognosis variable

Anal Sac Anatomy and the Disease Spectrum

Normal Anatomy and Function

Each anal sac is a blind pouch lined with modified sebaceous and apocrine glands that produce a brown, oily, malodorous secretion. The sac communicates with the exterior via a narrow duct that opens at the mucocutaneous junction just inside the anal ring. During normal defecation, the passing stool exerts pressure on the sacs and expresses a small amount of secretion onto the feces – a form of scent marking. The anal sac secretion contains chemical signals including trimethylamine, isobutyric acid, and other volatile compounds that convey individual identity information to other dogs (this is why dogs sniff each other’s anal region as a social greeting).

Impaction

Anal sac impaction occurs when the secretion becomes too thick or the duct too narrow to allow normal passive expression during defecation. The sac fills with inspissated (dried, thickened) secretion that cannot flow out. The dog experiences discomfort and attempts to relieve it by scooting (dragging the perianal area on the ground) or licking the anal area. Impaction is more common in small breeds – theorized causes include smaller duct diameter relative to sac size, softer stool consistency that provides less expression pressure, and obesity (fat tissue surrounding the sacs reduces mechanical expression during defecation). Treatment is manual expression of the sacs by a veterinarian or trained staff member; this should not be performed at home by untrained individuals, as incorrect technique can rupture the duct or push infection deeper.

Sacculitis

When impacted secretion remains in the sac, secondary bacterial infection occurs (sacculitis). The sac becomes inflamed, tender, and its contents change from the normal brown paste to a yellow-green, bloody, or purulent material. Dogs with anal sacculitis are painful when the sac is palpated and may show signs of discomfort when sitting or defecating. Treatment involves expression of the sac contents followed by infusion of an antibiotic-corticosteroid solution into the sac via the duct; systemic antibiotics are added for moderate to severe cases. In dogs with recurrent sacculitis secondary to allergic skin disease, managing the underlying allergy is essential to prevent ongoing recurrence.

Anal Sac Abscess

An untreated sacculitis can progress to abscess formation. The pressure of the accumulated purulent material causes necrosis of the overlying skin and eventual rupture, typically at the 4 or 8 o’clock position lateral to the anal opening, producing a foul-smelling, bloody-purulent discharge. Before rupture, the abscess is visible as a painful, hot, fluctuant swelling. After rupture, there is an open draining wound. Treatment requires drainage and flushing under sedation, systemic antibiotics (typically amoxicillin-clavulanic acid or a fluoroquinolone based on culture), and an Elizabethan collar to prevent self-trauma. Warm compresses applied to the area 2-3 times daily after drainage promote continued flushing.

When NOT to express anal sacs
Anal sac expression is a treatment for impaction – it is not a routine preventive procedure for dogs with no signs of anal sac disease. Routine expression in asymptomatic dogs can cause microtrauma to the duct and sac lining, increasing the risk of sacculitis over time. Additionally: never express an anal sac that is abscessed (fluctuant, hot, painful) – this should be drained surgically under sedation; never attempt expression at home if you are not trained in the technique; and never express anal sacs in a dog that has been recently diagnosed with anal sac adenocarcinoma – manipulation can increase local spread. If a dog is scooting, the sacs should be examined by a veterinarian to confirm that impaction is the cause before expression is performed.

Perianal Fistula (Anal Furunculosis): Recognition and Why It Requires Veterinary Care

Perianal fistula is frequently misidentified by owners as “severe anal sac problems” or “a bad abscess,” leading to delays in the immunosuppressive therapy that is the appropriate treatment. The distinguishing features are: multiple ulcerating tracts (not a single abscess); circumferential distribution around the entire anal opening (not localized to the 4 or 8 o’clock anal sac positions); chronic progression over weeks to months (not acute onset); and severe pain out of proportion to what is typically seen with simple anal sac disease.

The immune-mediated pathogenesis involves T-cell-mediated inflammation of the perianal crypts and adjacent tissue. Cyclosporine (a calcineurin inhibitor that suppresses T-cell activation) is the established first-line therapy and achieves complete or near-complete remission in most cases when used at appropriate doses for adequate duration (typically 16+ weeks). Response is typically seen within 4-6 weeks of starting therapy. Topical tacrolimus (another calcineurin inhibitor) is effective as a maintenance therapy after induction with cyclosporine, or as primary therapy for mild cases. Dietary management using hydrolyzed or novel protein diets is beneficial as an adjunct in some cases, supporting the hypothesis that food antigen stimulation contributes to disease activity in a subset of affected dogs.

Perianal Pruritus from Allergic Skin Disease

Atopic dermatitis and food allergy are among the most common causes of chronic perianal pruritus in dogs – often underrecognized because the anal sac disease that commonly co-exists in allergic dogs draws clinical attention away from the underlying driver. The pattern that should prompt consideration of allergic skin disease as the primary driver includes: bilateral perianal licking (rather than scooting or licking at one specific location); concurrent pruritic signs at other predilection sites (paws, ears, groin, axillae, ventral abdomen); a history of recurrent ear infections; and perennial or seasonally worsening signs. In allergic dogs, the itch is diffuse and the perianal region is simply one of many pruritic locations.

Management of allergic skin disease-driven perianal pruritus requires treating the allergy, not repeatedly expressing normal or mildly full anal sacs. Oclacitinib (Apoquel), lokivetmab (Cytopoint), and allergen-specific immunotherapy are the evidence-based systemic therapies for atopic dermatitis. Food-allergic dogs require strict dietary elimination trials using novel protein or hydrolyzed diets for a minimum of 12 weeks to identify and eliminate the dietary trigger.

Intestinal Parasites and Perianal Irritation

Tapeworm proglottids migrate actively from the anal opening and move on the perianal skin, causing direct mechanical irritation. Dipylidium caninum proglottids are motile when fresh (owners describe a “moving rice grain” sensation) and dry to a sesame seed appearance. The presence of tapeworm segments indicates the dog has ingested fleas carrying the larval stage – treating the tapeworm with praziquantel without concurrently treating the flea infestation results in rapid reinfection. All animals in the household should be treated simultaneously.

Fecal examination (flotation and sedimentation) is important for any dog with perianal pruritus to rule out parasitic causes – roundworm, whipworm, and hookworm infestations can cause anal pruritus, particularly in immunocompromised dogs or those with heavy worm burdens. Annual fecal examinations are recommended for all dogs, and monthly broad-spectrum parasite prevention products that include cestocidal activity are appropriate for dogs in endemic environments.

Common Myths About Perianal Licking in Dogs

Myth

If a dog is scooting or licking their rear, it always means their anal glands need to be expressed.

Fact

Anal sac impaction is a common cause of scooting and perianal licking, but it is not the only cause, and it is not always the actual cause even when owners assume it is. Allergic skin disease, intestinal parasites (tapeworm segments causing perianal irritation), perianal fistula, tail fold dermatitis, and perianal tumors all cause the same behavioral signs. Requesting anal sac expression without examination when the underlying cause is actually allergic or parasitic delays effective treatment and, in the case of frequent unnecessary expression, can cause microtrauma to the anal sac duct lining that increases the risk of sacculitis. A veterinary examination to determine the actual cause is the appropriate first step when a dog shows persistent scooting or perianal licking.

Myth

You can express your dog’s anal glands yourself at home.

Fact

While external anal sac expression is sometimes demonstrated to owners for dogs with chronically impacting sacs, it carries meaningful risks when performed without proper training: incorrect positioning can rupture the duct; applying pressure to an infected sac can drive bacteria deeper into the tissue; and expressing a sac that is not actually impacted causes unnecessary manipulation and microtrauma. External expression (applying pressure from outside the skin) also incompletely empties the sac compared to internal expression performed by a veterinarian via rectal palpation. For dogs requiring regular expression due to recurrent impaction, a veterinarian or trained veterinary technician should perform the procedure, and the frequency and technique should be discussed with the veterinarian rather than defaulting to home management.

Myth

Perianal fistula is just a very bad anal sac abscess and should be treated the same way.

Fact

Perianal fistula (anal furunculosis) is a distinct condition with a completely different pathogenesis from anal sac abscess. It is an immune-mediated disease requiring immunosuppressive therapy – primarily cyclosporine – not surgical drainage or antibiotics alone. Treating perianal fistula as a “bad abscess” with drainage and antibiotics provides temporary improvement at best and allows the underlying immune-mediated process to continue destroying perianal tissue. The distinction is visible on examination: an anal sac abscess is a single, localized, acutely swollen lesion at the 4 or 8 o’clock anal sac position; perianal fistula consists of multiple chronic ulcerating tracts encircling the entire anal opening. Any German Shepherd Dog (or other breed) with multiple chronic perianal lesions should be evaluated by a veterinarian experienced with this condition before any drainage procedure is attempted.

Frequently Asked Questions

How do I know if my dog’s anal sacs need to be expressed?

The signs of anal sac impaction include: scooting (dragging the anal area on the ground or carpet); licking or biting at the perianal area or base of the tail; a fishy or musty odor from the rear end; and the dog appearing uncomfortable when sitting. Not all dogs with full anal sacs show scooting – some are more stoic and lick quietly. A veterinarian can confirm impaction on rectal examination – the sacs will feel firm rather than soft and slightly compressible as normal. If your dog shows these signs, veterinary examination is the appropriate step rather than home expression.

What does an anal sac abscess look like?

An anal sac abscess typically presents as a visibly swollen, reddish-purple or discolored area on one side of the anal opening (at approximately the 4 o’clock or 8 o’clock position). The swelling is warm, painful, and fluctuant (fluid-filled). If it has ruptured, you will see an open wound with bloody-purulent discharge and a foul odor. The dog is typically in significant pain and may show reluctance to sit, defecate, or be touched near the tail. An anal sac abscess requires same-day veterinary attention – it needs to be surgically opened, flushed, and treated with antibiotics. Do not attempt to drain it at home.

Can diet affect anal sac problems?

Yes – stool consistency is one of the main factors in anal sac expression during defecation. Firm, well-formed stools exert more pressure on the anal sacs during passage than soft or loose stools, providing better passive expression. Dogs fed highly digestible diets with very little insoluble fiber may produce softer stools that do not adequately express the sacs. Adding a fiber source (plain canned pumpkin puree – not pie filling – at 1-4 teaspoons per meal depending on dog size; psyllium husk; or a high-fiber veterinary diet) firms stool and can reduce the frequency of anal sac impaction in dogs with recurrent problems. However, dietary fiber is an adjunct for impaction-prone dogs, not a treatment for sacculitis, abscess, or allergic-driven perianal disease.

My dog has been scooting for weeks – could it be something serious?

Persistent scooting lasting more than a few days, or scooting that recurs despite anal sac expression, should be evaluated by a veterinarian. Causes that require specific treatment beyond sac expression include: allergic skin disease (requires allergy diagnosis and management); perianal fistula (requires immunosuppressive therapy); intestinal parasites (requires specific anthelmintics); and perianal tumors (require surgical and oncological evaluation). In older intact male dogs, any perianal swelling or change in defecation habits warrants evaluation for perianal adenoma or adenocarcinoma. Anal sac adenocarcinoma in particular can be present with relatively subtle local signs while causing systemic hypercalcemia – early detection significantly improves outcomes.

Why does my dog keep licking their rear even after anal gland expression?

If perianal licking continues or quickly recurs after anal sac expression, the anal sacs are unlikely to be the primary cause. The most common explanations are: allergic skin disease (the perianal pruritus is driven by the allergy, not the sac fullness – the sacs may also be impacted secondarily, but expressing them does not address the itch); intestinal parasites (tapeworm segments continue to migrate out); residual post-expression irritation (the duct and sac lining may be inflamed after expression, particularly if the sacs were severely impacted or infected); or an unrelated perianal condition. Return to the veterinarian for re-evaluation if licking persists more than a day or two after expression.

What are tapeworm segments and what do they mean?

Tapeworm proglottids are individual segments of the tapeworm body, each containing eggs. Dipylidium caninum (the most common tapeworm in dogs) passes its proglottids through the anal opening; freshly passed segments are motile and appear as small moving white or cream-colored grains, drying to a sesame seed appearance. Their presence around the anal area or in bedding confirms tapeworm infestation. Dipylidium caninum is transmitted through flea ingestion – the dog swallows an infected flea while grooming, and the tapeworm larva develops in the dog’s intestine. Treatment requires praziquantel for the tapeworm and rigorous flea control for the entire household simultaneously. Standard pyrantel-based dewormers do not kill tapeworms; praziquantel must be used specifically.

Is anal sac removal (anal sacculectomy) ever recommended?

Anal sacculectomy (surgical removal of the anal sacs) is recommended in specific situations: anal sac adenocarcinoma (malignant tumor requiring surgical excision); chronic recurrent sacculitis that is severely impacting quality of life and is not responsive to medical management; and anal sac fistulation with chronic draining tracts from the sac. It is not recommended as a routine preventive procedure for dogs with occasional impaction. The surgery carries risks of sciatic nerve damage, fecal incontinence (from damage to the external anal sphincter), and fistula formation at the surgical site, so the risk-benefit ratio must justify the procedure. In dogs with allergic skin disease-driven recurrent sacculitis, managing the underlying allergy effectively often eliminates the recurrence without requiring surgery.

For more veterinary-reviewed guidance on dog digestive health, skin conditions, and preventive care, explore our complete Dog Health library.

Explore Dog Health Articles