1-(tert-Butoxycarbonyl)-3-(cyanomethylene)azetidine is used in the synthesis of baricitinib via Horner-Emmons reaction of tert-butyl-oxoazetidine-carboxylate followed by sulfonamidation, nucleophilic addition. and subsequent Suzuki-coupling reaction.