The prepared Zr-UiO-66/MWCNTs/AuNPs composites had a wide linear range, low detection limit, high sensitivity for tetracycline determination, and easy for regeneration. The electrooxidation mechanism of tetracycline involved the transfer of two protons and two electrons.