Catalytic dehydrogenation of appropriate N,N,N/- trisubstituted hydrazines with 10 mol% palladiumblack, ruthenium black, or Wilkinson's catalyst, in hot DMF in the presence of Nmethylmaleimide occurs with high regioselectivity and leads to cycloadducts of the intermediate azomethine imines in moderate to good yield.