The intramolecular reactions of olefinic N-heterocycles have been studied. In triflic acid-promoted reactions, conjugate addition is observed with pyrazine-, 2-pyrimidine-, and 2-quinoxaline-based olefins and a phenyl group nucleophile. Markovnikov addition is observed with pyridine and 5-quinoxaline-based olefins. These results are in accordance with previous observations relating the type of addition-conjugate or Markovnikov-to the positions of olefinic substituents of the N-heterocycle.