It is usually rare for liver cancer to be hereditary. But some metabolic diseases can increase the risk of contracting cirrhosis, increasing the risk of liver cancer. For instance, people diagnosed with inherited hemochromatosis are fond to absorb abnormal amounts of iron from the food, leading to cirrhosis and liver cancer.