A nickel-catalyzed C–H cyanation reaction of arenes has been developed using 2-cyanoisothiazolidine 1,1-dioxide as an electrophilic cyanation reagent. Many different directing groups can be used in this cyanation to obtain a series of cyanation products with good yields. Adopting this strategy to introduce a cyano group, natural alkaloid menisporphine was successfully synthesized through cyano group