The key points of preoperative nursing of liver cancer include improving nutritional status of body, improving liver function and cleaning intestines, etc. The key points of postoperative nursing include closely observing the change of condition, paying attention to rest and preventing infection. Before liver cancer surgery, one should pay attention to the nutrition of diet, and can eat some high-protein and high-calorie food to replenish nutrients for the body, so as to avoid prolonging the recovery period after surgery due to malnutrition. Effective liver preservation measures should also be taken before liver cancer surgery to improve the liver function of patients and improve the safety of surgery. Before surgery, attention should also be paid to cleaning the intestinal tract to reduce the symptom of postoperative abdominal distension and avoid the emergence of complications. After liver cancer surgery, attention should be paid to closely observe the changes of condition, and if complications such as liver failure and ascites occur, the patient should contact the attending doctor in time to take corresponding treatment measures. In addition, one should not get out of bed too early after liver cancer surgery, and should pay attention to rest and prevent infection so as not to affect the recovery of condition. There are many points of pre- and post-operative care for liver cancer, so patients are advised to consult attending doctors in detail, proceed under their guidance and take medication as prescribed by doctors to avoid adverse consequences.