Vainyagupta was a lesser-known Gupta ruler whose reign is associated with the Gupta era 188, corresponding to 507 CE. The Nalanda clay seal gives him the title Maharajadhiraja, while the Gunaighar copper plate calls him Maharaja.
Knowledge of Vainyagupta comes from a fragmentary clay seal found at Nalanda, a copper plate inscription from Gunaighar, and coins attributed to his reign. The records do not identify his father or grandfather. Historian R. C. Majumdar proposed that he was the son of Purugupta.
Majumdar, D. C. Ganguli, and other historians have identified the Vainyagupta named in the Gunaighar plate with the Gupta ruler known from the Nalanda seal. The inscription records a land grant to a Buddhist monastery and describes its donor as devoted to Shiva; the Nalanda seal, by contrast, identifies Vainyagupta as a worshipper of Vishnu. The difference has left the identification open to question.