To travel to Morocco, you will need to present your passport. Additionally, in some cases and depending on your country of origin, you may need to obtain a visa.
You can check with the Embassy of the Kingdom of Morocco to see if a visa is required for your country of origin to enter Morocco.