Reported herein is a visible-light-driven intramolecular C-N cross-coupling reaction under mild reaction conditions (metal- and photocatalyst-free, at room temperature) via a long-lived photoactive photoisomer complex. This strategy was used to rapidly prepare the N-substituted polycyclic quinazolinone derivatives with a broad substrate scope (>50 examples) and further exploited to synthesize the natural