Recent evidence suggests that a pro-inflammatory diet could be associated with prostate cancer (PC) risk. To evaluate the association between dietary inflammatory index (DII) and PC risk as well as aggressiveness, we conducted a case–control study in Mexico City. Cases were 394 individuals with incident, histologically confirmed PC, who were matched by age (±5 years) with 794 population controls. Dietary information was obtained through a semi-quantitative FFQ with a 3-year frame of reference before diagnosis, for cases, or interview, for controls. On the basis of twenty-eight food parameters, we estimated the energy-adjusted DII (E-DII). According to the Gleason score at diagnosis, PC cases were categorised as high (≥8), moderate (=7) and low (≤6) PC risk. Independent, unconditional logistic regression models adjusted for potential confounders were used to estimate PC risk and PC aggressiveness. There were no significant associations between overall PC risk and E-DII (OR3rd v. 1st tertile 1·18; 95 % CI 0·85, 1·63; P=0·33) or among men with high-risk PC (Gleason≥8) (OR 1·46; 95 % CI 0·88, 2·42; P=0·14). These results do not support the hypothesis that a pro-inflammatory diet is related to PC risk and PC aggressiveness. However, further studies with larger sample sizes, with sufficient statistical power and of varying designs should be conducted to address this hypothesis.