General anesthesia has been widely utilized since the 1840s, but its underlying neural circuits remain to be completely understood. Since both general anesthesia and sleep are reversible losses of consciousness, studies on the neural-circuit mechanisms affected by general anesthesia have mainly focused on the neural nuclei or the pathways known to regulate sleep. Three advanced technologies commonly used in neuroscience, in vivo calcium imaging, chemogenetics, and optogenetics, are used to record and modulate the activity of specific neurons or neural circuits in the brain areas of interest. Recently, they have successfully been used to study the neural nuclei and pathways of general anesthesia. This article reviews these three techniques and their applications in the brain nuclei or pathways affected by general anesthesia, to serve as a reference for further and more accurate exploration of other neural circuits under general anesthesia and to contribute to other research fields in the future.