Morocco will meet Senegal in a friendly match in Dakar on August 10, an official from the Royal Moroccan Football Federation (FRMF) told AFP on Friday.
The match will serve as an opportunity for the two teams to tune up for their 2012 Africa Cup of Nations qualifying matches in September.
Morocco are currently third in qualifying Group D, behind the Central African Republic and Tanzania but ahead of regional rivals Algeria.
All four teams have four points after a win, a draw and a loss each in their first three matches.
Senegal top Group E, five points clear of Congo DR and Cameroon, after winning all three of their first qualifiers.
Only the top-ranked team in each group is guaranteed a place at the 2012 tournament in Gabon and Equatorial Guinea.