It flows in a northerly direction (the only major Portuguese river to do so) through 175 kilometers from its springs in the hills of Ourique before entering the Atlantic Ocean in an estuary in the city of Setúbal.