Kidneys from expanded criteria deceased donors may elicit a strong inflammatory response, predisposing recipients to an increased risk of cancer after transplantation. We aimed to determine the association between donor types and cancer risk after kidney transplantation. Using the Australian and New Zealand Dialysis and Transplant Registry, we assessed the association between different donor types (living donor, standard, and expanded criteria deceased donors) and the risk of cancer after kidney transplantation using adjusted Cox proportional hazard and competing risk models. Over a median follow-up period of 4.4 years in 7,040 patients (34,684 patient-years), 468 patients (6.6%) developed cancer. The overall risks for cancer were 1,080, 1,444, and 2,018 per 100,000 patient-years for recipients of living donor, standard, and expanded criteria deceased donor kidneys, respectively. Compared to recipients of living-donor kidneys, recipients of expanded criteria deceased donor kidneys were at an increased risk of cancer (adjusted hazard ratio [HR], 1.52; 95% confidence interval [95% CI], 1.15-2.02; P = 0.004), particularly for genitourinary cancer (adjusted HR, 1.79; 95% CI, 1.03-3.10; P = 0.038) and post-transplant lymphoproliferative disease (adjusted HR, 2.72; 95% CI, 1.38-5.37; P = 0.004). Recipients of expanded criteria deceased donor kidneys are at substantially increased risk of cancer, especially cancers with a viral etiology. Allocation of expanded criteria deceased donor kidneys to potential recipients should balance the harms, such as the excess risk of cancer against the survival gains and quality-of-life benefits associated with transplantation.