Obesity is a well-established risk factor for colorectal cancer (CRC), and accumulating evidence suggests a differential influence of sex and anthropometric factors on the molecular carcinogenesis of the disease. The aim of the present study was to investigate the relationship between height, weight, bodyfat percentage, waist- and hip circumference, waist-hip ratio (WHR), body mass index (BMI) and CRC risk according to KRAS and BRAF mutation status of the tumours, with particular reference to potential sex differences. KRAS and BRAF mutations were analysed by pyrosequencing in tumours from 494 incident CRC cases in the Malmö Diet and Cancer Study. Hazard ratios of CRC risk according to anthropometric factors and mutation status were calculated using multivariate Cox regression models. While all anthropometric measures except height were associated with an increased risk of KRAS-mutated tumours, only BMI was associated with an increased risk of KRAS wild type tumours overall. High weight, hip, waist, WHR and BMI were associated with an increased risk of BRAF wild type tumours, but none of the anthropometric factors were associated with risk of BRAF-mutated CRC, neither in the overall nor in the sex-stratified analysis. In men, several anthropometric measures were associated with both KRAS-mutated and KRAS wild type tumours. In women, only a high WHR was significantly associated with an increased risk of KRAS-mutated CRC. A significant interaction was found between sex and BMI with respect to risk of KRAS-mutated tumours. In men, all anthropometric factors except height were associated with an increased risk of BRAF wild type tumours, whereas in women, only bodyfat percentage was associated with an increased risk of BRAF wild type tumours. The results from this prospective cohort study further support an influence of sex and lifestyle factors on different pathways of colorectal carcinogenesis, defined by KRAS and BRAF mutation status of the tumours.