Genetic predisposition is the major known cause of cancer in children and adolescents. In this Review, Kratz highlights the genetic architecture of cancer in children and adolescents, examining cancer predisposition syndromes, cancer predisposition genes, embryonic mosaicism and polygenic risk scores, focusing on their roles in cancer prediction, prevention, surveillance and therapy.