Decomposition of the azidoacrylates (6) derived from 2-substituted indole-3-carbaldehydes gives pharmacologically important p-carbolines [( 8), (1 l ) ] , azepino[4,5-6]indoles (1 3), or enamines (14) depending on the conditions. The formation of azepinoindoles, shown to proceed by cyclisation of the initially formed enamines, represents a new reaction of vinyl azides which is particularly favoured in the indole series.