Malagarasi River, river in west Tanzania that rises near the north end of Lake Tanganyika. It flows about 250 miles (450 km) in a northeast, southeast, and west circular course through extensive swamps to exit through highland country back to the lake.