A liver biopsy is a medical procedure that removes a small piece of liver tissue so doctors can examine the liver's condition. There are three main types of liver biopsies - needle biopsy, laparoscopic biopsy, and transvenous biopsy. After a liver biopsy, the patient will need to limit activity and lie on their right side to allow the biopsy site to heal. A liver biopsy can help diagnose liver disease, detect cancer or infections, and provide insight into abnormal liver enzyme levels or swelling of the liver.