This study presents a novel method for the photocatalytic synthesis of 4-aryl-6-(3-coumarinyl) pyrimidin-2 (1H)-ones (a coumarin derivative) using strawberry dye-sensitized TiO2 (SD-TiO2) under visible light. The synthesis of 4-aryl-6-(3-coumarinyl) pyrimidin-2 (1H)-ones was achieved through a three-component, one-pot condensation reaction involving 3-acetyl coumarin, aldehydes, and urea, utilizing SD-TiO2 as a reusable and innovative photocatalyst at room temperature. The resulting SD-TiO2 photocatalyst was thoroughly characterized using FT-IR, XPS, XRD, SEM, and BET. The efficacy of SD-TiO2 was evaluated by comparing it to pristine TiO2 in terms of photocatalytic activity, and the optimal conditions for the synthesis process were determined. Notably, the SD-TiO2 photocatalyst exhibited a maximum yield of the compound, reaching up to 96% in just 30 min with a catalyst concentration of 1 mg/mL. This yield surpasses traditional thermal procedures employing reflux conditions, where 1 mg/mL of SD-TiO2 is sufficient to complete the reaction. The resulting 4-aryl-6-(3-coumarinyl) pyrimidin-2 (1H)-ones were further characterized using 1H-NMR and 13C-NMR. Moreover, the stability of the SD-TiO2 photocatalyst was confirmed through recyclability experiments and spectroscopic characterization, demonstrating its practicality for up to three consecutive reaction cycles.