The distance between Merzouga and Fes is approximately 540 kilometers (about 336 miles) and it takes around 9 to 10 hours.