The invention relates to a process for preparing pyridine compounds which have a fused cycloalkane ring containing an amide, thioamide or nitrile group. The process involves treating a metal derivative of the pyridine compound with a silyl isocyanate or isothiocyanate and then subjecting the product to hydrolysis or alcoholysis.