N-Formylpiperidine is an organic compound with the formula C<sub>6</sub>H<sub>11</sub>NO. It is the amide of formic acid and piperidine. It can be used as a polar aprotic solvent, with better hydrocarbon solubility than other amide solvents such as dimethylformamide (DMF). It has also been used to transfer the formyl group to a Grignard reagent:
In some formylation reaction of alkyllithium compounds, N-formylpiperidine gives higher yields than the DMF.