Macrophage migration inhibitory factor (MIF) and its homolog MIF2 (also known as D-dopachrome tautomerase or DDT) play key roles in cell growth and immune responses. MIF and MIF2 expression is dysregulated in cancers and neurodegenerative diseases. Accurate and convenient detection of MIF and MIF2 will facilitate research on their roles in cancer and other diseases. Herein, we report the development and application of a 4-iodopyrimidine based probe 8 for the selective labeling of MIF and MIF2. Probe 8 incorporates a fluorophore that allows in situ imaging of these two proteins. This enabled visualization of the translocation of MIF2 from the cytoplasm to the nucleus upon methylnitronitrosoguanidine stimulation of HeLa cells. This observation, combined with literature on nuclease activity for MIF, enabled the identification of nuclease activity for MIF2 on human genomic DNA.