Śrīharṣa composed the poem (kāvya) Naishadha Charita (IAST: Naiṣadhacarita) in 1174, during the reign of the Vijayachandra's son Jayachandra. According to Rājaśekhara's Prabandhakośa, upon the wide acceptance of Naishadha Charita, Śrīharṣa was dignified with the title Narabharati.
The Naishadha Charita was brought into Gujarat by Harihara during the reign of Vīradhavala to which Chandu Pandita in his Dipika, composed in 1296, refers to as a new poem and also to the commentary of Vidyādhara. Naishadha Charita was composed earlier than Khaṇḍanakhaṇḍakhādya in which text Sriharsha alludes to the works of Kalidasa.
Śrīharṣa spent his later life in ascetic serenity on the banks of River Ganga. He composed several other works, none of which are now available. These include Vijayaprasasti, Chindaprasasti, Gaudorvisakulaprasasti, Sahasankacarita, Arnavavarnana and Amarakhandana are now available. His Khaṇḍanakhaṇḍakhādya is a critique of the Śivabhaktisiddhi by Udayana, the Nyāya philosopher.
Śrīharṣa was also a philosopher; Khaṇḍanakhaṇḍakhādya or "Sugar-candy pieces of refutations," is a refutation of the doctrines of the Nyāya system of philosophy.