A series of five- and six-membered unsaturated hydrazides were efficiently prepared from precursor dienehydrazides through a ring-closing metathesis (RCM) reaction. The parent compounds were easily obtained by sequential acylation and alkylation of appropriate hydrazines.