Health
Since water sources outside main cities may be contaminated, it is advised to always drink bottled or sterilized water. Milk is not pasteurized, boil it before drinking. It is also advisable to eat meat and fish freshly cooked.
Main Moroccan cities provide good medical facilities. Emergency treatment in government hospitals is free provided for a small fee.
Safety
To protect safety in tourist centers, Morocco has set up a "tourist police" which has reduced the problem of false guides and hustlers. You should be aware though - they still exist. They will offer variety of services, that seem to be free, but will ask for the money after the service is rendered.
Women travelling in Morocco can experience some level of sexual harassment that often comes in form of unwanted attention, non-stop greetings etc. The best reaction is to ignore them.
Other potential problems to visitors are pickpocketing and petty theft.