Meanwhile, protests were held in Agadir, in the capital, Rabat, and in the commercial capital, Casablanca, where men and women together held up skirts as banners under the slogans "Wearing a dress isn't a crime" and "My dress, my freedom".
The two women have asked for anonymity and have been named in local media only as Sanaa and Siham.
Their lawyer said they were from small, conservative inland towns but had moved to Agadir to work in hairdressing salons.
No photographs have appeared to show exactly what kind of dresses they were wearing, but the apparel of some of the women who attended the protests in their support, wearing sleeveless dresses and knee-length skirts, may give some idea.
The police report said the dresses were "tight-fitting".
As with most Muslim countries, it is common but not universal or compulsory in Morocco for women to wear a headscarf. Unveiled women in traditional areas would normally cover their shoulders, arms and legs, but there is no requirement to do so.
There is considerably more latitude in Westernised and tourist areas.
In common with many other Arab countries, Morocco has become more conservative in recent years.