Eating no more than three portions of red meat, avoiding sugary drinks, and eating a balanced diet with enough fiber are just three.
Also on the list are getting two and a half hours of exercise per week, keeping a healthy weight and limiting fast food.
Unfortunately for boozers, quitting alcohol completely is another anti-cancer step.
The research was conducted to analyze the validity of a previous set of 10 similar recommendations set by The World Cancer Research Fund (WCRF) and the American Institute for Cancer Research (AICR).
Researchers from Newcastle University in the UK tested the guidance on people from Britain, using data from 94,778 adults with an average age of 56.
They used self-reported data on diet and exercise, as well as participants' body mass index (BMI) and waist circumference measurements.
Each participant was scored on their adherence to seven of the recommendations out of seven.
They also used cancer registry data to track cancer diagnoses during the eight-year study period.
Not studied were the WCRF advice to avoid supplements that claim to fight cancer and to follow medical guidance in the event of a cancer diagnosis. They also did not include breastfeeding due to a lack of data.
The researchers controlled for age, sex, socioeconomic deprivation, ethnicity, and smoking status in their analyses.