A general metal-free oxidative cyclization route was developed to synthesize quinazolinones under visible light. A series of substituted 2-aminobenzamides were reacted with aldehydes or ketones to produce the desired quinazolinones in good yields. Most importantly, the reaction did not require excess oxidant or high temperatures.