The app shows you on a map where you can sleep, with each place’s rules and the route there. Free, no account needed.
In 30 seconds
- We have not found any national rule that bans sleeping inside a properly parked car. As far as traffic law is concerned, it is still parked.
- What can limit it is the town council: the Ley sobre Tráfico (Spain’s Traffic Act) lets it regulate parking and the uses of urban roads, and many by-laws ban camping.
- Article 92.4 of the Reglamento General de Circulación (Spain’s General Traffic Regulations), in force since 1 October 2026, only covers motorhomes and vehicles fitted out as living accommodation. Its three rules work just as well for a car: nothing outside the car, resting only on its wheels and emptying nothing.
- If you have been drinking, sleeping inside does not keep you safe: Spain’s Constitutional Court accepts that it can be inferred from circumstantial evidence that you drove there.
What the law says in Spain
The Ley sobre Tráfico (Real Decreto Legislativo 6/2015) does not mention sleeping or overnight stays among the bans on stopping and parking in its article 40. A properly parked car is parked, whether or not someone is inside.
The only specific national provision is the new article 92.4 of the Reglamento General de Circulación (Real Decreto 518/2026). It says how a motorhome or a vehicle fitted out as living accommodation parks: with nothing sticking out beyond its footprint, resting only on its tyres (with chocks if needed) and emptying no fluids. An ordinary car does not fit that definition, but those three rules are exactly what separates parking from camping.
What the town council decides
Article 7 of the Ley sobre Tráfico gives municipalities the power to regulate the uses of urban roads, and article 39 leaves parking to them. That is why what counts in each place is its by-law.
The Supreme Court (ruling of 13 March 2018, cited by the DGT, Spain’s traffic authority) upheld a by-law that bans camping outside authorised areas. Putting out chairs, a table or an awning next to the car is already camping.
By-laws vary a lot from one municipality to another. That is why it pays to check the place before you park: in VanLife every listing says what is known about its legal status and where that comes from.
If you have been drinking
Sleeping in the car is not driving, but being inside does not keep you safe. In ruling 1/2009, the Constitutional Court looked at the case of a man found asleep inside his car on the hard shoulder of a dual carriageway and accepted that it can be inferred from circumstantial evidence that he had driven there.
If you are going to drink, park the car first, where you are going to sleep, and do not move it until the next day.
And in Portugal
Lei 66/2021 regulates overnight stays in a "motorhome or similar": with occupants, between 22:00 and 7:00, and up to 48 hours in the same municipality if there is no municipal regulation. We have not found any general rule in Portugal about sleeping in a car.
The zones where overnight stays are banned (Rede Natura 2000, protected areas and the coastal plans) are explained in our Portugal guide.
Where to sleep without worries
At motorhome aires, check the sign: some accept any vehicle and others only motorhomes. At campsites, whatever their rules say.
VanLife has 4,905 places in Spain and Portugal, 1,755 of them free, plus petrol stations with today’s prices and showers. The app filters by your vehicle’s height, whether it is a car or an A-class motorhome.
Frequently asked questions
Is it legal to sleep in your car on the street?
No national rule bans it if the car is properly parked and you put nothing outside. The municipal by-law can limit it, so it depends on where you are.
Can I be fined for sleeping in my car?
Not under the national traffic rules. You can be fined for parking where it is banned, for camping where the by-law bans it or for whatever that municipality’s by-law says.
Can I sleep in my car if I have been drinking?
Sleeping is not driving, but the Constitutional Court accepts that it can be inferred from circumstantial evidence that you drove there. The safe option is to park before you drink and not move the car until the next day.
Is VanLife any use if I travel by car?
Yes. The map, the listings, the petrol stations with today’s prices, the showers and the plans work just the same. In your profile you choose Small van ("Berlingo, Caddy or a car") and enter its height.
Can you sleep in your car in Portugal, for example in Lisbon?
We have not found any general rule in Portugal about sleeping in a car. Lei 66/2021 regulates overnight stays in a motorhome or similar: from 22:00 to 7:00 and up to 48 hours in the same municipality if there is no municipal regulation, and it bans them in Natura 2000 sites and protected areas except at authorised places. In Lisbon, as in any municipality, its own regulation and the signs also apply.
Keep reading
- Sleeping in a motorhome or campervan in Spain and Portugal: what the law says
- Sleeping in a motorhome in Portugal: the rules and the fines
- Wild camping in a motorhome or van: what is banned and where to sleep for free
- Motorhomes and campervans in the Balearic Islands: the rules on each island
- Motorhomes and campervans in the Canary Islands: what the new decree says
- Where to empty your motorhome's grey and black water in Spain and Portugal
- Hiring a motorhome in Spain: driving licence, rules and where to sleep
- The best apps for sleeping in a van or motorhome in Spain
- Motorhome aires and places to sleep, by region
Sources
- Real Decreto 518/2026 (BOE no. 155, 26 June 2026): article 92.4 of the Reglamento General de Circulación
- Real Decreto Legislativo 6/2015, Ley sobre Tráfico: articles 7, 39 and 40
- DGT, press release of 16 March 2026 on the motorhome instruction, citing the Supreme Court ruling (STS) of 13 March 2018
- Ruling of the Tribunal Constitucional 1/2009 of 12 January (BOE no. 38, 13 February 2009)
- Lei n.º 66/2021 of 24 August: articles 48.º and 50.º-A of the Código da Estrada
We summarise published rules; this is not legal advice. The final word belongs to the municipal by-law and the signs at the site.
Every place, with its seal and where it comes from
In the VanLife app you see the map of every place, the legal seal of each one with the rule linked, its facilities and whether your vehicle fits. Free, and no account needed to browse.