Electrochemical bromination and iodination of some pyrazoles were investigated under constant-current (CC) electrolysis in an undivided electrochemical cell. Anodic oxidation of KX salt produces X2 in-situ which can be consumed as an expedient electrophile in pyrazoles aromatic electrophilic substitution reactions or may participate in an X–N coupling reaction with electrochemically catalyzed pyrazolesox to form the halogenated pyrazoles. All reactions proceeded without the need to use any hazardous reagents or catalysts. The reaction conditions are mild and environmentally compatible.