Same-sex sexual activity is proscribed by Cap. 87, Sections 155 through 157 of Zambia’s penal code.
Section 155 (“Unnatural Offences”) classifies homosexual sex (in the vague description “carnal knowledge of any person against the order of nature”) as a felony punishable by imprisonment for 14 years.
Section 156 imposes imprisonment for seven years for any “attempt to commit unnatural offences”. Finally, Section 157 applies to “any act of gross indecency” committed between males, “whether in public or in private”, and classifies such acts as felonies punishable by imprisonment for five years. The provision also extends to “attempts to procure the commission of any such act [of gross indecency]”.
Although Zambia’s penal code contains no explicit reference to consensual sex between females, Cap. 87, Section 155 legally covers lesbianism.
However, like all former British East and Southern African colonies, Zambia enacted its constitution in the 1990s, overriding much of the pre-1964 criminal code, and there are very broad protections against discrimination, with much of the language lifted from the UN Charter on Human Rights.  It can be argued that homosexuality is constitutionally protected under Article 23 of the 1996 Constitution:
Considering that any constitution overrides all other laws, it is relevant that few if any prosecutions for homosexuality have taken place, which would allow the criminal code laws to be tested and, if found to contravene the Constitution, be struck from the books.