The nature of the discussions between them were not known immediately.
Modi was attired in a saffron shirt and dhoti and greeted Rajinikant on the eve of Tamil new year. The Gujarat chief minister also posted a picture of him with the actor on Twitter.
The meeting assumes significance as Modi visited the actor in the run up to the April 24 Lok Sabha polls, where the JP is contesting in a six-party rainbow alliance. Though Rajinikant has not openly supported any party, the saffron party hopes the actor's fans would lean towards it and its allies, which is contesting all 39 seats in the state.
Modi is also addressing an election rally here, the first ever rally after the elections were announced.
Image: Narendra Modi with superstar Rajinikanth at the latter's residence in Chennai. Photo courtesy: Narendra Modi's Twitter feed.
Rabri declares assets of over Rs 6 cr including 65 cattle, gun
Will accept any role party gives after elections: Advani
'Whole world knows Rahul will be named PM if the Cong is in a position'
Rajinikant's Kochadaiiyaan postponed yet again
Modi is a liar, claims Cong leader Narayan Rane