Condensation of 5-fluoroindole (I) with 4-piperidone hydrate (II) under alkaline conditions leads to 5-fluoro-3-(1,2,3,6-tetrahydropyridin-4-yl)indole (III) (1,2). Subsequent alkylation of (III) with N-(4-bromobutyl)phthalimide (IV) furnishes the title compound (1-3).