To observe the activation state and neuronal types of somatosensory cortex and the primary motor cortex induced by electroacupuncture (EA) stimulation of "Sibai" (ST2) and "Quanliao" (SI18) acupoints in mice. Male C57BL/6J mice were randomly divided into blank control and EA groups, with 6 mice in each group. Rats of the EA group received EA stimulation (2 Hz, 0.6 mA) at ST2 and SI18 for 30 minutes. Samples were collected after EA intervention, and immunofluorescence staining was performed to quantify the expression of the c-Fos gene (proportion of c-Fos positive cells) in the somatosensory cortex and primary motor cortex. The co-labelled cells of calcium/calmodulin-dependent protein kinase Ⅱ (CaMKⅡ) and gamma-aminobutyric acid (GABA) in the somatosensory cortex and primary motor cortex were observed and counted by using microscope after immunofluorescence staining. Another 10 mice were used to detect the calcium activity of excitatory neurons in the somatosensory cortex and primary motor cortex by fiber photometry. In comparison with the blank control group, the number of c-Fos positive cells, and the proportion of c-Fos and CaMKⅡ co-labelled cells in both the somatosensory cortex and primary motor cortex were significantly increased after EA stimulation (P<0.05). No significant changes were found in the proportion of c-Fos and GABA co-labeled cells in both the somatosensory cortex and primary motor cortex after EA. Results of fiber optic calcium imaging technology showed that the spontaneous calcium activity of excitatory neurons in both somatosensory cortex and primary motor cortex were obviously increased during EA compared with that before EA (P<0.01), and strikingly reduced after cessation of EA compared with that during EA (P<0.05). Under physiological conditions, EA of ST2 and SI18 can effectively activate excitatory neurons in the somatosensory cortex and primary motor cortex.