This work reports the first study on the detection of dobutamine (DBTM) using magnesium oxide microflowers–nafion composite. Owing to the large surface area and strong adsorption ability, the composite exhibits excellent electrocatalytic activity toward DBTM, revealing a linear range of 1.0–30 μM with a detection limit of 0.092 μM (3σ method).