Revealing a drug’s mechanism of action (MOA) is costly and time-consuming. In this study, we used deep learning to extract temporal mitochondrial phenotypic features after exposure to drugs with known MOAs using re-identification algorithms. The trained model could then predict the MOAs of unidentified substances, facilitating phenotypic screening-based drug discovery and repurposing.