The practice of homosexuality is illegal in Tunisia as it is considered to be a threat to social order.