A new atom-economical strategy to amide linkage from an azide and alcohol liberating hydrogen and nitrogen was developed with an in situ
generated ruthenium catalytic system. The reaction has broad substrate generality including diols for the synthesis of cyclic imides.