Sodomy is a felony per Section of the Kenyan Penal Code, punishable by 14 years' imprisonment, and any sexual practices between males termed " gross indecency " are a felony under section of the same statute, punishable by 5 years' imprisonment.
The state does not recognise any relationships between persons of the same sex; same-sex marriage is banned under the Kenyan Constitution. There are no explicit protections against discrimination on the basis of sexual orientation and gender identity. Adoption is prohibited to homosexual people. Transgender people have historically suffered discrimination, and there are no statutory provisions relating to transgender rights.
However, there have been series of court rulings in favour of transgender rights, such as the right to change the names appearing on legal documents.
It is currently unclear as to whether these rulings constitute substantive law on the issue of changing legal gender. Kenyan society is highly conservativeand a large majority of people hold negative views of LGBT people. Homosexuality is "largely considered to be taboo and repugnant to [the] cultural values and morality" of Kenya. According to the Pew Global Attitudes Project96 percent  of Kenyan residents believe that homosexuality is a way of life that society should not accept, which was the fifth-highest rate of non-acceptance in the 45 countries surveyed.
Among those who came out or were outed to their family members, 89 percent reported that they were disowned. Traditional religious and cultural values play a substantial role in this figures.
Leaders Kenyan penal code homosexuality in christianity the three dominate religions in Kenya, Catholic, Anglican and Islamic, condemn homosexuality and transgender identity as signs of decadence, disease, and immorality.
Council of Imams and Preachers of Kenya Organizing secretary Sheikh Mohammed Khalifa said, "We are asking Kenyans to shun businesses owned by such people and further show them open discrimination as a way of stopping the beastly act. They grossly abuse rights of others and should not be accepted among the society". A mob of people led by religious leaders and village elders on 23 February stormed a meeting of homosexuals at the Likoni CDF Youth Empowerment and Library Centre.
Likoni police boss Abagarro Guyo and district officer Moses Ouma then ordered the meeting closed. Sheikh Amir Zani of the Muzadhalfa mosque described the seminar as "illegal, ungodly and unacceptable". He threatened to "mobilise the community to cane the gays if they organised such a meeting again". But the Ministry of Youth and Sports district officer, David Ogal, defended the organisers of the seminar and accused residents of misunderstanding their aims. Here we are dealing with very vital education to vulnerable groups, including The gay community, like other groups, approached us and requested to be educated on safe sex.
They have a right to safe sex. By doing this, we are not promoting homosexuality but imparting knowledge. There Kenyan penal code homosexuality in christianity a lot of social discrimination and stigma about the issue and we as a society must fight it. LGBIs are discriminated, stigmatised and subjected to violence because of their sexual orientation.
In cases where they need medical care, they suffer stigma perpetuated by health care providers who breach their privacy and confidentiality by exposing their sexual orientation to other colleagues at the facilities.
The health care providers are not friendly and hardly understand their sexual and reproductive health needs. LGBIs face physical harassment by members of public who mock and assault them for practicing "unnatural" sexual relations. In cases of assault by mob justice, the police often fail to come to their rescue.