Other devotees were barred from entering the temple premises during the president's visit.
Mukherjee who arrived in Odisha Friday on a two-day visit spent the night at the Raj Bhavan in Puri.
On Friday evening, he visited the beach and saw a sand sculpture created by internationally acclaimed sand artist Sudarsan Pattnaik.
The president is scheduled to attend the second convocation of the Indian Institute of Technology-Bhubaneswar Saturday.
He is also scheduled to attend the convocation of Bharatiya Vidya Bhavan's Centre for Communication and Management before returning to New Delhi later in the day.
This is Mukherjee's second visit to Odisha after becoming president. He had earlier visited the state in April.