The introduction of trifluoromethyl (-CF3) groups into compounds is a common synthetic strategy in organic chemistry. Commonly used methods for introducing trifluoromethyl groups are limited by harsh reaction conditions, low regioselectivity, or the need for excess reagents. In this study, a facile electrochemical oxidative and radical cascade cyclization of N-(2-vinylphenyl)amides for the synthesis of CF3-containing benzoxazines and oxazolines was obtained. This sustainable protocol features inexpensive and durable electrodes, a wide range of substrates, diverse functional group compatibility under transition-metal-free, external-oxidant-free, and additive-free conditions, and can be applied in an open environment.