Aryl halides bearing heteroatom- or potential carbanion-containing functionality in the ortho position react regioselectively with 1,2-dienes in the presence of a palladium catalyst and a carbonate base to afford five- and six-membered ring hetero- and carbocycles in high yield.