Janaka Gita is a philosophical composition in the form of verse. It is credited to King Janaka. The text consists of 65 verses and is part of the Upashanti Prakarana of Yoga Vasishta.
Legend has it that the text consists of the thoughts that passed through the mind of the philosopher king Janaka on hear the Siddha Gita sun by certain Siddhas outside his palace. Siddhas are people who had attained perfection of self-realization.
The text explores the futility of running after pleasure.