Magnetic resonance imaging (MRI) is often used by electrophysiologists to target specific brain regions for placement of microelectrodes. However, the effectiveness of this technique has been limited by few methods to quantify in three dimensions the relative locations of brain structures, recording chambers and microelectrode trajectories. Here we present such a method. After surgical implantation, recording chambers are fitted with a plastic cylinder that is filled with a high-contrast agent to aid in the segmentation of the cylinder from brain matter in an MRI volume. The resulting images of the filled cylinder correspond to a virtual cylinder that is projected along its long axisparallel to the trajectories of microelectrodes advanced through the recording chamber -through the three-dimensional image of the brain. This technique, which does not require a stereotaxic coordinate system, can be used to quantify the coverage of an implanted recording chamber relative to anatomical landmarks at any depth or orientation. We have used this technique in conjunction with Caret (Van Essen et al., 2001) and AFNI (Cox, 1996) brain mapping software to successfully localize several regions of macaque cortex, including the middle temporal area, the lateral intraparietal area and the frontal eye field, and one subcortical structure, the locus coeruleus, for electrophysiological recordings.