Surgery chapters

Anus and anal canal: haemorrhoids, fissure, fistula, abscess, pilonidal sinus

Surgical anatomy of the anal canal and the dentate line, haemorrhoids (degrees, banding, injection, haemorrhoidectomy), perianal haematoma, anal fissure, anorectal abscesses, fistula-in-ano with Parks classification and Goodsall rule, pilonidal sinus, pruritus ani and anal cancer.

UHS PGET syllabus: Abdomen and abdominal wall (16 MCQs, both groups), Anus and anal canal (Abdomen and abdominal wall)Updated October 2026
In 30 seconds
  • The dentate line divides the canal: above it, visceral nerves (painless), portal drainage, internal iliac nodes; below it, somatic nerves (painful), systemic veins, inguinal nodes.
  • Haemorrhoids: painless bright red bleeding, at 3, 7 and 11 o'clock; graded 1–4 by prolapse; treat with fibre, then banding or injection, and haemorrhoidectomy for 3rd/4th degree. Fissure: severe pain on defaecation, posterior midline; GTN or diltiazem, then lateral internal sphincterotomy.
  • Abscess: drain. Fistula-in-ano: from an infected anal gland; Goodsall rule predicts the internal opening; low fistulas are laid open, high ones need a seton or sphincter-saving repair. Pilonidal sinus: midline natal cleft pits from hair in young hairy men.
On this page

Overview

Anal complaints (bleeding, pain, lumps, discharge, itching) are among the commonest reasons to see a surgeon. Most have benign causes, but rectal and anal cancer must be excluded before blaming piles.

Careful inspection, digital examination, proctoscopy and sigmoidoscopy diagnose most conditions. Painful conditions (fissure, abscess) may need examination under anaesthesia (EUA).

Surgical anatomy

  • The anal canal is about 4 cm long, from the anorectal ring (puborectalis level, felt as a ridge on PR) to the anal verge.
  • Internal sphincter: thickened circular smooth muscle, involuntary, autonomic; keeps resting tone; relaxed by nitric oxide. Pearly-white at surgery.
  • External sphincter: striated, voluntary, supplied by the pudendal nerve (inferior rectal branch); red at surgery.
  • Puborectalis keeps the anorectal angle, a key part of continence.
  • Intersphincteric plane between them contains anal glands, the source of most abscesses and fistulas.
  • Anal cushions: three vascular cushions (left lateral, right posterior, right anterior) that help seal the canal.

The dentate (pectinate) line

FeatureAbove the dentate lineBelow the dentate line
OriginEndoderm (hindgut)Ectoderm (proctodaeum)
LiningColumnar epitheliumStratified squamous (anoderm, no hair or glands)
ArteriesSuperior rectal (IMA)Inferior rectal (internal pudendal)
VeinsSuperior rectal → portal systemInferior rectal → systemic (internal iliac)
LymphInternal iliac and IMA nodesSuperficial inguinal nodes
NervesAutonomic, visceral: painlessSomatic (inferior rectal nerve): very painful
Typical lesionsInternal haemorrhoids, adenocarcinomaFissure, external haemorrhoids, squamous carcinoma
High-yield

This explains why banding or injection above the dentate line is painless, while anything below it (fissure, perianal haematoma, a band placed too low) hurts.

The line of anal crypts (of Morgagni) lies at the dentate line; anal glands open into these crypts.

Haemorrhoids (piles)

What they are

Symptomatic anal cushions that have slid down because their supporting tissue has weakened. Not simple varicose veins.

  • Primary positions: 3, 7 and 11 o'clock with the patient in the lithotomy position.
  • Internal haemorrhoids: above the dentate line, covered by mucosa.
  • External "haemorrhoids": venous channels below the dentate line, usually noticed only when they thrombose (perianal haematoma).
  • Interno-external: an internal pile extending below the line.

Predisposing factors: straining, low-fibre diet, constipation, pregnancy, obesity, prolonged sitting on the toilet, raised intra-abdominal pressure, ageing. Secondary causes include rectal carcinoma and pelvic masses.

Exam trap

Rectal varices in portal hypertension are a different entity from haemorrhoids; piles are not more common in cirrhosis.

Clinical features

  • Bright red, painless bleeding, separate from the stool: on the paper or splashing in the pan. The earliest symptom.
  • Prolapse, mucus discharge, itching, a feeling of incomplete emptying.
  • Pain is unusual unless they prolapse and thrombose.
  • Anaemia occasionally.
