Morocco train and Morocco bus tickets can now be purchased online, although sometimes the purchase may not go through if you try to pay with your international bank card. The tickets will be sent to you via email from ONCF, or CTM. The tickets can be shown on your smartphone or printed. ONCF encourages all passengers to buy electronic tickets to comply with the new travel rules after the COVID-19 pandemic. The online ticketing process can be a bit confusing, as it is all in French, but if you have any questions, Marrakech tickets will take care of it for you.
Paper tickets can also be purchased in person at the ticket counters. The paper tickets are much easier to change or exchange if your plans change, as you can do this at the ticket counter and get a new paper ticket. Refunds must be applied online and may take several months. The tickets are usually available for purchase 30 to 90 days before your date of travel.