The cyanation reaction of methylheteroarenes with acetyl chloride and sodium nitrite via the radical process in high yields is reported. According to the control experiments, the reaction mechanism underwent radical progress. It is very useful in the pharmacy industry due to its metal-free and easy treatment conditions.