Selective and efficient bromination and iodination of aromatic compounds by ammonium bromide and ammonium iodide, respectively, under promotion of trans3,5-dihydroperoxy-3,5-dimethyl-1,2-dioxolane have been explored. Mild reaction conditions, high selectivity and yield, and high reaction rate are some of the major advantages of this synthetic method.