He will first go to Varanasi where he will take part in a programme of ministry of social welfare and justice, IG law and order A.Satish Ganesh said.
Modi will reach Lucknow in the afternoon to address the convocation, the IG said.
Later, he will attend a programme organised by the Micro Credit Society at the Colvin College ground and pay homage at the "Ambedkar kalash" in the Ambedkar Mahasabha campus before leaving for New Delhi.
The IG said elaborate security arrangements are being made for these visits.