Flavonoids in Calligonum polygonoides Linnaeus extract were separated, detected, and identified by reverse‐phase high‐performance liquid chromatography (RP‐HPLC) with electrochemical detection (EC) in combined isocratic and gradient elution using a glassy carbon or a boron doped diamond electrode. Ultrasonication coupled with a microwave‐assisted technique was developed to optimize the extraction of the phenolic compounds. The total antioxidant capacity was quantified using the DPPH. method and voltammetry. The RP‐HPLC‐EC led to the detection of nine different flavonoids: catechin, delphinidin, fisetin, myricetin, epicatechin, kuromanin, rutin, callistephin and procyanidin A2, in a single run by direct injection of the sample extract solution.