Photocatalytic synthesis of 2-amino-4,6-diarylpyrimidines was carried out by using nano TiO2. The method follows a green route by avoiding the use of toxic organic solvents and tedious experimental conditions. Compared with conventional methods the present strategy offers excellent yield under UV irradiation for a period of 20 min in ethanolic medium. Only a small quantity of nanocatalyst (1 mol%) is sufficient to achieve the completion of the reaction. The nanocatalyst can be reused up to four reaction cycles without much loss in the activity.