Upvote:5
Afghan citizens need a visa to enter Guatemala.
Per Timatic, https://www.timaticweb2.com transiting Morocco without a visa is possible for:
Passengers transiting through Casablanca (CMN) with a confirmed onward ticket for a flight to a third country within 24 hours. They must stay in the international transit area of the airport and have documents required for the next destination.
Passengers with a confirmed onward ticket for a flight to a third country on the same calendar day. They must stay in the international transit area of the airport and have documents required for the next destination.
Transiting Spain without a visa is possible for:
Nationals of Afghanistan transiting through Barcelona (BCN) or Madrid (MAD) and arriving from a non-Schengen Member State with a confirmed onward ticket for a flight to a third country which is not a Schengen Member State.
They must: