High-resolution in vivo imaging of gene expression is not possible in opaque animals by existing techniques. Here we present a new approach for obtaining such images by magnetic resonance imaging (MRI) using an MRI contrast agent that can indicate reporter gene expression in living animals. We have prepared MRI contrast agents in which the access of water to the first coordination sphere of a chelated paramagnetic ion is blocked with a substrate that can be removed by enzymatic cleavage. Following cleavage, the paramagnetic ion can interact directly with water protons to increase the MR signal. Here, we report an agent where galactopyranose is the blocking group. This group renders the MRI contrast agent sensitive to expression of the commonly used marker gene, beta-galactosidase. To cellular resolution, regions of higher intensity in the MR image correlate with regions expressing marker enzyme. These results offer the promise of in vivo mapping of gene expression in transgenic animals and validate a general approach for constructing a family of MRI contrast agents that respond to biological activity.