As per the current provision in Section 377 of the Indian Penal Code, gay sex is punishable by up to 10 years in jail.