Buy your SIM at the airport — all three operators have desks in arrivals at Mohammed V (Casablanca), Marrakech Menara, Agadir Al Massira and Fes Saïss. Activating it before you exit arrivals saves hunting for a shop once you’re in city traffic.
Registration is mandatory: you will hand over your passport and the shop will photograph it. The SIM itself costs 20–30 MAD (indicative, from around $2). Data bundles vary by operator and change frequently with promotions — at the time of writing, Inwi and Orange offer 5 GB for around 50–60 MAD and 20 GB packages for 100–120 MAD (indicative). IAM’s tourist bundles are slightly pricier but often include more roaming-friendly extras.
If your phone is eSIM-compatible, several international eSIM providers (Airalo, Holafly, others) sell Morocco data plans using local network agreements — usually Maroc Telecom. Convenience is high but prices per gigabyte tend to run 3–5× what you’d pay for a local physical SIM.
Pocket WiFi rental is available at airports and some riads, but coverage follows the same network constraints as a SIM — if the network has no signal, the pocket WiFi has no signal.