Again, if you are a frequent traveler, you would know what all essentials are required to travel smart but light when exploring a new city. If you are new to the whole packing stuff, here is a list of items that can help you get started with what to pack while heading to Morocco.
Backpack
Choose something light, rugged, and large enough to carry all your essentials. It would be best if you choose to go with something like a rucksack over a suitcase, considering the frequent intercity traveling you would have to do.
Clothes
Carry lightweight clothes which can be washed and dried easily. Keep a good amount of undergarments and socks as well. Make sure you carry all your toiletries/make-up essentials in a small pouch with you. Do not forget a pair of comfortable flip flops.
Medical Kit
Keep some ready-to-use antiseptic along with your allergy medications in a small kit bag for emergencies.
Miscellaneous
Make sure you carry items such as a pocket knife, ziplock bags, chargers, and extra key-lock combinations with you. Keep your camera in its case safely and make sure you have enough space for all the souvenirs that you might be bringing back.