The course of La Rambla was originally a sewage-filled stream-bed, usually dry but an important drain for the heavy rainwater flowing from the Collserola hills during spring and autumn. It separated the walled city on its north-east bank from the settlements of El Raval ("the suburb") on its south-west.
In the year 1377, construction started on an extension of the city walls to include La Rambla and El Raval. In 1440, the stream was diverted to run outside the new walls, and La Rambla gradually started turning into a street.
Over the next few centuries, La Rambla became established as a centre of Barcelona city life, a long wide thoroughfare used for festivals, markets, and sports. Several large religious establishments were also built along the street during this period. These include the Jesuit Bethlehem monastery and college (1553), of which just the later church remains; the Carmelite St. Joseph's monastery, on the site of the current Boqueria market; and a Capuchin monastery at the lower end of the street.
In 1703, the first of the trees lining La Rambla were planted.
Various conflicts over recent centuries took their toll on La Rambla's religious buildings, most notably the St. James's Night riots in 1835 when revolutionaries burned the monasteries and churches and massacred the monks and nuns; and the Spanish Civil War in 1936-39, when Barcelona came under the control of anarchists who again targeted religious buildings and personnel, as well as being damaged by artillery and air attacks on the area from pro-Franco forces.
Until 2010, the Rambla dels Estudis was the site of an open-air market for caged birds and other small pets. However animal protection laws made it difficult for the market to continue. After years of fighting the legislation, the market was forced to close down.