rTMS significantly alleviated depression‐like behaviors, restoring both normal neuronal excitability and BK channel activity. Additionally, it reversed the reduced expression of the scaffold protein Homer1a in the cingulate cortex. This evidence concerns the gene KCNMA1 and depressive symptom measurement.