The treatment of liver cancer is a long-term process, and diet and life attention is also an important aspect of liver cancer treatment. In different periods and different states, the diet of liver cancer patients has different needs. For some patients with early stage small liver cancer, the systemic state and liver function are not affected, so the patient’s diet is basically unaffected and only needs to pay attention to avoiding alcohol, cautiously using liver damaging drugs and eating more fruits and vegetables. Due to the damage of liver function, patients with liver cancer often show weakness, indigestion and aversion to greasy food due to the decline of liver function. At this time, patients need to eat a light diet, try to use nutritious and easily digestible food, and eat less greasy and spicy stimulating food to avoid increasing the burden on the liver. Liver cancer developed from cirrhosis is often accompanied by esophagogastric fundic varices, and some patients with other types of liver cancer are also prone to fundic varices due to portal vein thrombosis in the later stage, so they should avoid eating rough and hard food to avoid rupture and bleeding of esophagogastric fundic veins. If hepatic encephalopathy occurs, attention should also be paid to low protein diet. Patients with anemia, malnutrition and cachexia caused by hepatocellular carcinoma need to supplement nutrition and maintain water-electrolyte balance, and they can use diet rich in various nutrients and supplement enteral and parenteral nutrition preparations if necessary. Patients with liver cancer surgery, depending on the surgical method, consume liquid or semi-liquid food as required during the recovery period and parenteral nutritional support if necessary, depending on the scope of surgical impact. Therefore, the diet of liver cancer patients should be individually adjusted according to the condition and treatment stage, and there is no absolute good food. Patients need to follow medical advice or communicate with doctors in time, especially they cannot hope to rely on health food to fight cancer.