Among those who wished Modi were Chinese President Xi Jinping, German Chancellor Angela Merkel, President Pranab Mukherjee, spiritual leader the Dalai Lama, Congress vice president Rahul Gandhi, chief ministers of various states, Bharatiya Janata Party president Amit Shah and union ministers.
Noting Modi's "hard work, dynamism and out-of-the-box thinking has received wide appreciation in the country and abroad", he complimented him on his "accomplishments" and wished him the very best for the coming years.
Modi was quick to respond, tweeting back his thanks for the "best wishes".
"Dear Rashtrapati ji, deeply humbled by your good wishes. Thank you very much. One learns so much from your wisdom & insight @RashtrapatiBhvn," he tweeted.
Rahul Gandhi too extended his wishes.
"Best wishes to Prime Minister Narendra Modiji on his birthday," Gandhi tweeted from his official Twitter handle.
Modi had wished Gandhi on his 45th birthday, and the Congress leader had thanked him for the greetings.
Amit Shah said he prayed for Modi's "long life and good health".
Micro blogging site Twitter also greeted Modi on his 65th birthday, with his official Twitter account shows colourful balloons rising through the page to mark his birthday.
The prime minister also received greetings from people on the social networking site, with people tweeted with the hashtag #HappyBdayPM, which was trending at the top in India.
Apart from many Bharatiya Janata Party (BJP) leaders who took to Twitter to wish Modi, Delhi Chief Minister Arvind Kejriwal also extended his wishes.
"Greetings to Prime Minister Sh Narendra Modi ji on his birthday. My prayers for his health and long life," Kejriwal tweeted.
Union Home minister Rajnath Singh tweeted: "Greetings to the Prime Minister Shri Narendra Modi on his birthday today. May God bless him with good health and long life."
"On behalf of whole of Gujarat and myself, I extend warm birthday greetings to our Prime Minister," tweeted Gujarat Chief Minister Anandiben Patel.
On Modi's birthday, the celebrations were carried by party leaders too.
East Delhi MP Maheish Girri extended support to the PM's cause of 'Swachh Bharat' with the recommencement of his drive to clean east Delhi.
Rajya Sabha MP Vijay Goel organized "Vikas ki Daud" from the BJP headquarters on Ashoka Road to the India Gate, with participation of over 100 NGOs and over 10,000 youth carrying placards of various schemes launched by Modi.
The Bharatiya Janata Yuva Morcha launched 'Panch Kranti Abhiyan' to mark the prime minister's birthday.