Madagascar is known to have the longest coastline in Africa. In fact, it is the fourth largest island in the world! Madagascar is followed by Somalia and South Africa in terms of length of coastline.