Ramallets signed for FC Barcelona in 1946 at the age of 23, from Real Valladolid, where he also spent his first season after being purchased, on loan. He returned to the club to play second-fiddle to Juan Velasco, making his La Liga debut in a 2–1 win against Sevilla FC, on 28 November 1948. Although this was his only appearance during the season, he eventually became the starter, being an essential defensive unit as his team - then named Club de Fútbol Barcelona - went on to win six leagues and five domestic cups; in the 1951–52 campaign, as Barça won five major trophies, he contributed with 28 league games, being awarded his first Ricardo Zamora Trophy.