Afghan President Ashraf Ghani, family taken in by UAE
"The UAE Ministry of Foreign Affairs and International Cooperation can confirm that the UAE has welcomed President Ashraf Ghani and his family into the country on humanitarian grounds," it said in a brief statement.
Ghani fled Afghanistan on Sunday as the Taliban closed in on Kabul, before the insurgents walked into the Afghan capital unopposed.
In a Facebook post, Ghani said the "Taliban have won" and that he fled to avoid a "flood of bloodshed".
His whereabouts were unknown until Wednesday, with speculation that he had fled to Tajikistan, Uzbekistan or Oman.
This would not be the first time that the oil-rich Gulf country takes in former leaders and their relatives, now persona non grata in their own countries.
In 2017, the emirate of Dubai hosted former Thai prime minister Yingluck Shinawatra, who was sentenced in absentia to five years in prison.
Spain's king Juan Carlos went into self-exile in the UAE in August last year as questions mounted over the origins of his fortune, and the UAE was Pakistani opposition leader Benazir Bhutto's home during her eight years in exile before she was assassinated in her home country in 2007.
The UAE is one of three nations, including Saudi Arabia and Pakistan, which recognised the previous Taliban regime, which ruled from 1996 to 2001.