DegreeFeature
FirstBleed only; no prolapse
SecondProlapse on straining, reduce spontaneously
ThirdProlapse and need manual reduction
FourthPermanently prolapsed, cannot be reduced
Memory hook

1 bleeds, 2 back by itself, 3 push back, 4 stays out.

Management

Always exclude colon and rectal cancer (sigmoidoscopy; colonoscopy if over about 50, change in habit, anaemia or family history).

DegreeTreatment
AllHigh-fibre diet, fluids, stool softeners, stop straining; topical creams for symptoms
1st (and some 2nd)Injection sclerotherapy: about 5 mL of 5% phenol in almond (or arachis) oil into the submucosa at the base (apex of the pedicle) of each pile, above the dentate line
2nd (and some 3rd)Rubber band ligation (Barron bander) at the pile base, above the dentate line; pile sloughs in about a week
Other office/day optionsInfrared coagulation, Doppler-guided haemorrhoidal artery ligation (HAL/THD), stapled haemorrhoidopexy (Longo)
3rd and 4th, failed banding, mixed piles with large external partsHaemorrhoidectomy: Milligan–Morgan (open) or Ferguson (closed), leaving skin and mucosal bridges between wounds
  • Injection too deep can cause prostatitis, pelvic sepsis or rectovaginal fistula; pain on injection means the needle is too low.
  • Banding can cause pain (if placed too near the dentate line), bleeding when the pile sloughs and, rarely, pelvic sepsis.

Complications of haemorrhoidectomy

EarlyLate
PainSecondary haemorrhage (about day 7–8, from infection)
Urinary retention (especially men)Anal stenosis (avoided by leaving skin bridges)
Reactionary haemorrhage (first 24 hours)Fissure, incontinence

Complications of haemorrhoids

  • Strangulation and thrombosis of prolapsed piles: very painful, swollen, dark; treat with analgesia, rest, ice or warm baths, stool softeners; most settle in a few days; urgent haemorrhoidectomy is an option in experienced hands.
  • Ulceration, gangrene, fibrosis; rarely portal pyaemia; anaemia.

Perianal haematoma (thrombosed external haemorrhoid)

  • Sudden painful blue lump at the anal margin after straining or lifting.
  • Within about 48 hours: incise under local anaesthetic and remove the clot.
  • Later: conservative; it settles ("a painful, self-curing lesion" over about 5 days), may leave a skin tag.

Anal fissure

A longitudinal split in the anoderm below the dentate line.

  • Site: posterior midline in most patients. Anterior fissures occur more in women (often after childbirth). Off-midline or multiple fissures suggest Crohn disease, TB, syphilis, HIV, herpes or carcinoma → biopsy.
  • Cause: passage of a hard stool (or diarrhoea) tears the anoderm; internal sphincter spasm reduces blood flow to the posterior midline, so it fails to heal (an ischaemic ulcer).

Features

  • Severe, sharp pain during and after defaecation, lasting minutes to hours. Patients fear opening their bowels → constipation → worse fissure.
  • Bright red blood on the paper.
  • On gentle parting of the buttocks the fissure is seen; PR is often impossible because of pain and spasm.
  • Acute: shallow split, under about 6 weeks.
  • Chronic: sentinel tag (pile) externally, indurated ulcer with internal sphincter fibres visible in the base, and a hypertrophied anal papilla internally.

Treatment

  1. Conservative: fibre, fluids, stool softeners, warm baths, topical local anaesthetic.
  2. Chemical sphincterotomy (relaxes the internal sphincter): GTN 0.2% ointment (headache is common) or diltiazem 2% (fewer side effects); botulinum toxin injection is an alternative.
  3. Surgery if these fail: lateral internal sphincterotomy (divide the distal internal sphincter, up to the height of the fissure, at the lateral position, away from the fissure). Very effective but carries a risk of minor incontinence, especially in women.
  4. Anal advancement flap for women or patients with low sphincter pressures.
Exam trap

