What Causes Perianal Fistula in Dogs and When to See a Vet

8 min read · updated Nov 25, 2026

Perianal fistula in dogs is thought to come from an overactive immune system, with breed, tail shape and diet possibly playing a part. Learn the emergency signs, what your vet may check, and why any sore around the bottom needs a same-day vet visit.

A dog being cared for at home, illustrating what causes perianal fistula in dogs and when to see a vet

What causes perianal fistula in dogs is not fully known, but an overactive immune system can play a part, and any perianal fistula is a reason to see a vet. Go to an emergency vet now if your dog has bleeding from the bottom that will not stop, is straining with no stool coming out, is in so much pain it cannot sit or walk, or is weak or collapses; otherwise book a same-day appointment. A perianal fistula is an open sore or tunnel in the skin around the anus, sometimes called anal furunculosis. It can be very painful and can affect how your dog passes stool. It needs a vet to find what is behind it and to plan care. This page explains the causes your vet looks into, what the visit may involve and what to tell your vet when you call.

When to go to the vet now

  • Bleeding from around the bottom that will not stop
  • Straining with no stool coming out
  • Pain so bad your dog cannot sit or walk
  • Weakness, collapse or a dog that seems very unwell

For any other sore, swelling, discharge, smell or licking around the bottom or under the tail, call your vet today for a same-day appointment. If any of the signs above start before that appointment, go to an emergency vet now. For a wider look at the signs that need urgent care, see Dog Emergency Signs.

What can cause perianal fistula

The exact cause of perianal fistula is not fully understood. Vets think it comes from a mix of factors working together: the way the immune system reacts, the genes a dog inherits, the shape of the area under the tail, and a possible link with food and the bowel. None of these is something you can sort out at home by looking at the area. They are the possibilities your vet looks into with an exam and tests, and more than one can be part of the picture for the same dog.

The immune system is thought to play a large part. Perianal fistula is described as an immune-mediated condition, and this is the autoimmune side of the problem. It means the body's own defences can react against the skin, hair follicles and small glands around the anus and keep the tissue inflamed. The inflammation can break the tissue down and open tracts that run from deep under the skin to the surface. This immune link is the reason vets treat perianal fistula as more than a skin infection, and the reason treatment focuses on calming the immune response with a medicine your vet prescribes. Vets compare it with inflammatory bowel conditions, where the immune system also keeps tissue inflamed.

Genes and breed may also play a part. German Shepherd dogs and their crosses are a breed vets link with perianal fistula, and it has been seen in other breeds too. The link with certain breeds points to an inherited tendency in how the immune system behaves, though the full genetic picture is not known. Being one of these breeds does not mean a dog will develop the condition, and a dog of any breed or mix can still develop it. If you have a breed linked with perianal fistula, talk to your vet about what this means for your dog.

The shape of the tail and the area under it may add to the problem. A broad tail base, or a tail held low and close to the body, can trap moisture, stool and bacteria against the skin around the anus. This skin is rich in hair follicles and small glands, and these can become inflamed and infected. The tail shape was once thought to be the main cause. It is now seen as one possible factor alongside the immune response, one that can make the area harder for the body to keep healthy, rather than the cause on its own.

Bacteria and infection can make the tracts worse. Bacteria from stool and skin can get into the open tracts and add infection, which can bring discharge, smell and more pain. Infection is thought to follow the immune inflammation rather than start it, which is why medicine for infection alone may not be enough. Your vet may take a swab to find out which bacteria are present.

Anal gland problems sit in the same area. The two anal glands lie just inside the anus on either side, and a gland that is blocked, infected or abscessed can cause swelling and can open through the skin. This can sit alongside perianal fistula or be a separate problem in the same place. Your vet checks the anal glands as part of working out the cause, because the care for each problem can be different.

Food and the bowel may be linked. Some dogs with perianal fistula also have signs of bowel inflammation, such as soft stool, mucus or straining, and a reaction to food is thought to be one possible trigger for the immune response. Because of this, your vet may suggest a diet trial with a food your dog has not eaten before, or a food made for dogs with food reactions. Do not change your dog's food on your own. Your vet can tell you whether a diet change fits your dog's plan, and your vet sets how much to feed.

Some other problems can cause sores, swelling or tracts near the anus, and your vet works to rule them out. These include an anal gland abscess, a deep skin infection, a wound or bite, something stuck under the skin, and a tumour in the tissue around the anus. A small sample of tissue, called a biopsy, may help your vet tell these apart. You can find more on these and other problems in our conditions library.

There is no sure way to prevent perianal fistula in dogs, because the immune part of the condition is not something you can control at home. What you can do is get any change seen early. Call your vet today as soon as you notice a sore, swelling, smell, discharge, licking, scooting or straining around the bottom. Feed only the diet your vet sets if a food link is part of the plan. Give any medicine exactly as your vet prescribes and do not stop it without talking to your vet first. Go back for every recheck your vet books, and do not put creams, sprays or any other product on the area. If your dog is from a breed linked with this condition, talk to your vet about what you can do to get problems seen early.

What your vet may do

Your vet starts by asking about your dog's history: when you first noticed a problem, any change since then, bleeding, licking, how your dog passes stool, appetite, diet, any medicines and any past problems around the bottom. This helps your vet decide which tests come first and how quickly care needs to start.

