The African swamphen (Porphyrio madagascariensis) is a species of swamphen occurring in Egypt, Sub-Saharan Africa and Madagascar. It used to be considered a subspecies of the purple swamphen, which it resembles, but with bronze green or green-blue back and scapulars.
The African Swamphen is a mainly sedentary species that can be found in sub-Saharan Africa, including southern Africa, where it is sometimes locally common. It is found in northern and eastern Botswana, part of Namibia, Zimbabwe, South Africa and the coast of Mozambique. In South Africa it is absent from the Northern Cape and the interior of the Eastern Cape.
The African swamphen has a preference for freshwater or brackish ponds, slow flowing rivers, especially those flanked by reeds (Phragmites) and sedges, marshes, swamps, it also occurs on seasonally flooded wetlands.