A liver biopsy is ordered after other tests have shown that your liver is not working properly. You may also have a liver biopsy when liver disease is suspected to determine whether there is too much iron in the liver or to rule out cancer.