[NH:1]1[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[C:3]([C:10]([OH:12])=[O:11])=[CH:2]1.Br[CH2:14][CH2:15][CH2:16][CH2:17][CH2:18][CH2:19][CH2:20][CH2:21][CH3:22].C(=O)([O-])[O-].[K+].[K+]>CN(C)C=O>[NH:1]1[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[C:3]([C:10]([O:12][CH2:14][CH2:15][CH2:16][CH2:17][CH2:18][CH2:19][CH2:20][CH2:21][CH3:22])=[O:11])=[CH:2]1A mixture of indole-3-carboxylic acid, 1-bromononane and potassium carbonate in N,N-dimethylformamide was stirred at room temperature for 15 hours. After insoluble materials were filtered off, the filtrate was diluted with ethyl acetate, washed with water and brine, dried over magnesium sulfate and concentrated. The solid was collected and washed with hexane to give nonyl indole-3-carboxylate.