For over a century, electrical microstimulation has been the most direct method for causally linking brain function with behavior. Despite this long history, it is still unclear how the activity of neural populations is affected by stimulation. For example, there is still no consensus on where activated cells lie or on the extent to which neural processes such as passing axons near the electrode are also activated. Past studies of this question have proven difficult because microstimulation interferes with electrophysiological recordings, which in any case provide only coarse information about the location of activated cells. We used two-photon calcium imaging, an optical method, to circumvent these hurdles. We found that microstimulation sparsely activates neurons around the electrode, sometimes as far as millimeters away, even at low currents. Our results indicate that the pattern of activated neurons likely arises from the direct activation of axons in a volume tens of microns in diameter.