A general synthesis of C-4-substituted dihydropyridines is described. The route exploits a standard Hantzsch ester synthesis followed by nucleophilic substitution of a halide with, for example, triethylphosphite. The resulting compounds could have interesting biological properties or may find use as haptens for preparing catalytic antibodies for hydride transfer reactions.