Naik, 80, was administered oath of office by Chief Justice of Allahabad High Court Justice Dhananjaya Y Chandrachud.
Chief Minister Akhilesh Yadav, several ministers, MLAs, senior bureaucrats and senior officers from police department were present on the occasion.
Veteran BJP leader Ram Naik succeeds BL Joshi, who resigned last month.
Joshi, perceived to be a close confidant of Gandhi family, was the first Governor who tendered his resignation on June 17 after the Narendra Modi government came to power.
A three-time Parliamentarian, Naik has the rare distinction of being the only minister who completed five years as Petroleum and Natural gas minister in one government.
Hit by cancer, Naik was bedridden in 1994 but fought back resolutely and overcame the deadly disease. He had announced in 2013 that he would not be contesting the 2014 elections.
Image: UP Governor Ram Naik with Uttar Pradesh Chief Minister Akhilesh Yadav Photograph: Sandeep Pal
Out with the old: The 4 new governors to take charge
Names of 5 new governors finalised, BJP veteran Ram Naik to get UP
Why Modi is silent on the Congress 'deals'
Will ensure smooth relations between Centre and state: New governor of Gujarat
Govt slaps $579 mn additional penalty on RIL