In Morocco, sleeping in a campervan follows two distinct logics: that of organised sites, still rare, and that of free overnight stops, negotiated case by case. You'll learn to recognise, depending on where you're driving, which logic applies, and decide accordingly where to park the campervan for the night.
Organised campsites or wild camping: two practices, two logics
Forget the image of European campsites with their spotless shower blocks and standardised welcome. In Morocco, organised camping remains a limited service, concentrated near the big cities and along the tourist routes. When it exists, it often sticks to the essentials: a water point, sometimes an electrical hook-up, a guardian keeping watch at night. Nothing close, in density or equipment, to what you'd find in France or Germany.
This scarcity changes everything. In many regions, there's no real choice between a campsite and a free overnight stop — there simply isn't any structure nearby. Sleeping outside the usual framework becomes the norm, not the exception.
But this free overnight stop follows a different logic from organised camping. It doesn't depend on a national regulation you could simply learn by heart. It depends on local custom, on how residents view it, on the layout of the place — a village car park has nothing in common with a remote track in the Anti-Atlas or a beach popular with surfers near Agadir.
That's exactly what this article sets out to do: not a single rule to apply everywhere, but markers for reading each situation and deciding where to stop, case by case, depending on whether you're driving through a city, along the coast, in the desert or in the mountains.
What Moroccan regulation says (and doesn't say)
The first thing to know, and it settles a lot of questions: no national law explicitly governs vehicle camping in Morocco. Nothing like Norway's Allemannsretten, the right of access to nature that allows free camping under precise conditions. Nothing like the South African rules on secured stopovers either, the kind that we detailed for South Africa in a very different context, designed specifically for travellers in camper vehicles. Morocco hasn't built that kind of framework.
This legal void isn't a blank cheque, though. Three prohibitions are clear and apply everywhere, with no local exception.
Settling inside a national park or protected reserve is forbidden — Toubkal National Park is the best-known example for travellers heading up into the Atlas peaks. Camping on private property without the owner's agreement follows the same logic as anywhere else in the world: a field, a fenced plot, a garden isn't borrowed without asking. Finally, any presence near military sites is to be avoided, for security reasons that go well beyond a traveller's comfort.
Outside these three cases, the law says nothing more. No blanket ban, no explicit permission. This grey area isn't an administrative oversight to regret: it simply leaves room for something else, more alive and more local — custom. That's the terrain worth learning to read, and it's the subject of the next section.
What local custom tolerates, region by region
Custom, precisely, doesn't read the same way everywhere. Three distinct contexts emerge over the course of a trip, each calling for different instincts.
Cities and the tourist coast
In Agadir, Essaouira or Casablanca, urban density changes everything. Foot traffic is high, and so is the risk of theft — a campervan parked alone in a seafront car park catches the eye, and not always a friendly one. Wild camping is discouraged here. Better to look for a campsite, even a modest one, or a guarded car park: the presence of a guardian, even an informal one, changes everything for a peaceful night.
The desert south and its tracks
In the Draa and Dadès valleys, or around Merzouga, the logic almost entirely reverses. The practice is widely tolerated, and some residents, used to seeing rental vehicles pass through, welcome these stops without any trouble. This is where the size of the vehicle matters most: a narrower van with more ground clearance opens up tracks that a large coachbuilt motorhome simply can't tackle.
The Atlas mountains and rural areas
At altitude, wild camping remains possible but conditions get harsher: cold nights, isolated roads where a breakdown has to be dealt with alone, sometimes far from any help. A vehicle in good condition and well suited to the terrain makes all the difference here.
Which vehicle for this trip?
For southern tracks and mountain roads, a compact van with good ground clearance often proves more practical than a large coachbuilt motorhome: easier to manoeuvre on narrow passages, more comfortable on poorly levelled tracks.
Asking permission and reading local signals
In many villages, the question gets settled in a few minutes. You spot a decent spot — in front of a grocery shop, near a small business, away from the road — and you go and ask. The guardian if there is one, the shopkeeper if not, or anyone who seems to have a connection to the place. The approach sometimes surprises travellers used to the anonymity of European service areas, but it's part of the local social game: you give notice, you don't just impose yourself.
This request often comes with informal guardianship, for a few tens of dirhams a night. It's neither a tax nor a legal obligation — it's an arrangement between you and whoever will keep an eye, one way or another, on your vehicle. Accepting this principle simplifies the evening and builds a trust that proves more useful than an extra padlock.
Then there's the question of refusal. A clear no, or even visible hesitation, is to be respected without argument. It isn't a price to haggle upward or a misunderstanding to clear up: it's information. The refusal might come down to a reason you know nothing about — a family matter, recent local tension, a simple preference. Pushing turns a courtesy into an unnecessary conflict. Just say thank you and look elsewhere.
If the person hesitates for more than a few seconds or looks away while answering, treat it as a disguised refusal. Suggest another spot you've already scouted rather than pressing on the first one: it saves them from having to say no a second time, and leaves you with a backup already identified.
Safety and common sense for a night outside any structure
These local customs don't excuse you from a few simple habits, valid in whatever country you're driving a campervan through. There, as pretty much everywhere else, vigilance differs depending on whether you're in a rural or an urban area.
The first habit, and probably the most useful: arrive before dark. Driving by day lets you take your time scouting a spot, assessing the layout, exchanging a few words with a local if needed. Stopping in the dark, at random on an unfamiliar road, takes all those options away.
A spot visible from a house is worth more than an isolated corner, even if the latter looks quieter on paper. Human presence nearby, far from being a drawback, acts as a form of passive surveillance — it's often what deters more effectively than a lock.
Common sense also applies to what's visible from outside. Put away anything of value, close the shutters or curtains once night falls, avoid leaving bikes, portable solar panels or electronic equipment out on the outdoor table.
Finally, setting off early in the morning follows the same logic as arriving during the day: it limits the vehicle's exposure time and, more often than not, fits the very rhythm of the villages you pass through.
Frequently asked questions
Can you sleep anywhere in a campervan in Morocco?
No, not strictly. Three types of place remain off-limits everywhere: national parks and protected reserves, private property without the owner's agreement, and the surroundings of military installations. Outside these cases, no national rule settles the matter — everything plays out at the local level, depending on whether you're driving through a city, along the coast, in the desert or in the mountains.
Is wild camping banned in Morocco?
There's no law that explicitly bans it, nor one that allows it in general terms. This legal void leaves room for local custom, which varies a great deal from one region to another: discouraged in cities and on the tourist coast where the risk of theft is real, widely tolerated in the desert south, possible but more demanding in the mountains where cold and isolation weigh more heavily than the question of tolerance.
How do you know if a spot is tolerated?
The best indicator remains asking directly: a guardian, a shopkeeper, or anyone who seems to have a connection to the place. A refusal, even a hesitant one, is to be respected without discussion or negotiation. Arriving before dark also helps you read the layout of the place — proximity to a house is often a better sign than an apparently quiet, isolated corner.
Do you have to pay a guardian for the night?
It's neither a legal obligation nor an official tax, but a common informal arrangement, in the range of a few tens of dirhams. Accepting this principle often simplifies the evening and builds a trust that, in practice, proves more useful than an extra padlock on the vehicle.