A new method for the preparation of α,β-unsaturated diazoketones from aldehydes and a Horner-Wadsworth-Emmons reagent is reported. The method was applied to the short synthesis of two substituted pyrrolidines.