We report a metal-free trifluoromethylthiolation and trifluoromethylselenolation of 1,4-dihydropyridines with S -(trifluoromethyl) 4-methylbenzenesulfonothioate and Se -(trifluoromethyl) 4-methylbenzenesulfonoselenoate under visible light irradiation. This transformation was tolerated with a wide range of functional groups and provided an alternative and green strategy for the synthesis of trifluoromethylthioesters and trifluoromethylselenoesters.