The much publicised visit, the first by a BJP chief minister of the state, comes days after the party's leaders and ministers made provocative statements against the famed symbol of love.
In what is being seen as a damage control exercise following the controversy over its place in Indian heritage, Adityanath also said the government was committed to the conservation of the 17th century monument, built by Mughal emperor Shahjahan in memory of his wife Mumtaz.
He also posed for photographs with foreign tourists and interacted with them.
Chants of "Bharat Mata Ki Jai" and slogans in Adityanath's praise could be heard as he walked the path leading to the Taj Mahal, along with state Tourism Minister Rita Bahuguna Joshi.
Also Read
He entered from the western gate, where he cleaned the road, and exited from the eastern gate, going straight for a presentation by the Archaeological Survey of India.
Over 14,000 policemen were deployed across the city for the security of Adityanath, who arrived here early this morning.
His decision to visit the Taj Mahal was announced after a series of controversies, beginning with a UP tourism department booklet not mentioning the white marble monument in its list of development projects in the state.
Subsequently, BJP MLA Sangeet Som said history would be rewritten to erase the Taj Mahal from it and BJP MP Vinay Katiyar said it was originally a Shiva temple.
We should not delve deeper into the details of why, when and how the Taj Mahal was built. What is important is that it was built by the wealth and hard work of Indias farmers and labourers," he said at a rally.
The Taj Mahal is Indias gem and a gift to the world. It attracts lakhs of tourists. It gives Agra a recognition and creates employment opportunities, he added.
In a conversation with reporters later, he added that the Taj Mahal was an integral part of India's culture and the government was committed to its conservation.
Interestingly, while the chief minister was inside the Taj, his party's MLA from North Agra was telling reporters that the Mughals demolished a temple before building it.
Mughals first demolished the Shiva temple and then built the Taj Mahal. It is a fact, Jagan Prasad Garg told reporters at the complex.
Adityanath described Agra as a unique city housing five World Heritage sites -- Taj Mahal, Agra Fort, Fatehpur Sikri, Sikandra and I'timad-ud-Daulah's tomb -- which had enormous tourism opportunities.
The couple was strolling near the railway station in Fatehpur Sikri after a day in Agra on Sunday when they were attacked.
Adityanath's visit to the Taj gave opposition parties the ammunition they were looking for.
While CPI leader Atul Anjan described it as a "prayashchit yatra", Samajwadi Party leader Akhilesh Yadav, who visited the Taj about two years ago when he was chief minister, lost little time in mocking Adityanath and the BJP.
"I am waiting for him to get clicked on that seat," he said, referring to the bench in front of the Taj Mahal that has been a favoured picture spot for many a tourist.
His own visit two years ago was on Valentine's Day along with his wife and Kannauj MP Dimple Yadav.
Disclaimer: No Business Standard Journalist was involved in creation of this content