Intraoperative ultrasound can aid the biopsy of deep intracranial lesions. It is, perhaps, less clear whether ultrasound could be useful in functional neurosurgery, where the target is not abnormal in echogenicity. As an example, we chose to investigate in a dog model the periventricular gray target, which is frequently the choice for the placement of electrodes to control intractable pain. Autopsies showed the placement of our electrodes with less than 1 mm of error in four of five brains and a 1.5-mm error in the fifth brain. The largest error was seen to occur on the video screen and was due to our failure to tighten the guide properly. The potential advantages of this technique over conventional stereotaxis include the avoidance of: ventricular catheterization, the injection of contrast agent into the ventricles, the necessity for a stereotactic frame, and multiple x-ray exposures. Also, with real time scanning the surgeon has instant visual confirmation of electrode placement and can observe quickly any significant hematoma formation.