Use your inter-rail ticket for Morocco
Inter rail tickets are the easy way for you to travel in to Morocco. You can either take the zone F pass which is valid for unlimited travel in Spain, Portugal and Morocco for 16 days. Or splash out on the Global pass and get one months unlimited travel in all zones - 28 countries.
The InterRail Youth Pass is available to those who are under 26 years of age. The InterRail Adult Pass is for those aged 26 years or over.
To qualify for an InterRail Pass, you must be normally resident in one of the participating European countries. If you are looking for a train from Europe to Morocco and then to travel a bit in Morocco the easy way is to buy an inter-rail ticket