The vast majority of African rivers flow to the coast and empty into the ocean (Mediterranean, Atlantic, Indian Ocean). However, a few are endorheic (closed basins):
The Nile and Congo are the continent's largest exorheic rivers, reaching the Mediterranean and Atlantic respectively.