🤕 Anal Pain

RCGP SCA Algorithm — UK Primary Care

RCGP SCA10-min consult
🤕
Anal Pain — New PresentationFissure · abscess · haemorrhoids · cancer exclusion · PR examination pathway
Progress0 / 9

⚡ Snapshot. The whole pathway on one page: act now, triage, classify, treat today and safety-net. The Steps tab holds the detail.

Open full screen ↗
1
Safety

Red Flags — Cancer, Abscess & Rare Emergencies

Rectal bleeding or change in bowel habit Suspected cancer Examine, then follow NICE NG12: quantitative FIT → colorectal suspected cancer pathway if ≥10 µg Hb/g; rectal mass → consider a colorectal suspected cancer pathway referral; unexplained anal mass or ulceration → consider an anal-cancer suspected cancer pathway referral; both without waiting for FIT. A negative or unreturned FIT must not delay referral if concern remains. Do not attribute persistent, recurrent or unexplained bleeding (or bleeding with anaemia, weight loss, altered bowel habit or a mass) to haemorrhoids or fissure without examination and safety-netting.
Perianal abscess Throbbing constant pain + tender perianal swelling (fluctuant, red or indurated), with or without fever → same-day surgical assessment and drainage (approach and anaesthetic vary). Antibiotics do not replace drainage.
Fournier's gangrene Any of: rapidly spreading perianal/perineal redness or swelling, pain out of proportion to the signs, skin discoloration, crepitus, or a systemically unwell patient → 999. Do not wait for crepitus (a late sign). Necrotising fasciitis is life-threatening. Diabetics and immunocompromised especially at risk.
Anal pain + tenesmus + weight loss Anal, rectal or pelvic malignancy possible → urgent assessment; route by findings (anal mass/ulcer → anal pathway; rectal mass → colorectal pathway; otherwise FIT per NG12). Anal SCC is HPV-associated — risk factors: MSM, HIV, immunosuppression.
Anal pain after trauma / foreign body Rectal trauma — perforation risk → same-day hospital; severe abdominal pain, peritonism or systemically unwell (possible perforation) → 999. Foreign body → surgical retrieval. Safeguarding considerations in unexplained perianal trauma.
Anal pain + immunocompromised HIV/immunosuppressed: CMV proctitis, anal herpes (HSV), anal candidiasis, anal cancer — low threshold for proctoscopy + biopsy. GUM/colorectal referral.
Perianal abscess is a surgical emergency — antibiotics without drainage are ineffective and allow the abscess to track along tissue planes (fistula formation). A persistent fistula-in-ano can follow even timely drainage; the risk varies by abscess type and no single universal rate applies. Refer for same-day surgical assessment and drainage — the approach (local anaesthesia, examination under anaesthesia or other operative management) depends on depth and location. Prescribing antibiotics alone for a perianal abscess is a well-documented cause of litigation. Anal squamous cell carcinoma (SCC) is HPV-associated and is increasing in incidence — it predominantly affects MSM (men who have sex with men) and HIV-positive individuals. Anal SCC is treatable with chemoradiotherapy (Nigro protocol) — early detection is therefore critical. Any persistent anal ulcer, lump, or pain in an HIV-positive patient or MSM should prompt urgent proctoscopy.
2
Diagnose

History — Character of Pain

Relationship to defecation
Severe sharp pain during and after defecation (often lasting minutes to several hours) → anal fissure. Pain before defecation (fear of opening bowels → constipation) → fissure. Throbbing constant pain unrelated to defecation → abscess. Dull ache after defecation → haemorrhoids, proctalgia fugax.
Bleeding
Bright red blood on toilet paper or in pan (not mixed with stool) → haemorrhoids or fissure. Blood mixed with stool → colorectal cancer, IBD. Mucus → haemorrhoids, proctitis, cancer.
Abscess features
Constant throbbing pain, worse sitting, fever, visible or palpable tender lump at anal margin. Often preceded by constipation or history of previous abscess/fistula. Diabetes increases risk dramatically.
Proctalgia fugax
Sudden severe rectal pain lasting seconds to minutes, no abnormal findings on examination, typically wakes patient at night. Benign smooth muscle spasm. Diagnosis of exclusion — consider fissure, abscess, proctitis, IBD and malignancy first. Reassure, warmth, avoid constipation.
STI-related proctitis
Anal pain + discharge + tenesmus + history of receptive anal sex → gonorrhoea proctitis, chlamydia (LGV), herpes proctitis, syphilis. Refer to sexual health where possible: rectal NAAT (gonorrhoea, chlamydia ± LGV), HIV/syphilis by risk, HSV PCR of ulcers. Do not delay empiric treatment in a convincing presentation.
Anal fissure causes a classic pain pattern that is virtually diagnostic: severe sharp tearing pain during defecation, followed by a sustained burning ache lasting minutes to several hours after defecation (sphincter spasm). This post-defecatory pain is caused by internal anal sphincter (IAS) spasm triggered by the fissure, which also reduces blood flow to the anoderm and perpetuates the fissure. The fear of painful defecation leads to stool withholding → constipation → harder stool → more pain — a self-perpetuating cycle. Breaking this cycle with topical GTN (relaxes IAS, increases local blood flow) plus stool softeners is the cornerstone of management. LGV (lymphogranuloma venereum) is an emerging cause of severe proctitis in MSM — it presents with bloody mucoid anal discharge, tenesmus, and severe rectal pain. It requires a specific NAAT test for chlamydia serovars L1-L3 and treatment with doxycycline 100 mg BD × 21 days (NOT the standard 7-day course).
3
Diagnose

Differential Diagnosis

Anal fissure
Acute: sharp tearing pain with defecation, bright red blood on paper, visible skin tear at posterior midline (6 o'clock position). Chronic: indurated edges, sentinel pile (skin tag), hypertrophied anal papilla. Cause: constipation, Crohn's, trauma. Treatment per local fissure protocol (GTN 0.4%, or off-label diltiazem 2%). Atypical (lateral, multiple, painless, non-healing, discharge, mass, immunosuppression, possible Crohn's/HIV/TB/malignancy) → further assessment.
Perianal abscess
Constant throbbing pain, fever, fluctuant tender lump. Originates in anal gland crypts. Persistent fistula can follow (risk varies by abscess type). Requires surgical drainage. Antibiotics as adjunct only for systemic illness, spreading cellulitis, immunosuppression, diabetes/comorbidity, or extensive or recurrent disease (local policy).
Haemorrhoids (symptomatic)
Aching/pressure after defecation. Bright red rectal bleeding. Prolapse (grading I–IV). Rarely truly painful unless thrombosed. Soft tissue on PR examination. Soft stools, short-term topical relief, banding for suitable internal disease.
Thrombosed external haemorrhoid
Acute severe anal pain + visible tender blue-black firm lump at anal margin. Onset often after straining. Peak pain at 48–72 hrs then gradual resolution. Most resolve conservatively. If severe within about 72 hours and the patient prefers rapid relief, surgical assessment for excision may be considered.
Fistula-in-ano
Persistent perianal discharge + recurrent abscess + anal discomfort. Tract between anal canal and perianal skin. Examine for external opening. Crohn's disease association (complex fistula). MRI for complex, recurrent, high or Crohn's-related fistula — not routinely after every drainage. Surgical management.
Proctalgia fugax / levator ani syndrome
Proctalgia fugax: sudden severe fleeting rectal pain (seconds to minutes), wakes patient at night, no findings. Levator ani syndrome: chronic dull rectal ache, worse sitting. Pelvic floor dysfunction. Physiotherapy + reassurance.
Fissures not in the posterior midline (atypical fissures) — at lateral positions, or multiple fissures — suggest secondary causes: Crohn's disease, anal cancer, syphilitic ulcer, HSV, tuberculosis. Atypical fissures need further assessment (specialist examination, with colonoscopy and STI testing as indicated) before attributing them to primary fissure disease. Thrombosed external haemorrhoids (TEH) are one of the most painful acute conditions seen in primary care — for a severely symptomatic patient within about 72 hours, excision may shorten pain — conservative care remains appropriate for many. After 72 hours, conservative management (ice, analgesia, stool softeners, sitz baths) is preferred as surgical intervention becomes more hazardous due to oedema, and spontaneous resolution occurs over 2–3 weeks. Patients presenting at 2–3 weeks can be reassured that the worst is over.
4
Diagnose

Examination & Investigations

Perianal inspection
Inspect anal margin: fissure (posterior midline tear), abscess (tender fluctuant lump), fistula (external opening), skin tags, haemorrhoidal prolapse, perianal dermatitis. Gently part buttocks — posterior fissure visible at 6 o'clock without PR examination.
PR examination
Avoid forced DRE in severe acute fissure — inspection usually suffices; consent and chaperone. Topical lidocaine may help selectively but must not delay referral or mask a serious lesion. Assess sphincter tone, mucosal integrity, prostate (men), masses. Gently performed. Defer if extremely tender or abscess suspected; arrange specialist examination if not possible or inconclusive.
Proctoscopy / sigmoidoscopy
Internal haemorrhoids, proctitis, rectal lesion. Can be performed in primary care if trained and equipped; otherwise arrange secondary care. Suspicious lesions need specialist biopsy. Rigid sigmoidoscopy in the colorectal suspected cancer pathway. Flexible sigmoidoscopy via bowel cancer screening pathway.
STI screen
Rectal NAAT swabs (chlamydia including LGV serovars, gonorrhoea) — if STI-related proctitis suspected. HSV swab (vesicular lesions) · Syphilis / HIV by risk — guided by sexual history, symptoms and local sexual-health guidance.
Investigations
FBC (bleeding or systemic infection) · CRP (if infection/inflammation suspected) · HbA1c (diabetes risk, recurrent infection, poor healing) · Stool calprotectin (Crohn's disease with atypical fissure). Anal or colorectal suspected cancer pathway by site if cancer suspected.
Topical lidocaine 5% ointment may make examination tolerable in selected patients with anal fissure, but should not delay referral or mask a serious lesion — it is optional, not a mandatory step. Consider HbA1c in perianal abscess according to diabetes risk, recurrent infection, obesity or poor healing — it is not required for every isolated abscess; diabetes worsens outcomes. Recurrent or unusually extensive perianal sepsis in a patient without a known diabetes diagnosis should prompt urgent HbA1c testing. Stool calprotectin is a useful non-invasive marker of intestinal inflammation — an elevated result in a patient with recurrent fissures at atypical positions should prompt colonoscopy to exclude Crohn's disease.
5
Refer

Referral Pathways

999
Suspected Fournier's gangrene (rapidly spreading perianal infection, pain out of proportion to the signs, or crepitus — any one). Rectal perforation (history of trauma, sudden severe pain, peritonism).
Same-day surgical
Perianal abscess (drainage). Thrombosed external haemorrhoid within about 72 hours with severe pain — urgent surgical assessment may be considered (conservative care also appropriate). Impaction of foreign body.
Suspected cancer · NICE NG12
Anal-cancer pathway: consider for unexplained anal mass or ulceration (no FIT) · Colorectal pathway: consider for rectal mass (no FIT); FIT ≥10 µg Hb/g after rectal bleeding, change in bowel habit or weight loss · Tenesmus + weight loss → urgent assessment, routed by findings
Colorectal — routine
Persistent, recurrent or atypical fissure after 6–8 weeks of topical treatment · fistula-in-ano · haemorrhoids with persistent prolapse, bleeding, pain, irreducibility or failed conservative care · recurrent perianal abscess
GUM
STI-related proctitis · MSM with anal symptoms · HSV proctitis · LGV proctitis (doxycycline 21 days — initiated or confirmed via sexual health) · HIV-positive with anal symptoms
Chronic anal fissure (present >6 weeks, indurated edges, sentinel pile) that fails topical treatment has two surgical options: botulinum toxin injection or lateral internal sphincterotomy (LIS). LIS is more effective but the incontinence risk must be discussed carefully. Botulinum toxin is preferred in women (especially post-obstetric injury, high baseline incontinence risk) and in patients with Crohn's disease. The GP's role is to ensure topical treatment is applied correctly and adequately (sufficient dose, adequate duration) before referring for surgery.
6
Treat

GP Treatment

Persistent or chronic anal fissure
GTN 0.4% ointment
Stool softening first; GTN if symptoms persist despite it (licensed for pain in chronic fissure; adults only). Per local fissure protocol, usually 6–8 weeks with review, plus one stool-softening measure. Discuss headache; avoid with PDE-5 inhibitors or other nitrates and in pregnancy. Alternative: diltiazem 2% (off-label). Persistent, recurrent or atypical → colorectal.
Haemorrhoids (grade I–II)
High-fibre diet + stool softeners
Gradual fibre and fluid; a bulk-forming or osmotic laxative by stool consistency — not both automatically. Topical preparations give short-term relief only; steroid preparations about 5–7 days. Avoid straining. Warm sitz baths. Refer for persistent prolapse, bleeding, pain, irreducibility, failed conservative care or uncertainty (banding for suitable internal I–III; grade IV or mixed disease needs operative assessment).
Proctalgia fugax
Reassurance
For typical brief recurrent episodes with a normal examination: reassure, warmth, relaxation, avoid constipation. Persistent, frequent or disabling → pelvic-floor physiotherapy or colorectal assessment. GTN only after checking contraindications (PDE-5 inhibitors, hypotension) and explaining limited, variable evidence.
Stool managementSoft, well-formed stool helps fissures and haemorrhoids. Increase fibre gradually with adequate fluid. Avoid straining and prolonged sitting on the toilet (feet on footstool to reduce straining angle). One suitable laxative by stool consistency if constipated.
HSV proctitisTreat per the current BASHH herpes guideline and local sexual-health protocol — regimen depends on first episode vs recurrence, severity, proctitis, immunosuppression, renal function and pregnancy. GUM referral for testing, HIV test and suppressive therapy if recurrent.
GTN 0.4% ointment for anal fissure works by releasing nitric oxide, which relaxes the internal anal sphincter — reducing sphincter pressure relieves the ischaemic component of fissure pain and allows healing. The headache side effect (from systemic GTN absorption through the perianal mucosa) can be minimised by using the smallest effective amount (pea-sized, fingertip) and applying distal to the anal margin rather than deep inside. Diltiazem 2% ointment is equally effective with fewer headaches (calcium channel blocker mechanism) and is preferred in patients who cannot tolerate GTN headaches. The critical teaching point: stool softening must accompany all topical treatments — topical treatment alone without addressing the underlying constipation/hard stool will fail.
7
Treat

Perianal Abscess — GP Immediate Actions

Refer same-day surgical
Do NOT attempt to drain perianal abscess in primary care — inadequate drainage + inadequate anaesthesia leads to incomplete drainage, missed fistula tract, and bacteraemia. Phone surgical registrar for direct admission.
Antibiotics in primary care
Antibiotics only as an adjunct — systemic illness or sepsis, spreading cellulitis, immunosuppression, diabetes or significant comorbidity, extensive or recurrent disease. Antibiotic per local formulary (co-amoxiclav alone already covers anaerobes — metronidazole is added only to a regimen without anaerobic cover). Do NOT delay surgery for antibiotic course.
Pain relief
Regular paracetamol; NSAID only if no significant bleeding, anticoagulant/antiplatelet, renal impairment, heart failure, ulcer, frailty or high GI risk. Topical lidocaine ointment for local relief. Ice pack wrapped in cloth. Sitz bath (warm water) — some relief but does not treat the abscess.
Diabetes
Any perianal abscess in a known or suspected diabetic → urgent HbA1c + glucose. Glucose control vital for healing. Diabetes significantly worsens infection severity and healing. Escalate to surgeon the diabetic status.

Next steps: see Anal fissure · Haemorrhoids · Crohn's disease · Genital herpes · Constipation (adult)

Perianal abscesses almost always originate in the anal glands (cryptoglandular theory) — the anal glands open into the crypts at the dentate line. Infection tracks along tissue planes (intersphincteric, perianal, ischiorectal, or supralevator spaces) depending on which direction it travels. The surgeon must probe the abscess cavity at the time of drainage to identify any fistula tract and lay it open if present — this is not possible under local anaesthesia in a GP surgery. Missing a fistula tract at the initial drainage increases the risk of recurrence. The surgical approach also allows comprehensive examination under anaesthesia for associated conditions (Crohn's fistula, anal cancer in the cavity wall).
8
Lifestyle

Anorectal Health & Prevention

High-fibre diet Increase fibre gradually towards the NHS adult figure of 30 g/day where suitable (wholegrain bread, fruit, vegetables, legumes), with adequate fluids — individualised, no fixed volume. Avoiding constipation and straining may reduce fissure and haemorrhoid symptoms and recurrence, but does not prevent all anorectal disease (abscess, fistula, proctitis, warts, cancer).
Toilet habits Avoid prolonged sitting on the toilet (reading/phone → prolonged straining → haemorrhoids). Foot stool (Squatty Potty) raises knees above hip level → reduces puborectalis angle → less straining force needed. Do not delay defecation — go when urge arises.
Perianal hygiene Wash with lukewarm water after defecation (bidet or shower head). Pat dry gently — do not rub. Avoid wet wipes (contain preservatives that cause contact dermatitis and worsen anal itching). Avoid harsh toilet paper. Barrier cream (Sudocrem) if skin raw.
Exercise Regular aerobic exercise improves bowel transit time and reduces constipation. 150 min/week moderate exercise. Pelvic floor exercises for levator ani syndrome and functional anorectal pain.
Weight management Obesity increases intra-abdominal pressure → worsens haemorrhoids and fissure recurrence. BMI reduction reduces straining pressure on ano-rectal venous plexus. Dietary modification + exercise programme.
Anal cancer screening (MSM/HIV) HIV+ MSM: anal cytology to detect anal HSIL (high-grade squamous intraepithelial lesion — anal cancer precursor) is offered only in some specialist HIV/GUM services; there is no national UK anal screening programme. HPV vaccination (per national eligibility) reduces vaccine-type infection and HPV-related disease but does not treat established infection or eliminate anal-cancer risk.
Anal squamous cell carcinoma incidence in HIV-positive MSM is many times higher than in the general population — it is now a major cancer concern in this group, and selected specialist HIV/GUM services may offer anal cytology or high-resolution anoscopy (HSIL pathways) — this is not a universal GP screening recommendation. HPV vaccination prevents infection with vaccine types including 16 and 18, which cause most anal SCCs, though it does not eliminate risk. The NHS HPV vaccination programme covers girls and boys (boys since 2019) at 12–13 years, with a catch-up to age 25, and MSM up to age 45 via sexual health services (UKHSA Green Book) — opportunistic checking of vaccination status in MSM patients presenting with anorectal symptoms is an important prevention opportunity. The footstool/squatting position (knees above hips) during defecation significantly reduces anorectal muscle strain — it aligns the puborectalis muscle in a relaxed position rather than the constipated acute angle created by sitting on a standard toilet.
9
Safety

Follow-Up & Safety-Netting

Fissure — 8 weeks
Review at 6–8 weeks: pain with defecation resolved? Partial response → continue per local protocol. No response, recurrent or atypical → colorectal referral.
Post-abscess drainage
Wound dressing changes (community nurse). Confirm fistula assessment performed at surgery. Persistent discharge, recurrent swelling or a non-healing external opening → possible fistula → colorectal review (6 weeks is a trigger, not a diagnostic rule).
Haemorrhoids
Lifestyle changes effective? Grade I–II: recheck at 6 weeks. Persistent symptoms → colorectal outpatient for banding. Do NOT investigate with colonoscopy for haemorrhoids alone — banding is first step; colonoscopy if any diagnostic uncertainty.
Referral tracking
Suspected cancer referral: confirm appointment per local pathway processes. No appointment → patient phones hospital. Document referral date and indication.
999 safety-net
Rapidly spreading redness or swelling around the anus or genitals, severe pain out of proportion, crackling under the skin, or feeling very unwell (Fournier's) — any one; rectal perforation symptoms (sudden severe abdominal pain + peritonism)
Same-day GP
Post-abscess drainage wound not healing (possible fistula), new abscess forming, anal symptoms dramatically worsening, new rectal bleeding during fissure treatment
A persistent fistula after perianal abscess drainage is not rare (risk varies by abscess type) — the GP plays a crucial role in recognising it. Signs are persistent perianal discharge through a small external opening after the abscess wound appears healed, or recurrent abscess at the same site. Failure to refer to colorectal for fistula assessment leads to repeated abscess cycles and increasing sphincter damage. MRI fistula is the gold standard imaging for mapping complex fistula tracts, particularly in Crohn's disease where conservative surgical approaches are needed to preserve sphincter function. All patients with anorectal symptoms should be informed that they can present back at any time with new symptoms — chronic anorectal disease has a high rate of new problems developing.
Educational use only. Based on NICE NG12 (Suspected Cancer, updated April 2026), BASHH STI guidelines (including anogenital herpes 2024 and LGV), NICE HTG690 (quantitative FIT; formerly DG56), ESCP cryptoglandular anal fistula guideline (2023), local EUR policy (haemorrhoids and anal skin tags), BASHH anogenital warts guideline 2024, ACPGBI Anorectal guidelines, UKHSA Green Book HPV chapter. Always adapt to individual patient context.