We developed a novel technique in electron microscopy, "flash-and-freeze," that enables the visualization of membrane dynamics with ms temporal resolution. This technique combines the optogenetic stimulation of neurons with high-pressure freezing. Here, we demonstrate the procedures and describe the protocols in detail.