The river has its origins high up in the Andes of Peru and Ecuador. Most of this drainage basin (54%) is in Brazil, including the lower part. The river also has tributaries from Colombia, Venezuela and