Do I need a SIM card or eSIM?
Three carriers: Maroc Telecom (best rural coverage), Inwi (cheapest), Orange Maroc (good urban). All three have kiosks in the arrivals hall at Marrakech, Casablanca, Fes, Tangier, and Agadir airports. You'll need your passport — SIMs are registered. 50 MAD typically gets you 10 GB of data valid for a week, plus a Moroccan number for WhatsApp calls to your riad.
eSIM works too — Airalo, Holafly, and Saily all sell Morocco data plans. Convenient if your phone supports eSIM, but pricier per gigabyte than a physical SIM, and you don't get a Moroccan number, which matters when a taxi driver asks how to find you.
Coverage drops in the High Atlas and disappears in the deep Sahara. Inwi and Maroc Telecom hold signal further into the mountains than Orange. Download offline maps before you leave the city.