Agni, god of fire

LGBT themes in Hindu mythology involve Hindu deities or heroes whose attributes or behavior can be interpreted as lesbian, gay, bisexual or transgender (LGBT), or as having elements of gender variance and non-heterosexual sexuality. Traditional Hindu literary sources do not speak of homosexuality directly, but changes of sex, homoerotic encounters, and intersex or third gender characters are often found both in traditional religious narratives such as the Vedas, Mahabharata, Ramayana and Puranas as well as in regional folklore.

Hindu mythology has many examples of deities changing gender, manifesting as different genders at different times, or combining to form androgynous or hermaphroditic beings. Gods change sex or manifest as an avatar of the opposite sex in order to facilitate sexual congress. Non-divine beings also undergo sex-changes through the actions of the gods, as the result of curses or blessings, or as the natural outcome of reincarnation.

Hindu mythology contains numerous incidents where sexual interactions serve a non-sexual, sacred purpose; in some cases, these are same-sex interactions. Sometimes the gods condemn these interactions but at other times they occur with their blessing.