The first example of heterogeneous photoredox-catalyzed fluoroalkylation of 4H-pyrido[1,2-a]pyrimidin-4-ones has been developed. With low-cost commercial g-C3N4 as the recyclable photocatalyst and cheap sodium fluoroalkyl sulfonates as the fluoroalkyl source, a variety of fluoroalkylated pyridopyrimidinones were constructed in moderate to high yields. The present reaction can be easily scaled up with good efficiency, and the heterogeneous catalytic system can be reused 5 times with a slight loss of catalytic activities. Furthermore, the biological activity of the synthesized compounds was preliminarily investigated.