Photolysis of caged compounds allows the production of rapid and localized increases in the concentration of various physiologically active compounds. Here, we show how to obtain patch-clamp recordings combined with photolysis of caged cAMP or caged Ca for the study of olfactory transduction in dissociated mouse olfactory sensory neurons.