Ramalho was part of the Spanish under-19 squads which won the European Championship in 2011 and 2012. With the team already qualified for the knockout stages as group winners, he was fielded by coach Ginés Meléndez for the final group game in the former competition in Chiajna, scoring an own goal which opened a 3–0 victory for Turkey.