In a small bowl, mix together the cumin, coriander, ginger, cinnamon, turmeric, paprika, allspice, nutmeg, cayenne pepper (if using), and black pepper.
Stir well until all the spices are thoroughly combined.
Transfer the spice blend to an airtight container, ensuring it is sealed tightly.
Store the container in a cool, dry place away from direct sunlight.
Your Homemade Moroccan Spice Blend is now ready to be used in your culinary creations!