Health Library › Conditions › Pyogenic liver abscess
Condition
A pyogenic liver abscess is a pus-filled pocket in the liver caused by bacteria.
A pyogenic liver abscess is a pocket of infected fluid and pus inside the liver. “Pyogenic” means pus-forming. The infection is usually caused by bacteria, sometimes by more than one type.
The liver sits mainly under the ribs on the right side of the body. It processes nutrients, makes bile to help digest fats, and removes substances from the blood. An abscess can damage nearby liver tissue and allow infection to spread into the bloodstream.
This condition needs urgent medical assessment and is usually treated in hospital. Treatment commonly combines antibiotics like amoxicillin or doxycycline with drainage of the abscess. Doctors also look for where the infection started, such as a blocked or infected bile duct.
With prompt treatment, many people recover. The outlook is affected by the size and number of abscesses, the source of infection, whether it has spread, and the person’s overall health.
Symptoms may develop over several days or more gradually. They can be vague at first, especially in older adults or people with a weakened immune system.
Common symptoms include:
Some people develop jaundice, which causes yellow skin or eyes and may darken the urine. Jaundice is more likely when infection or blockage affects the bile ducts.
Pain can sometimes be felt in the right shoulder or become worse with deep breathing. An abscess close to the diaphragm, the muscle below the lungs, may also cause cough, chest discomfort, or shortness of breath.
Symptoms alone cannot confirm a liver abscess. Gallbladder problems, hepatitis, pneumonia, and several other conditions can cause similar symptoms.
A pyogenic liver abscess develops when bacteria reach the liver and form a contained area of infection. Several routes are possible.
Bacteria often spread through the bile ducts. These small tubes carry bile from the liver to the bowel. Gallstones, narrowing of a duct, cancer, or a previous procedure can block bile flow and allow infection to develop.
Infection can also spread through blood vessels from the bowel. Possible sources include appendicitis, diverticulitis, bowel inflammation, or a leak after abdominal surgery. Less often, bacteria arrive through the main bloodstream from an infection elsewhere in the body.
An abscess may occasionally follow liver injury, surgery, or a procedure involving the liver or bile ducts. Sometimes no source is found. This is called a cryptogenic liver abscess.
Factors associated with a greater risk include:
These factors do not mean that someone has or will develop an abscess. Many people with diabetes or gallstones never develop one.
Diagnosis usually takes place in hospital. A clinician will ask about symptoms, recent infections or procedures, and existing conditions. They will examine the abdomen and look for signs of jaundice, dehydration, or infection affecting the whole body.
Blood tests can show inflammation and changes in liver function. Blood cultures are used to check whether bacteria are growing in the bloodstream. When possible, cultures are collected before antibiotics begin, but treatment should not be delayed when someone is seriously unwell.
Imaging is needed to find the abscess. An ultrasound uses sound waves to create pictures of the liver. A CT scan uses X-rays and computer processing to show its location, size, and relationship to nearby organs. CT can be especially useful when the diagnosis is uncertain or drainage is being planned.
A sample of fluid is often taken using a needle or drainage tube guided by ultrasound or CT. Laboratory testing can identify the bacteria and show which antibiotics are likely to work. A negative culture does not always rule out infection, particularly if antibiotics have already started.
Further tests may be needed to find the source. These can include detailed scans of the bile ducts or tests of the bowel, depending on the medical history and imaging results.
Most people are admitted to hospital. The main parts of treatment are controlling the bacterial infection, draining infected fluid when needed, and treating the underlying source.
Antibiotics are usually started promptly. Initial treatment covers the bacteria most likely to come from the bowel and bile ducts. The choice may be changed after blood or abscess culture results are available.
Antibiotics are often given into a vein at first. Some people can later change to tablets when they are improving and able to eat and drink. Treatment usually continues for weeks, but the length is guided by the abscess, drainage, laboratory results, symptoms, and response to treatment. There is no single course that is right for everyone.
Many abscesses need drainage. A radiologist can place a needle or thin tube through the skin into the abscess using ultrasound or CT guidance. A tube may remain in place for several days while fluid drains. The amount and appearance of the fluid are monitored.
Surgery is less common. It may be considered if an abscess has ruptured, cannot be reached safely through the skin, does not improve with other treatment, or requires an operation to correct the underlying cause.
Treatment may also involve clearing a blocked bile duct, treating an abdominal infection, or managing another source. Fluids, pain relief, nutrition, and blood glucose management may support recovery.
A liver abscess can release bacteria into the bloodstream. This may cause sepsis, a serious reaction in which infection begins to affect organs and circulation.
Other possible complications include:
Certain bacteria, particularly some strains of Klebsiella pneumoniae, can occasionally spread to the eyes, brain, or other sites. New eye pain, redness, blurred vision, severe headache, weakness, or confusion needs emergency assessment.
Complications are more likely when treatment is delayed, drainage is incomplete, or a continuing source such as bile duct blockage has not been corrected.
A pyogenic liver abscess cannot always be prevented. It may occur without a clear source, and there is no routine screening test for people without symptoms.
Risk may be reduced by treating bile duct blockage and abdominal infections promptly. If you have had surgery or a bile duct procedure, follow the aftercare instructions and report fever, worsening abdominal pain, or jaundice.
Good management of diabetes may support the immune system and recovery from infections. However, developing an abscess does not necessarily mean diabetes or another condition was poorly managed.
After treatment, completing the planned antibiotic course and attending follow-up can help confirm that the abscess and its source have resolved.
Treatment often begins with a hospital stay. Temperature, pain, blood pressure, blood tests, and drainage output may be checked regularly. Symptoms may start to improve after antibiotics and effective drainage, but the speed of recovery differs.
Tiredness and reduced appetite can continue after the infection is controlled. Returning to work, exercise, and usual responsibilities may need to be gradual. Your care team can advise you about activity while a drainage tube is in place and after it is removed.
Follow-up commonly includes clinical review and blood tests. Repeat ultrasound or CT may be used to check that the abscess is shrinking, especially if symptoms continue or drainage was difficult. Imaging changes can take longer to disappear than fever or pain, so a remaining mark does not always mean active infection.
Most people can return to their previous activities after recovery. Some need further treatment for the condition that allowed the infection to develop, such as gallstones or narrowing of a bile duct.
Recurrence is possible, particularly if the underlying source remains. New fever or abdominal pain after treatment should be assessed rather than assumed to be part of normal recovery.
Seek same-day urgent medical care for a persistent fever with pain under the right ribs, especially if you also have chills, vomiting, jaundice, or a recent abdominal or bile duct procedure. These symptoms have several possible causes, but they need assessment.
If you are already being treated, contact your care team promptly if fever or pain returns, a drainage tube stops working or comes out, or there is increasing redness, swelling, or leakage around the tube.
Seek emergency help for signs that infection may be seriously affecting the body, including:
These are emergency symptoms rather than routine follow-up concerns.
Is a pyogenic liver abscess cancer?
No. It is a bacterial infection, not cancer. However, a growth that blocks a bile duct can sometimes contribute to an abscess. Tests may therefore look for a blockage or another underlying cause.
Is a liver abscess contagious?
A pyogenic liver abscess is not usually passed directly from one person to another. The bacteria generally reach the liver from inside the person’s own bowel, bile ducts, or bloodstream. Standard hand hygiene remains sensible, particularly around wounds and drainage equipment.
Can antibiotics cure it without drainage?
Some smaller or difficult-to-reach abscesses may be managed with antibiotics alone. Many abscesses need drainage as well because antibiotics may not penetrate a large pocket of pus effectively. The decision is based on imaging, symptoms, the response to treatment, and whether drainage can be performed safely.
How long does recovery take?
Hospital treatment may last days or longer, while antibiotics and recovery often continue for several weeks. Fatigue can outlast the fever and pain. Recovery may take longer when there are several abscesses, complications, or an underlying problem requiring further treatment.
Can a liver abscess come back?
Yes, although many people have only one episode. Recurrence is more likely if infection remains, a bile duct is still blocked, or another source has not been treated. Follow-up is intended to check for these problems.
Does the liver heal after an abscess?
The liver often heals well after the infection clears. Imaging may show a shrinking cavity or scar for some time. Lasting liver problems are less common but can occur after extensive infection or when another liver or bile duct condition is present.
sofidex [Internet]. Daloreum; c2026. Pyogenic liver abscess; [reviewed 2026 Aug 22; cited 2026 Nov 10]. Available from: https://sofidex.com/patients/conditions/pyogenic-liver-abscess
sofidex. (2026, August 22). Pyogenic liver abscess. Daloreum. Retrieved November 10, 2026, from https://sofidex.com/patients/conditions/pyogenic-liver-abscess
Pyogenic liver abscess. sofidex. Reviewed August 22, 2026. Accessed November 10, 2026. https://sofidex.com/patients/conditions/pyogenic-liver-abscess
The cited date is today’s, because a citation records when you read the page. The reviewed date is when a clinician last checked it.