| TP53, which encodes the tumour-suppressor protein p53, is the most frequently mutated gene across all cancer types. The presence of mutant p53 predisposes to cancer development, promotes the survival of cancer cells, and is associated with ineffective therapeutic responses and unfavourable prognoses. Despite these effects, no drug that abrogates the oncogenic functions of mutant p53 has yet been approved for the treatment of cancer. Current investigational therapeutic strategies are mostly aimed at restoring the wild-type activity of mutant p53, based on the assumption that all p53 mutants are functionally equal. Our increasing knowledge of mutant forms of p53, however, supports the antithetical hypothesis that not all p53 mutants have equivalent cellular effects; hence, a judicious approach to therapeutic targeting of mutant p53 is required. In this Review, we propose a categorization of the major classes of p53 mutants based on their functionality in tumour suppression and response to therapy. The emerging picture is that the mutations across TP53 form a ‘rainbow of mutants’, with varying degrees of functionality and different pathobiological consequences, necessitating the use of diverse therapeutic strategies to selectively target specific classes of mutation. The utility of this knowledge of TP53 mutations in developing selective therapeutic options, and in facilitating clinical decision-making is discussed.