Getting from Spain to Morocco is quite easy. Especially as there are many flights into Morocco. However, taking the ferry from Spain to Morocco might be a better, faster, and more enjoyable option.
There is also something more exciting and atmospheric about arriving in a new country by boat or train rather than a sterile airport environment. You are immersed in the country as soon as you arrive.
The British enclave in Spain no longer has a regular weekly schedule. Depending on the season, they can range from one ferry per week to one per month.
You can expect around 3 crossings daily across the various ferry companies. Ferries leave in the afternoon and evening, taking anywhere from 6 – 9 hrs, depending on the vessel, service, and weather.