Objective To examine the altered spontaneous brain activity in patients with social anxiety disorders (SAD) before and after cognitive behavior therapy (CBT), and determine the neuromechanism of formation, treatment and recovery of SAD. Methods Fifteen SAD patients were treated with an eight-week group CBT. The patients underwent functional magnetic resonance imaging (fMRI) at resting state before and after the treatments. Eighteen healthy controls (HC) were recruited and underwent a baseline fMRI scan. The regional homogeneity (ReHo) of the patients was compared with the healthy controls. Before the baseline scanning, all participants were assessed with the Liebowitz Social Anxiety Scale(LSAS), the Hamilton Anxiety Rating Scale (HAMA) and the Hamilton Depression Rating Scale (HAMD). Results All participants were right-handed. 10 males and 4 females were in the patient group, with mean age of (27.07±8.11) years. 13 males and 5 females were in the HC group, with mean age of (26.28±2.42) years. There was no difference for gender and age while significant differences were found in LSAS,HAMA,HAMD between patients and controls (PPPPr=0.62, P=0.015). Conclusion The activity of cerebellum might be one of the potential biomakers to modulate the treatment effect of CBT in SAD, which provides a basis for further investigation into the pathophysiology of SAD.