It takes about 4 hours by bus from Fes and Meknes to Chefchaouen (and costs around 70 Dirhams). It took us just 6 hours to get from Chefchaouen to Casablanca (there's only one bus, leaving in the morning). Private bus companies run to most other destinations not covered by the CTM company, and most drivers and owners will be milling around the main bus station. Get to the bus station in the morning for most departures.

