Sleeping in a Rooftop Tent in Spain: What Does the Law Say?
Summary: Legal situation
| Rule | What it means | For you |
|---|---|---|
| Pernoctar (no overhang) | Sleeping in the tent without it overhanging the vehicle and without deploying anything outside (tables, awnings, chairs). Treated as the vehicle | Often allowed at rest areas or car parks where sleeping in the car is permitted |
| Acampar (camping) | Deploying items outside the vehicle or setting up extra structures (ground tent, awnings, etc.). Usually regulated or prohibited outside designated areas | Use only at campsites or authorised areas; free camping is prohibited in many autonomous communities |
| Municipal ordinances | Each town can regulate parking and overnight stays in vehicles (e.g. ban in urban areas or specific zones) | Check local rules where you plan to stay |
| Ley de Costas | Prohibits camping, parking or driving unauthorised vehicles on beaches | Do not overnight in a rooftop tent on the beach |
| Natural areas and parks | In national parks, reserves and protected areas, camping and sometimes overnight stays in vehicles are restricted or prohibited; permits may be required | Check each park or reserve before staying overnight |
Sleeping in a rooftop tent in Spain is possible if you understand the difference between pernoctar (overnight as a vehicle) and acampar (camping) and respect local rules. (In Belgium and France the rules differ; in Germany wild camping is generally prohibited.) This guide summarises what the law says and where to sleep legally.
What Spanish law says
In Spain there is no single law that expressly regulates overnight stays in a car or rooftop tent. The Ley de Seguridad Vial (Road Safety Act) and Reglamento General de Circulación do not prohibit sleeping in a parked vehicle. What matters is the distinction between pernoctar and acampar and regional and municipal rules.
Pernoctar vs acampar
-
Pernoctar: sleeping in the rooftop tent without it overhanging the vehicle (e.g. opening the tent upwards but not putting out tables, chairs, awnings or anything outside). In practice you are treated as a parked vehicle. In many places this is legal or tolerated at rest areas, car parks or wherever sleeping in the car is allowed, as long as the vehicle is correctly parked and you do not use public space outside the vehicle.
-
Acampar: deploying items outside (ground tent, awnings, furniture) or using public space beyond the vehicle. Free camping is prohibited in many autonomous communities (Reglamento de Campamentos de Turismo, Royal Decree 2545/1982). Outside campsites or designated areas, camping can lead to fines.
In short: if you stay as a "vehicle" (tent within the vehicle footprint, nothing set up outside), you have more flexibility; as soon as you set up outside or camp in the usual sense, you must be in an allowed area (campsite, designated camping area).
Rules to keep in mind
-
Municipal ordinances: each town can ban or limit overnight stays in vehicles in the urban area or in specific zones. It is essential to check local ordinances where you plan to spend the night.
-
Ley de Costas: prohibits camping and parking unauthorised vehicles on beaches. Overnighting in a rooftop tent on the beach is not allowed.
-
National parks, nature reserves and protected areas: camping and often overnight stays in vehicles are restricted or prohibited. Some parks require prior permission or a fee. Check each area before you go.
-
Reglamento de Campamentos de Turismo (RD 2545/1982): camping outside authorised campsites is considered free camping and is prohibited in many regions. To "camp" (with setup outside the vehicle) you must use campsites or designated areas.
Laws can change; when in doubt, ask the town hall or tourist office.
Where to sleep legally
Where to look
-
Rest areas and car parks: with the tent without overhang (not extending beyond the vehicle), at many rest areas or car parks where sleeping in the car is allowed, overnight stays may be legal. Check signs and local rules.
-
Campsites: the safest option if you want to use awnings, chairs or use the tent as a full camp. Use authorised campsites and designated camping areas.
-
Apps and communities: Park4Night, Campercontact, iOverlander: other travellers' reviews help find quiet, respectful spots. To compare and choose apps, see our road-trip apps article.
-
Private property: with the owner's consent (gardens, land) or via platforms such as Welcome to My Garden.
What to avoid
- Beaches (Ley de Costas).
- Private property without permission.
- National parks and reserves where overnight stays or camping are prohibited, unless you have a permit.
- Urban areas or zones where ordinances prohibit overnight stays in vehicles.
Good habits on the spot
- Leave no trace: no litter, no unauthorised fires. Take everything with you.
- No fire outside designated areas (risk and often forbidden).
- Respect the place: keep noise down, do not disturb residents or wildlife.
One night then move on; stay discreet and responsible.
Summary
In Spain sleeping in a rooftop tent can be legal if you respect the pernoctar (vehicle, tent without overhang) vs acampar (deploying outside) distinction. The Road Safety Act does not prohibit sleeping in a parked vehicle; municipal ordinances, the Ley de Costas (beaches) and natural park and Campamentos regulations limit where and how you can stay overnight or camp. Check local rules, use rest areas or campsites when appropriate, and when in doubt: town hall or tourist office.
Vind daktenten in de buurt
Huur van lokale eigenaren en probeer het uit voordat je koopt.