The calculated distance (air line) between Casablanca and Khenifra is approximately 121 miles respectively 195 kilometers.
By car or train, the actual journey to Khenifra is certainly longer, as only the direct route (as the crow flies) between Casablanca and Khenifra has been calculated here.
Air line (approximately)
195 kilometers
105 nautical miles