text: Piperidine is produced by hydrogenation of pyridine with a nickel-, cobalt-, or ruthenium-based catalyst at elevated temperatures. The hydrogenation of pyridine to piperidine releases 193.8 kJ·mol, which is slightly less than the energy of the hydrogenation of benzene (205.3 kJ·mol).
  Partially hydrogenated derivatives are obtained under milder conditions. For example, reduction with lithium aluminium hydride yields a mixture of 1,4-dihydropyridine, 1,2-dihydropyridine, and 2,5-dihydropyridine. Selective synthesis of 1,4-dihydropyridine is achieved in the presence of organometallic complexes of magnesium and zinc, and (Δ3,4)-tetrahydropyridine is obtained by electrochemical reduction of pyridine. Birch reduction converts pyridine to dihydropyridines.