The distance to Marrakech varies depending on your starting point. From Casablanca, it is approximately 240 kilometers (150 miles), typically a 2.5 to 3-hour drive or train journey. If traveling from the coastal city of Essaouira, Marrakech is about 175 kilometers (109 miles) away, taking around 2.5 hours by car. From Fes, Marrakech is roughly 530 kilometers (330 miles) distant, with travel times usually between 5 to 6 hours by car or train.