In recent years, the use of light emitting diodes (LEDs) has become commonplace in fluorescence microscopy. LEDs are economical and easy to couple to commercial microscopes, and they provide powerful and stable light that can be triggered by transistor-transistor logic pulses in the range of tens of microseconds or shorter. LEDs are usually installed on the epifluorescence port of the microscope to obtain whole-field illumination, which is ideal for fluorescence imaging. In contrast, photolysis or channelrhodopsin stimulation often requires localized illumination, typically achieved using lasers. Here we show that insertion of a long-pass () filter with an appropriately sized pinhole in the epifluorescence pathway, combined with dual UV/visible illumination, can produce efficient whole-field visible illumination and spot UV illumination of 15 to 20 μm. We tested our system by performing calcium imaging experiments combined with L-glutamate or -methyl-D-aspartic acid (NMDA) photorelease in hippocampal neurons from brain slices or dissociated cultures, demonstrating the ability to obtain local activation of NMDA receptors exclusively in the illuminated spot. The very inexpensive and simple system that we report here will allow many laboratories with limited budgets to run similar experiments in a variety of physiological applications.