The tradition of one person covering the bill (sometimes called 'l-karam,' or generosity) is deeply tied to Moroccan hospitality culture, and among close social circles it's normal for people to take turns treating over multiple outings rather than dividing a single bill. That said, this varies by generation and setting — younger urban Moroccans in Casablanca or Rabat, especially those who have studied or traveled abroad, are more comfortable splitting or using a rough per-person calculation. In tourist-oriented restaurants, splitting by request is completely understood and staff will accommodate it without issue.
Yes, most restaurants — particularly in cities and tourist areas — will split the bill if you ask, though this isn't something staff automatically offer. It's best to request it before ordering to keep things simple, especially in smaller or traditional establishments.
It can feel awkward in a traditional social context, where the host may feel it reflects poorly on their generosity. A softer approach is to let them pay this time and clearly signal you'll treat next time — that reciprocity is well understood and appreciated.
Cash is still the dominant way to settle up informally in Morocco, as peer-to-peer digital payment apps are not as widely embedded in daily social life as in some Western countries. Among younger Moroccans, bank transfers or apps like CIH Pay exist, but cash remains the most universal fallback.