Magnetic resonance imaging (MRI) and magnetic resonance spectroscopy (MRS) have made great successes in clinical diagnosis, medical research, and neurological science. MRI provides high resolution anatomical images of tissues/organs, and MRS provides information of the functional molecules related to a specific tissue/organ. However, it is difficult for classic MRI/MRS to selectively image/probe a specific metabolite molecule other than the water or fat in tissues/organs. This greatly limits their applications on the study of the molecular mechanism(s) of metabolism and disease. Herein, we report a series of molecularly targeted MRI/MRS methods to target specific molecules. The optimal control method was used to efficiently prepare the singlet spin orders of varied multi-spin systems and in turn greatly expand the choice of the targeted molecules in the molecularly targeted MRI/MRS. Several molecules, such as N-acetyl-l-aspartic acid (NAA), dopamine (DA), and a tripeptide (alanine-glycine-glycine, AGG), have been used as targeted molecules for molecularly targeted MRI and MRS. We show in vivo NAA-targeted 1H MRS spectrum of a human brain. The high-resolution signal of NAA suggests a promising way to study important issues in molecular biology at the molecular level, e.g., measuring the local pH value of tissue in vivo, demonstrating the high potential of such methods in medicine.