It begins on the east flank of the Owyhee Mountains in Idaho and flows generally southwest to meet the main stem at Three Forks, Oregon, 161 miles above the confluence of the larger river with the Snake River.