We investigated the effects of socioeconomic, demographic and health-related indicators on the incidence of and survival from prostate and testicular cancer diagnosed 1994-2003 with follow-up through 2006 in Denmark using information from nationwide registers. The analyses were based on data on 8279 men with prostate cancer and 1770 with testicular cancer in a cohort of 3.22 million persons born between 1925 and 1973 and aged >or=30 years. We found that men with higher education and the highest disposable income had the highest incidence of prostate cancer. The 1-year and 5-year relative survival after prostate cancer were best amongst men of the highest socioeconomic position. We found no substantial social gradients in the incidence of or survival from testicular cancer.