Alonso will race a Prodrive-built Aston Martin Dreadnought at the 2027 Dakar Rally.
The event starts in Portugal on 9 January and ends in Morocco on 23 January.
Marc Coma, a five-time Dakar motorbike winner, will be Alonso's co-driver.
Sebastien Loeb and Lucas Moraes will drive the other Aston Martin cars.
Alonso finished 13th overall in his only previous Dakar appearance with Toyota in 2020.
Apex Sports News
Fernando Alonso will drive for Aston Martin in the 2027 Dakar Rally alongside Marc Coma, Sebastien Loeb and Lucas Moraes. The race runs from 9 to 23 January across Portugal and Morocco.