It is the first time Spain has entered the knockout stage but they are likely to next face the current Women's World Cup title holder, the US.
Neither Spain nor China managed to gain the upper hand on Monday with their Women's World Cup group stage clash ending on a draw.
Despite the 0-0 score, both teams will advance into the knockout stages — a first for Spain for whom it is only the second participation at the World Cup.
China had few opportunities against a domineering Spanish side but their defensive game and the prowess of goalkeeper Peng Shimeng, who saved nine shots on target, ensured their entry into the final 16 for the fifth time in the team's history.
They are likely to meet the Group C winners — most probably Italy — while Spain could next face the current title holder, the US.