By train
Direct ONCF trains run several times a day between Marrakech and Fes, taking around 7 hours via Casablanca, Rabat and Meknes. First class is comfortable for the long journey.
By road through the Middle Atlas
Driving takes about 8 hours via Beni Mellal and the Middle Atlas. The road passes Ifrane, a town of Alpine-style chalets, and cedar forests near Azrou where Barbary macaques live.
Via the Sahara
Many visitors combine the journey with the desert: a 3-day tour from Marrakech over the High Atlas to Merzouga, ending in Fes. See Marrakech to Merzouga.