Gather all spices and lightly toast any whole spices in a dry pan for 1-2 minutes until fragrant. Take care not to burn them.
Add the toasted whole spices along with ground cinnamon and fennel powder to a mortar and pestle, spice grinder, or small blender. Grind into a fine powder.
Sift the powder through a fine mesh strainer to remove any large pieces and ensure a uniform powder.
Transfer your homemade 5 spice powder into an airtight container away from heat, light and moisture. Use within 6 months for optimal freshness and flavor.