A highly effective synthesis of haloalkylidene-substituted heterocycles by copper(II)-catalyzed cyclization of alkynyl ureas and secondary amides has been developed. The reaction, which involves a catalytic amount of CuCl2 and a stoichiometric amount of N-halosuccinimide, occurs selectively through an alkoxyhalogenation process. Alternatively, alkoxychlorination and alkoxybromination reactions can be performed working solely with stoichiometric CuCl2 and CuBr2, respectively.