Enrique resigned in June after 11 months in the job and announced the death in August of Xana, his nine-year-old daughter.
In the meantime the 49-year-old former Barcelona boss was replaced by his assistant, Robert Moreno who was in charge for Monday’s 5-0 win over Romania but left without speaking to the media amid speculation about his departure.
Moreno, who also worked under Enrique at Roma, Celta Vigo and Barcelona, had said after taking the job he would “step aside” if Enrique ever wanted to return.
However he is understood to have felt betrayed by the federation because, although he expected the return of his one-time mentor, he had thought this would be after the Euro finals.
At a news conference on Tuesday, Spanish Football Federation president Luis Rubiales said: “Everyone knew that if Luis Enrique wanted to come back he had the doors open. Luis Enrique will continue to the Qatar World Cup [in 2022].”
Enrique was appointed national team boss following Spain’s exit from the 2018 World Cup in the last 16.
He was in charge for the Nations League, where Spain failed to reach the semi-finals, and remained in place for the beginning of their Euro 2020 qualifying campaign.
The Spaniard travelled home for family reasons before Spain’s 2-0 victory in Malta in March and Moreno was placed in temporary charge. Enrique then stepped down three months later.
Enrique had reportedly made it clear to Rubiales that one of the conditions of his return was that Moreno would leave the national staff altogether and not revert his former role as assistant.