A new procedure for the synthesis of hydroxytyrosol and dopamine derivatives by homogeneous and heterogeneous 2-iodoxybenzoic acid (IBX).