Probably the best way to get cash is by withdrawal. Once in Morocco, you can withdrawal the money or exchange USD at the airport. Out of the big cities it will be more difficult to find ATM’s.
Ask your bank about commissions for withdrawal money from ATM in Morocco. The commission you are charged to withdraw money from ATM is set by your bank, so please check with them before you leave. Your bank is the one who charges the fee for each credit card ATM, so if you take the maximum allowed each time you withdraw, then you will save on fees.
Also, ask your bank if there are banks that will accept easily your credit card and go directly to those ones.
Let you bank know you will be travelling to Morocco and intend to use your credit card, so they don’t block any payment. We have seen how US banks in prevention of fraud don’t allow some credit card payments and then the traveler must call their banks from Morocco.
Regarding how much cash you should take with you, we suggest having around 300USD per person in cash with you always. This will help you to have peace of mind, especially during the weekends when ATM’s can run out of money and they are not restocked until Monday. Also, try to have always change and small currency for the daily expenses: water, taxis, coffee, tea, small purchases at the souks, …
You will be able to pay by credit cards in upmarket shops and restaurants. Visa and MasterCard are generally accepted. Amex is not a popular card.
In every city there are ATM’s.