Cyanamides were selectively formed through a one-step nucleophilic substitution reaction of allylic tertiary amines with cyanogen bromide. Because of the mild reaction conditions and good yields of the reaction, as well as the commercial availability of the starting materials, this new method represents a valuable tool for the synthesis of cyanamides through an N-deallylation reaction and an N-cyanation reaction in one pot.