The occurrence of dyslipidaemia, which is an established risk factor for cardiovascular diseases, has been attributed to multiple factors including genetic and environmental factors. We used a genetic risk score (GRS) to assess the interactions between genetic variants and dietary factors on lipid-related traits in a cross-sectional study of 190 Brazilians (mean age: 21 ± 2 years). Dietary intake was assessed by a trained nutritionist using three 24-h dietary recalls. The high GRS was significantly associated with increased concentration of TAG (beta = 0·10 mg/dl, 95 % CI 0·05–0·16; P < 0·001), LDL-cholesterol (beta = 0·07 mg/dl, 95 % CI 0·04, 0·11; P < 0·0001), total cholesterol (beta = 0·05 mg/dl, 95 % CI: 0·03, 0·07; P < 0·0001) and the ratio of TAG to HDL-cholesterol (beta = 0·09 mg/dl, 95 % CI: 0·03, 0·15; P = 0·002). Significant interactions were found between the high GRS and total fat intake on TAG:HDL-cholesterol ratio (Pinteraction = 0·03) and between the high GRS and SFA intake on TAG:HDL-cholesterol ratio (Pinteraction = 0·03). A high intake of total fat (>31·5 % of energy) and SFA (>8·6 % of energy) was associated with higher TAG:HDL-cholesterol ratio in individuals with the high GRS (beta = 0·14, 95 % CI: 0·06, 0·23; P < 0·001 for total fat intake; beta = 0·13, 95 % CI: 0·05, 0·22; P = 0·003 for SFA intake). Our study provides evidence that the genetic risk of high TAG:HDL-cholesterol ratio might be modulated by dietary fat intake in Brazilians, and these individuals might benefit from limiting their intake of total fat and SFA.