His dismissal comes two days before Spain’s first World Cup game against Euro 2016 winners Portugal on Friday.
On Tuesday, it had been announced that former goalkeeper Lopetegui would join the Champions League holders taking over from Zinedine Zidane who resigned at the end of May.
Lopetegui took charge of Spain in July 2016, leading the 2010 World Cup winners to nine wins and one draw in a qualifying group that included four-time winners Italy.
Developing story. More to follow…