The iPhone 5 works in Marocco in 3G, but it may or may not work in 4G/LTE. In Marocco they use bands 3 and 20. Band 3 is supported by the iPhone 5. I don't really know how carriers work in Marocco, but probably you will have to buy a SIM a pre-paid SIM card.