Bromination of 2-hydroxy-5-methoxybenzaldehyde (I) in acetic acid / sodium acetate mixture gives bromoaldehyde (II). Condensation to the benzofuranylpyridine (IV) is achieved by heating a solution of (II) and 4-(chloromethyl)pyridine hydrochloride (III) in polyethylene glycol-400 in the presence of potassium carbonate. Quaternization of (IV) with dimethylsulfate in dichloromethane affords (V), which upon reduction with sodium borohydride gives intermediate (VI). Reduction of (VI) with platinum on charcoal in methanol/HBr solution yields the N-methylpiperidine (VII). Degradation of the N-methyl group with ethylchloroformate in toluene affords the carbamate (VIII). Final treatment of (VIII) with potassium hydroxide in n-butanol yields the free base of brofaremine, which is converted to its hydrochloride salt by treatment with hydrochloric acid in methanol.