Lopetegui's main goal is to lead the country to success in the 2026 FIFA World Cup, which will be held in the United States and Mexico.
The 58-year-old Spaniard has previously managed Real Madrid and West Ham United in the English Premier League.
In his international experience, Lopetegui led the Spanish national team to the 2018 FIFA World Cup in Russia before leaving on the eve of the tournament to take on the Real Madrid job.