We report the results of a study aimed at the diastereoselective synthesis of chiral 2-alkoxy-5-/6-methoxycarbonylmethylidenepyrrolidines/-piperidines by condensation of chiral amines onto omega-oxo alkynoates and omega-oxo beta-keto esters.