A new palladium-catalyzed cyclization of N-alkenyl-o-haloanilines with selective isomerization of a double bond followed by formal 5-endo-trig cyclization was developed. A variety of fused and 2-substitutedindoles were synthesized from enaminoesters prepared by condensation of β-ketoesters and o-iodoaniline.