The area under the tail can be very painful, so a careful look may not be possible with your dog awake. Some dogs need light sedation or a general anaesthetic for a proper look at a painful area. With your dog settled, your vet can lift the tail, look at the skin around the anus, find each opening and see how deep and how far the tracts run.

A rectal exam lets your vet feel the tissue just inside the anus and check the anal glands on both sides. This helps your vet see whether the tracts reach the glands or the wall of the rectum, and whether a gland is blocked or abscessed.

Your vet may take a swab from a tract so a lab can grow any bacteria, which helps choose a medicine for infection if one is needed. A biopsy may be taken during sedation and sent to a lab. A biopsy may help rule out a tumour or other causes that need different care.

Blood tests check your dog's general health and how organs such as the liver and kidneys are working. This matters before an anaesthetic and before starting a medicine that calms the immune system, and your vet may want to check the blood again while that medicine is given.

If your dog has soft stool, mucus, blood in the stool or weight loss, your vet may suggest stool tests or a look inside the bowel with a camera under anaesthetic. This checks for bowel inflammation that can sit alongside perianal fistula.

Treatment is planned around what the exam and tests show. It may include a medicine your vet prescribes that calms the immune system, pain relief, medicine for infection, and something to keep the stool soft so that passing it hurts less. Your vet may suggest a diet trial as part of the plan. In some cases your vet may talk about surgery, for example for tracts that stay open or for anal glands that are part of the problem. The aim of treatment is to calm the inflammation, ease pain and close the tracts, and your vet will want to see your dog again to check the area.

Talk to your vet about each part of the plan, including how to give any medicine, how the rechecks work and which changes mean you should call the clinic again.

What to tell your vet

  • When you first noticed the sore, smell, licking or change around the tail
  • Any change since then, such as new sores, more swelling or more discharge
  • Any bleeding from the area or on the stool
  • How much your dog licks, chews or scoots at the bottom or tail
  • Other signs, such as straining, pain passing stool, soft stool, mucus, loss of appetite, weight loss or a change in mood

Also tell your vet what your dog eats, any medicines or supplements your dog takes, and any past anal gland or bowel problems. If you can, note these down before you call so nothing is missed. Call your vet again if anything changes after the visit, and go to an emergency vet now if your dog has bleeding that will not stop, strains with no stool coming out, cannot sit or walk for pain, or is weak or collapses.

Frequently asked questions

Is perianal fistula an emergency in dogs?
Perianal fistula needs a vet, and it becomes an emergency if there is bleeding that will not stop, straining with no stool passing, pain so bad your dog cannot sit or walk, or weakness or collapse. Go to an emergency vet now for any of those. For anything else around the bottom, book a same-day vet appointment.
What should I do if my dog has perianal fistula?
Call your vet today and ask for a same-day appointment. Tell them when you first noticed the sore, any bleeding, licking or straining, and any change in stool. Do not put anything on the area before the visit. Go to an emergency vet now if there is heavy bleeding, straining with no stool, or collapse.
Can I treat perianal fistula at home?
No, because perianal fistula needs a vet to find the cause and prescribe care. Do not put any cream, ointment or other product on the area, and do not remove anything from it before the vet sees it. If it is bleeding, hold gentle pressure with a clean cloth on the way to the vet only.
What causes perianal fistula in dogs?
The exact cause is not fully known. An overactive immune system that attacks the skin around the anus is thought to play a large part. Genes, a broad or low-set tail, anal gland problems and a possible link with food or bowel inflammation may add to it. Your vet looks into each of these.
What causes a perianal fistula in dogs?
A single fistula can form when inflammation in the skin, hair follicles and glands around the anus breaks the tissue down and opens a tunnel to the surface. The immune system is thought to drive that inflammation, and bacteria from the area can then add infection. A vet exam and tests can help find what is behind it.
How can I prevent perianal fistula in dogs?
There is no sure way to prevent it, because the immune part cannot be controlled at home. You can get changes seen early by calling your vet as soon as you see a sore, licking, scooting or straining, feeding only the diet your vet sets, and going to every recheck your vet books for your dog.
Is perianal fistula in dogs an autoimmune condition?
It is thought to be immune-mediated, which means the body's own defences can react against the tissue around the anus and keep it inflamed. That is why a vet may prescribe a medicine that calms the immune system. Talk to your vet about what this means for your dog and how treatment is checked.
Which dogs are more likely to get perianal fistula?
German Shepherd dogs and their crosses are a breed vets link with perianal fistula, and it has been seen in other breeds too. A broad tail base or a tail held low and tight may add to the risk. Any dog can still develop it, so call your vet today about any sore near the bottom.
Can diet play a part in perianal fistula?
Diet may play a part for some dogs, as a link with food reactions and bowel inflammation is thought possible. Your vet may suggest a diet trial with a food your dog has not eaten before. Do not change food on your own; your vet can tell you whether a diet change fits your dog's plan.
Can anal gland problems cause perianal fistula?
Anal gland problems sit in the same area and may be linked, but they are not thought to be the main cause. An anal gland abscess can also open through the skin, so your vet checks the glands to tell the two apart. Call your vet today about any swelling, sore or discharge near the bottom.
How does a vet find out what is causing perianal fistula?
Your vet asks about the history, then looks closely at the area under the tail, which may need sedation because it can be painful. A rectal exam, an anal gland check, a swab for infection, blood tests and a small tissue sample, called a biopsy, may help rule out other causes such as a tumour or abscess.

Educational content, not veterinary advice. Ask your vet about your dog.