Forceful anal dilatation (Lord's procedure) is no longer recommended: it tears the sphincters unpredictably and causes incontinence.

Anorectal abscess

Most arise from infection of an intersphincteric anal gland (the cryptoglandular theory). Pus tracks:

  • Down → perianal abscess (commonest, about 60%).
  • Across the external sphincter → ischiorectal (ischioanal) abscess (about 30%).
  • Up → intersphincteric or supralevator (pelvirectal) abscess.
  • Around the canal → horseshoe abscess (usually posterior).

Other sources: infected skin (boils), Crohn disease, TB, cancer, trauma, pelvic sepsis spreading down. Diabetes and immunosuppression make abscesses aggressive.

TypeFeatures
PerianalShort history, throbbing pain, tender red lump at the anal margin
IschiorectalMore fever and toxicity, diffuse brawny swelling of the buttock, deep tenderness
SupralevatorDeep rectal pain, fever, urinary symptoms; tender mass above the anorectal ring on PR only

Treatment: incision and drainage promptly (do not wait for fluctuation), usually under anaesthesia with EUA and sigmoidoscopy. Deroof with a cruciate incision, curette, send pus for culture and wall for histology. Antibiotics alone are not enough; add them for cellulitis, diabetes or immunosuppression. Do not probe forcefully for a fistula in the acute stage.

High-yield

If the pus grows gut organisms (e.g. E. coli, Bacteroides), an underlying fistula is likely; skin organisms (Staphylococcus) suggest no fistula.

Fistula-in-ano

A chronic abnormal track lined by granulation tissue, from an internal opening in the anal canal (usually at the dentate line) to an external opening on the perianal skin.

  • Most are cryptoglandular, following an abscess.
  • Specific causes: Crohn disease, tuberculosis (common in Pakistan), lymphogranuloma venereum, actinomycosis, carcinoma, trauma, foreign body.
  • Symptoms: recurrent discharge of pus or blood, itching, intermittent pain relieved when it drains; history of abscess.

Parks classification

TypeTrackFrequency (approx.)
IntersphinctericThrough the internal sphincter only; external opening near the anal vergeAbout 45% (commonest)
Trans-sphinctericThrough both sphincters into the ischiorectal fossaAbout 40%
SuprasphinctericUp in the intersphincteric plane, over puborectalis, down through the levatorsRare
ExtrasphinctericFrom rectum, outside all sphincters (pelvic disease, trauma)Rare

"Low" fistulas cross little or no external sphincter; "high" fistulas cross most of it.

High-yield

Most fistulas follow an abscess that came from an infected anal gland in the intersphincteric plane, so the internal opening usually sits at the level of the anal crypts (dentate line).

Goodsall rule

Draw a transverse line across the middle of the anus (patient in lithotomy):

  • External opening anterior to the line → a short, straight, radial track to the nearest crypt.
  • External opening posterior to the line → a curved track opening in the posterior midline (often a horseshoe).
  • Exception: anterior openings more than about 3 cm from the anus may still curve to the posterior midline.
Memory hook

"Anterior is straight; posterior curves to the back door."

Investigations

  • EUA with probing and hydrogen peroxide injected through the external opening to show the internal opening.
  • Endoanal ultrasound shows sphincter integrity.
  • MRI pelvis: gold standard for complex and recurrent fistulas (secondary tracks, horseshoe extensions).
  • Sigmoidoscopy; biopsy; test for Crohn and TB where suspected.

Treatment

SituationOperation
Low fistula (intersphincteric, low trans-sphincteric), not anterior in womenFistulotomy (laying open) over a probe; curette; send tissue for histology
High fistula, anterior fistula in women, poor sphinctersLoose (draining) seton first, then sphincter-saving repair: LIFT (ligation of intersphincteric fistula tract), advancement flap, staged fistulotomy
To cut slowly through muscleCutting seton (or Kshara sutra, a medicated thread used in South Asia)
Crohn diseaseLoose seton for drainage, plus medical therapy (anti-TNF)
TB fistulaAntituberculous drugs plus surgery
Exam trap

Laying open a high fistula divides most of the external sphincter and causes incontinence. Fistulotomy is for low tracks only.

Pilonidal sinus

  • A sinus in the natal cleft over the sacrum and coccyx containing loose hairs; "jeep disease".
  • Acquired: shed hairs are drilled into the midline skin by friction and suction of the buttocks.
  • Young adults (late teens to 20s), men, dark and hairy, sedentary jobs; interdigital form in barbers.
  • One or more midline pits between the sacrococcygeal joint and the coccyx tip; lateral openings from secondary tracks; tracks usually run upwards (cephalad).
  • Presents as recurrent abscess or chronic discharge.
SituationTreatment
Acute abscessIncision and drainage through an off-midline incision; remove hair
Mild chronic diseaseHygiene, shaving or laser hair removal, cleaning out pits
Chronic sinusExcision (laid open, marsupialised, or closed); off-midline closure (Karydakis, Bascom cleft lift) or Limberg rhomboid flap heals faster and recurs less
RecurrentRevision with flap to flatten the natal cleft
Exam trap

A midline wound in the natal cleft heals poorly and recurs; modern operations place the scar off the midline.

Other conditions in brief

  • Pruritus ani: poor hygiene, piles, fissure, threadworms, fungal infection, skin disease, diabetes; treat the cause, keep the area dry; avoid strong creams.
  • Anal incontinence: obstetric sphincter injury (commonest in women), pudendal neuropathy, surgery (sphincterotomy, fistulotomy), neurological disease; endoanal ultrasound and manometry; treatment with diet, loperamide, biofeedback, sphincter repair.
  • Anal stenosis: mostly after haemorrhoidectomy; dilators or anoplasty.
  • Anal warts (HPV 6, 11): topical treatment or excision; associated with anal intraepithelial neoplasia.
  • Proctalgia fugax: brief, severe night-time rectal cramps; harmless.

Anal cancer

  • Usually squamous cell carcinoma, linked to HPV 16 and 18, HIV, immunosuppression and anal intraepithelial neoplasia.
  • Presents with pain, bleeding, a mass or an ulcer, often mistaken for piles or fissure.
  • Lymph spread to inguinal nodes (below the dentate line).
  • First-line treatment: chemoradiotherapy (5-FU and mitomycin C; the Nigro regimen). Abdominoperineal resection is kept for persistent or recurrent disease. Small anal margin lesions may be excised locally.
  • Adenocarcinoma of the canal is treated like low rectal cancer; anal melanoma is rare and has a very poor outlook.
Exam focus

Expect: features above and below the dentate line (nerves, veins, lymph to inguinal nodes); haemorrhoid positions and degrees; painless bleeding; injection (5% phenol in oil) and banding above the dentate line; haemorrhoidectomy indications and early complications such as urinary retention and reactionary bleeding; perianal haematoma evacuation within 48 hours; posterior midline fissure, chronic fissure triad, GTN or diltiazem, lateral internal sphincterotomy; perianal versus ischiorectal abscess and drainage; Parks fistula types (intersphincteric commonest), Goodsall rule, MRI for complex fistulas, fistulotomy versus seton; pilonidal sinus in young hairy men with off-midline surgery; anal SCC treated with chemoradiotherapy.

Quick revision

  • Dentate line: above painless, portal, internal iliac nodes; below painful, systemic, inguinal nodes.
  • Piles: 3, 7, 11 o'clock; bright red painless bleeding; degrees 1–4.
  • 1st–2nd: diet, injection, banding; 3rd–4th: haemorrhoidectomy with skin bridges.
  • Perianal haematoma: evacuate if seen within 48 hours.
  • Fissure: posterior midline; GTN/diltiazem → lateral internal sphincterotomy.
  • Abscess: drain promptly; perianal commonest.
  • Fistula: intersphincteric commonest; Goodsall; low → lay open, high → seton/LIFT/flap; MRI for complex.
  • Pilonidal: natal cleft hair; drain off midline; excise with off-midline closure.
  • Anal SCC: HPV; inguinal nodes; Nigro chemoradiotherapy.

Written by The House Job from standard references (Bailey & Love).

FAQ

Why are internal haemorrhoids painless?

They lie above the dentate line, where the lining has visceral (autonomic) nerves that do not sense sharp pain. That is also why banding there does not hurt.

What is the first treatment for a chronic anal fissure?

Stool softeners and fibre with a topical sphincter-relaxing agent such as GTN 0.2% or diltiazem 2%. Lateral internal sphincterotomy is used if this fails.

What does Goodsall rule predict?

The site of the internal opening of an anal fistula. Openings in front of a transverse line through the anus run straight to the nearest crypt; those behind it curve to the posterior midline.

Why is a seton used for some fistulas?

For high fistulas that cross much of the external sphincter, a seton drains the track and allows staged treatment without cutting the sphincter all at once, protecting continence.

How is a pilonidal abscess treated?

By incision and drainage through an off-midline cut with removal of hair, followed later by definitive excision if the sinus persists.