The synthesis of the marinealkaloid sebastianine A and of a regioisomer has been accomplished via hetero-Diels–Alder reaction of indole-4,7-dione or N-tosylindole-4,7-dione with trifluoroacetamidocinnamaldehyde dimethylhydrazone, and subsequent cyclisation in alkaline conditions.