Diet plays an important role in the pathogenesis of kidney stones. Because the metabolism of many dietary factors, such as calcium, may change with age, the relation between diet and kidney stones may be different in older adults. Uncertainty also remains about the association between many dietary factors, such as vitamin C, magnesium, and animal protein, and the risk of kidney stone formation. To examine the association between dietary factors and the risk of incident, symptomatic kidney stones in men and to determine whether these associations vary with age, a prospective cohort study was conducted of 45,619 men without a history of nephrolithiasis. Self-administered food frequency questionnaires were used to assess diet every 4 yr. A total of 1473 incident symptomatic kidney stones were documented during 477,700 person-years of follow-up. For men aged P = 0.01 for trend). By contrast, there was no association between dietary calcium and stone formation in men aged 60 yr or older. The multivariate RR for men who consumed 1000 mg or greater of vitamin C per day compared with those who consumed less than the recommended dietary allowance of 90 mg/d was 1.41 (95% CI, 1.11 to 1.80; P = 0.01 for trend). Other dietary factors showed the following multivariate RR among men in the highest quintile of intake compared with those in the lowest: magnesium, 0.71 (95% CI, 0.56 to 0.89; P = 0.01 for trend); potassium, 0.54 (95% CI, 0.42 to 0.68; P < 0.001 for trend); and fluid, 0.71 (95% CI, 0.59 to 0.85; P < 0.001 for trend). Animal protein was associated with risk only in men with a body mass index 2 (RR, 1.38; 95% CI, 1.05 to 1.81; P = 0.03 for trend). Sodium, phosphorus, sucrose, phytate, vitamin B6, vitamin D, and supplemental calcium were not independently associated with risk. In conclusion, the association between calcium intake and kidney stone formation varies with age. Magnesium intake decreases and total vitamin C intake seems to increase the risk of symptomatic nephrolithiasis. Because age and body size affect the relation between diet and kidney stones, dietary recommendations for stone prevention should be tailored to the individual patient.