A simple, mild, green and efficient method for the synthesis of 2-aminobenzamides was highly desired in organic synthesis. Herein, we developed an efficient, one-pot strategy for the synthesis of 2-aminobenzamides with high yields irradiated by UV light. 32 examples proceeded successfully by this photo-induced protocol. The yield reached up to 92%. The gram scale was also achieved easily. This building block could be applied in the preparation of quinazolinones derivatives. Amino acid derivatives could be employed smoothly at room temperature. Finally, a plausible mechanism was proposed.