Medvedev met Wednesday with Moroccan Prime Minister Saadeddine El Othmani and presided at a signing ceremony for 11 bilateral agreements.
The agreements cover cooperation in areas such as customs, agriculture, the military and culture, as well as energy efficiency and the peaceful use of nuclear energy.
The disputed Western Sahara region that Morocco annexed in the mid-1970s also was a topic of the talks.
Medvedev is traveling with a large Russian government delegation and Russian business executives. Morocco's King Mohammed VI hosted a lunch in the prime minister's honor.
He arrived in Morocco after a visit to Algeria, where he discussed oil prices and energy cooperation.