The Google CEO talked about his life on campus and the event was titled 'A journey back to the past to inspire the future'.
The event streamed live by Google on YouTube was attended by 3,500 students.
Sundar Pichai in IIT: Walk down memory lane
Pichai talks about India's digital economy
Pichai said that in the coming years "India will be a global player in the digital economy".
He said start-ups in India were developing well and the market was maturing for huge start-ups in India in the next 5-10 years.
He said Google was concentrating on introducing a $30 entry level smartphone and was focused on getting the Internet in rural areas in India.
05 Jan 2017
Walk down the memory lane
Visiting the IIT campus after 23 years, Pichai said a lot had changed over the years. He said he had met his wife here and in those days he had no smartphone to contact her.
He said that though he worked hard, he also bunked classes.
On being asked his GPA, he said he was too embarrassed to share his score.
Love Tech news?
Stay updated with the latest happenings.
Pichai talks about his Google interview
Pichai who joined Google in 2004, said his interview fell on the April Fools' day.
Gmail had recently been launched and Pichai thought it was a prank.
He said that in the first 3 interviews he was asked about Gmail and he said he hadn't used it.
In his 4th interview he saw Gmail and in the 5th he told them what could improve.
05 Jan 2017
Education today and pressure on students
Pichai said education was important but getting into an IIT was not everything, good education was accessible in other colleges and universities of global repute too.
He said students should "focus on creativity and take more risks".
He said that many make it big despite not being from IIT, he said there was a lot of talent in India.
60 injured in crowd crush at an Australian music festival
Trump praises Putin for not retaliating on diplomats' expulsion