An implant for deep brain stimulation (DBS) has an array of electromagnetic microcoils dispersed over the length of the implant. The microcoils produce magnetic fields that are directed into, and induce current in, the adjacent brain tissue. The microcoils may be selectively operated to direct and focus electrical stimulation to targeted areas of the brain. The implant is useful in studying or treating neurophysiological conditions associated with the deep regions of the brain such as Parkinsons disease, drug addiction, and depression.