Both TIMP and MTIMP have been reported to inhibit glutamine-5-phosphoribosylpyrophosphate amidotransferase, the first enzyme unique to the de novo pathway for purine ribonucleotide synthesis. Experiments indicate that radiolabeled mercaptopurine may be recovered from the DNA in the form of deoxythioguanosine. Some mercaptopurine is converted to nucleotide derivatives of 6-thioguanine (6-TG) by the sequential actions of inosinate (IMP) dehydrogenase and xanthylate (XMP) aminase, converting TIMP to thioguanylic acid (TGMP). Animal tumors that are resistant to mercaptopurine often have lost the ability to convert mercaptopurine to TIMP. However, it is clear that resistance to mercaptopurine may be acquired by other means as well, particularly in human leukemias. It is not known exactly which of any one or more of the biochemical effects of mercaptopurine and its metabolites are directly or predominantly responsible for cell death.6-MP ribonucleotide inhibits purine nucleotide synthesis and metabolism by inhibiting an enzyme called phosphoribosyl pyrophosphate amidotransferase (PRPP amidotransferase). Since this enzyme is the rate limiting factor for purine synthesis, this alters the synthesis and function of RNA and DNA. Mercaptopurine interferes with nucleotide interconversion and glycoprotein synthesis. Pharmacogenetics
The enzyme thiopurine S-methyltransferase (TPMT) is responsible, in part, for the inactivation of 6-mercaptopurine. TPMT catalyzes the methylation of 6-mercaptopurine into the inactive metabolite 6-methylmercaptopurine – this methylation prevents mercaptopurine from further conversion into active, cytotoxic thioguanine nucleotide (TGN) metabolites.
In Pratt VM, McLeod HL, Rubinstein WS,  et al. (eds.). Medical Genetics Summaries. National Center for Biotechnology Information (NCBI). PMID 28520348. Bookshelf ID: NBK100660. External links
"Mercaptopurine". Drug Information Portal. U.S. National Library of Medicine.