The below is a list of all jurisdictions in Africa as listed in List of sovereign states and dependent territories in Africa.Algeria, Botswana (Females), Cameroon, Ceuta (Spain), Canary Islands, Ghana, Guinea-Bissau, Mauritania, Melilla (Spain), Malawi, Mauritius, Mozambique, Namibia (Girls), Plazas de soberanía (Spain), Senegal, South Africa, Saint Helena, Ascension and Tristan da Cunha (United Kingdom), Swaziland, Togo, Zambia, Zimbabwe Benin, Burundi, Central African Republic, Côte d'Ivoire, Democratic Republic of the Congo (Males), Djibouti, Egypt, Equatorial Guinea, Eritrea, Ethiopia, Gabon, Gambia, Kenya, Liberia, Mali, Nigeria, Republic of the Congo, Rwanda, Seychelles, Sierra Leone, South Sudan, Somalia, Tanzania, Tunisia, Uganda The age of consent in Algeria is 16 for vaginal intercourse.(2) It shall be a sufficient defence to any charge in terms of this section if it appears to the court - a) that the girl at the time of the commission of the offence was a prostitute, that the person so charged was at the said time under the age of twenty-one (21) years and that it is the first occasion on which he is so charged; or b) that the person who charged was at the said time under the age of sixteen (16) years ; and c) that the girl or person in whose charge she was, deceived the person so charged into believing that she was over the age of sixteen (16) years at the said time.' According to the U. State Department, the Seychelles age of consent is "traditionally understood" to be 15 but that the country's statutes "fail to clearly define the ages of consent and legal majority"; according to the State Department this causes confusion in regards to the "traditionally understood" age of consent and the age of majority of 18 and therefore complicates enforcement of the law.Article 29 of the national constitution of Somalia defines a child as any individual under the age of 18, and stipulates that "every child has the right to be protected from mistreatment, neglect, abuse, or degradation." This information, however, does not prove that there is an actual age of consent, thus making it difficult to draw a line.Early childhood marriage is especially common in rural areas, where some girls are married as young as 7 years old.During the Gaddafi government, the regular age of consent was 18, but 16 years old women could be married as long the parents consented. After the 2011 revolution, the age of consent limit was removed.Droit francophone: Code Pénal du 17 juin 1972 mis à jour au 30 juin 1998 However, under section 306 of the Legal Code, any act that violates Islamic Morality is illegal, but a clear definition of morality does not exist in the country's laws, so it is very open to interpretation by local officials as to what is moral and what is not.
The Girls' and Mentally Defective Women's Protection Act, 1916, which replaced the differing age of consent laws of the four colonies that formed the Union of South Africa, criminalised sexual intercourse between a man and a girl under the age of sixteen unless they were married.It also renamed the Immorality Act to the Sexual Offences Act, 1957.The Interim Constitution, which came into force in 1994, prohibited discrimination on the basis of sexual orientation, as does the final Constitution which replaced in 1997."Heterosexual Sodomy" (anal and/or oral sex with an opposite-sex partner) is illegal, Article 388 of the Penal Code.As well as all same-sex sexual conduct, Article 338, and "outrages to public decency", Article 333.