A novel approach for the acylation of azauracil derivatives with aldehydes has been developed utilizing sodium decatungstate (NaDT) as a photocatalyst. This method demonstrates broad substrate tolerance and yields moderate to excellent outcomes. Notably, it aligns with green chemistry principles by eliminating oxidants, utilizing eco-friendly energy sources, and offering high scalability and operational simplicity.