Indira Gandhi served as Prime Minister for a cumulative total of about 15 years across multiple terms (1966-1977 and 1980-1984), making her the longest-serving. I.K. Gujral, V.P. Singh, and Morarji Desai had much shorter tenures (less than 3 years each).