The immigrants were on board several makeshift inflatable boats which ran into trouble in the Mediterranean Sea, the army noted.
They were brought safely to the ports of the northern cities of Nador and Ksar-Sghir.
According to the Moroccan Ministry of Interior, 88,761 immigrants were prevented from leaving Morocco in 2018.
More about: #Morocco