Haemorrhoids (piles)
Also known as: Haemorrhoids or perianal venous conditions, unspecified
General information only. Anpheros does not diagnose and does not recommend treatment. Talk to a doctor or pharmacist about your situation. In an emergency, call 112 (or your local emergency number).
In short
Hemorrhoids are swollen, inflamed veins around the anus or the lower part of the rectum, which can be external under the skin around the anus or internal in the lining of the anus and lower rectum. They are caused by excess pressure on these veins from factors such as straining during bowel movements, sitting on the toilet for long periods, chronic constipation or diarrhea, a low-fiber diet, weakened supporting tissues, or frequent heavy lifting. External hemorrhoids can cause anal itching, hard and tender lumps, or anal pain, while internal hemorrhoids may cause rectal bleeding or prolapse through the anal opening. Medical evaluation is necessary if symptoms persist after one week of at-home treatment or if there is bleeding from the rectum, as bleeding can also be caused by other conditions like Crohn's disease, ulcerative colitis, colorectal cancer, and anal cancer.
Source: MedlinePlus, National Library of Medicine.
AI-generated summary of the sources cited on this page, checked automatically against them. Not reviewed by a clinician; not medical advice.
Codes
Description
What are hemorrhoids?
Hemorrhoids are swollen, inflamed veins around your anus or the lower part of your rectum. There are two types:
- External hemorrhoids, which form under the skin around your anus
- Internal hemorrhoids, which form in the lining of your anus and lower rectum
What causes hemorrhoids?
Hemorrhoids happen when there is too much pressure on the veins around the anus. This can be caused by:
- Straining during bowel movements.
- Sitting on the toilet for long periods of time.
- Chronic constipation or diarrhea.
- A low-fiber diet.
- Weakening of the supporting tissues in your anus and rectum. This can happen with aging and pregnancy.
- Frequently lifting heavy objects.
What are the symptoms of hemorrhoids?
The symptoms of hemorrhoids depend on which type you have:
With external hemorrhoids, you may have:
- Anal itching
- One or more hard, tender lumps near your anus
- Anal pain, especially when sitting
Too much straining, rubbing, or cleaning around your anus may make your symptoms worse. For many people, the symptoms of external hemorrhoids go away within a few days.
With internal hemorrhoids, you may have:
- Bleeding from your rectum - you would see bright red blood in your stool, on toilet paper, or in the toilet bowl after a bowel movement
- Prolapse, which is a hemorrhoid that has fallen through your anal opening
Internal hemorrhoids are usually not painful unless they are prolapsed. Prolapsed internal hemorrhoids may cause pain and discomfort.
How can I treat hemorrhoids at home?
You can most often treat your hemorrhoids at home by:
- Eating foods that are high in fiber.
- Taking a stool softener or a fiber supplement.
- Drinking enough fluids every day.
- Not straining during bowel movements.
- Not sitting on the toilet for long periods of time.
- Taking over-the-counter pain relievers.
- Taking warm baths several times a day to help relieve pain. This could be a regular bath or a sitz bath. With a sitz bath, you use a special plastic tub that allows you to sit in a few inches of warm water.
- Using over-the-counter hemorrhoid creams, ointments, or suppositories to relieve mild pain, swelling, and itching of external hemorrhoids.
When do I need to see a health care provider for hemorrhoids?
You should see your health care provider if you:
- Still have symptoms after 1 week of at-home treatment.
- Have bleeding from your rectum. Hemorrhoids are a common cause of bleeding, but other conditions can also cause bleeding. They include Crohn's disease, ulcerative colitis, colorectal cancer, and anal cancer. So it's important to see your provider to find the cause of the bleeding.
How are hemorrhoids diagnosed?
To find out if you have hemorrhoids, your health care provider:
- Will ask about your medical history.
- Will do a physical exam. Often providers can diagnose external hemorrhoids by looking at the area around your anus.
- Will do a digital rectal exam to check for internal hemorrhoids. For this, the provider will insert a lubricated, gloved finger into the rectum to feel for anything that is abnormal.
- May do procedures such as an anoscopy to check for internal hemorrhoids.
What are the treatments for hemorrhoids?
If at-home treatments for hemorrhoids don't help you, you may need a medical procedure. There are several different procedures that your provider can do in the office. These procedures use different techniques to cause scar tissue to form in the hemorrhoids. This cuts off the blood supply, which usually shrinks the hemorrhoids. In severe cases, you may need surgery.
Can hemorrhoids be prevented?
You can help prevent hemorrhoids by:
- Eating foods that are high in fiber
- Taking a stool softener or a fiber supplement
- Drinking enough fluids every day
- Not straining during bowel movements
- Not sitting on the toilet for long periods of time
NIH: National Institute of Diabetes and Digestive and Kidney Diseases
Next to it in ICD-10
- K60Anal fissure and fistula
- K62Other diseases of the anus and rectum
- K63Other diseases of the intestine
- K65Peritonitis, unspecified
- K66Other disorders of the peritoneum
- K67Peritoneal disorders in infectious diseases
Neighbouring codes in the classification, not a medical link.
External resources
Questions
What is the ICD-10 code for Haemorrhoids (piles)?
K64 (WHO, International Classification of Diseases, 10th Revision).
What is the ICD-11 code for Haemorrhoids (piles)?
DB6Z: Haemorrhoids or perianal venous conditions, unspecified (WHO, ICD-11 for Mortality and Morbidity Statistics).
Sources and attribution
- ICD-11 for Mortality and Morbidity Statistics, © World Health Organization, licensed under CC BY-ND 3.0 IGO.
- Names other than the official source titles: Anpheros translations and plain-language names, made with AI assistance and checked automatically; the source names are in English.
- Source: MedlinePlus, National Library of Medicine.
- ICD-10 codes and titles © World Health Organization. Source: WHO, International Classification of Diseases, 10th Revision (2019).
Anpheros Search catalog 2026.10.5, published 17 October 2026. About the data →
About this page. This page brings together public information from official sources, each cited where it is used. It is not medical advice, it is not a diagnosis, and it does not tell you which treatment to take.
Treatments. Indications are quoted unchanged from official product information (European Medicines Agency, U.S. Food and Drug Administration). They describe what a medicine is approved for, not whether it is right for you. Approved uses can differ between countries. Always read the package leaflet and follow your doctor's or pharmacist's advice.
What people report. Figures marked "reported by Anpheros users" are anonymous counts from at least 20 people who agreed to share them. They show what people report, not what works, and they are not clinical evidence.
Links between terms. "May be associated with" means the link appears in a cited source. It does not mean you have that condition.
In an emergency, call 112 (or your local emergency number). Do not delay seeking medical help because of something you read here.