Is It Safe to Sleep in Your Car? What Brazilian Law Says
Sleeping in your car isn't illegal in Brazil. Learn what the traffic code says, the real carbon monoxide risk and how to spend the night in your car safely.

Every long road trip has that one night when the plan falls apart. The campground closed early, the next town is three hours away, and sleep showed up before either of them. Then comes the question almost every overlander has asked, parked in the dark: can I just sleep in here?
The doubt usually comes wrapped in three different fears, and it's worth pulling them apart, because only one of them actually kills people.
In short: sleeping inside your car is not a traffic violation in Brazil. What gets you fined is where you parked, not the fact that you're sleeping there. The real risk isn't the law or running out of air: it's carbon monoxide with the engine running. Engine off, windows cracked and a legal place to park solve almost the whole problem.
Is sleeping in your car a crime? No
There is no article in the Brazilian Traffic Code (CTB) that prohibits a person from sleeping inside a properly parked vehicle. It's not a crime and it's not a traffic violation. That settles the legal side of the question faster than the internet would have you believe.
What can get you fined is the location. Article 181 of the CTB lists the cases of illegal parking, and one of them hits travelers directly: item VII prohibits parking on the shoulder, except in cases of force majeure. It's a minor violation, with a R$ 88.38 fine, three points on your license and possible towing of the vehicle. In other words, the highway shoulder, which is exactly where most people pull over to take a nap, is precisely what the law doesn't want.
There's a second, more delicate point about alcohol. If the car is properly parked, being inside it after drinking doesn't automatically turn into driving under the influence. But if the car's position suggests it was driven in that state, the conversation shifts: articles 165 and 306 of the CTB carry a R$ 2,934.70 fine, suspension of your driving privileges and detention from six months to three years. To be honest, this is ground that gets decided case by case, based on the interpretation of whoever stops you, and not a rule that protects you.
The risk that killed four people
Over the 2023 to 2024 New Year, four young people died inside a parked car in Balneário Camboriú. The forensic report concluded carbon monoxide poisoning: three of them with saturation above 50%, one between 49% and 50%.
The mechanism matters more than the case. The car had a modified exhaust, with a downpipe installed and the catalytic converter and muffler replaced. A poorly done weld broke and the gas started leaking out from under the middle of the vehicle. The engine and the air conditioning were running, and the car was closed. The air conditioning pulled that gas into the cabin. At the leak point, the reading reached 1,000 ppm, a concentration high enough to kill in about two hours of exposure.
The honest part: that car was modified. A stock vehicle with an intact exhaust doesn't do this. But two things from the case apply to any car. The first is that the air conditioning draws in outside air from the front and underneath, which is exactly where an exhaust leak ends up. The second is that the cabin filter traps dust and pollen, not carbon monoxide. The gas has no color, smell or taste, and the first symptom is drowsiness. You don't wake up to escape it: you sleep more deeply.
The rule that comes out of this is short. Engine off. Always, and not "off after a while."
With the engine off, do you run out of air?
This is the most common search and the one with the least basis. A car is not an airtight box: it has drains, door seals that breathe and ventilation ducts that don't close completely.
We didn't find any study that measured air quality over a full night inside a closed passenger car with the engine off, so we're not going to make up a number here. What is documented about deaths in closed, parked cars has a different cause: heat. That's why children and animals die in parked cars, within minutes, and it has nothing to do with oxygen.
So the real order of risk with the engine off is this: heat in summer, cold in winter, and being found by the wrong person. Suffocation doesn't make the list.
What works in practice
Once you rule out the wrong fears, you're left with a very short list of what actually changes your night:
- Engine off, no exceptions. If you need air conditioning to sleep, the place is wrong, not the method.
- Windows cracked about two to three centimeters, at opposite corners of the car, to create airflow. A cut piece of mosquito screen takes care of the bugs.
- Level the car. Sleeping on a slope wakes you up in the middle of the night without you knowing why.
- Heat: think about where the sun will be at seven in the morning, not where it is at ten at night.
- Cold: a proper sleeping bag is cheaper, quieter and safer than any running engine.
- Alarm: many cars go off with movement inside. Test this in your garage at home, not on the first night of the trip.
- Interior organization matters more than it seems, because breaking down the bed every day wears you out more than the driving. It's worth checking out how to organize your car's interior for the trip before you leave.
Where you park matters more than how you sleep
All the precautions above are worth little if the spot is bad. Choosing the spot solves more than any interior setup, and it's a decision that involves foot traffic, lighting, an easy way out and permission from whoever is in charge there.
If the plan is a highway gas station, it's worth first understanding whether sleeping at a gas station is safe and how to choose one. If the plan is to stop out in nature, how to choose the right place to camp on the road covers the part that most often goes wrong: thinking any clearing will do.
Planning this before you hit the road is half the work. In GT Overlander you describe your trip in plain language and the AI builds the route with the stops and the context of each stretch, which helps you see where your nights will fall before they arrive.
Frequently asked questions
Can you get a ticket for sleeping in your car?
Not for sleeping. The CTB doesn't prohibit it. The fine comes from where the car is parked. The most common case on a trip is the shoulder, which is a minor violation of R$ 88.38 with three points, except in cases of force majeure.
Is it bad to sleep in your car with the air conditioning on?
It can kill you. With the engine running and the car parked, any exhaust failure can let carbon monoxide reach the air conditioning and get into the cabin. The gas has no smell and the first effect is sleepiness. Engine off is the only safe recommendation.
Is it dangerous to sleep in your car with the windows closed?
With the engine off, the problem isn't lack of air: the car isn't airtight. The problem is temperature, heat in summer and cold in winter. Leaving two windows cracked at opposite corners improves comfort and ventilation.
Is it safe to sleep in your car on a road trip?
It depends almost entirely on where. With the engine off and a well chosen spot, with people around, lighting and an easy way out, it's a common practice among people who travel by car. What makes the night go bad is improvising the spot when sleep has already set in.
Sleeping inside your car is one of the things that separate people who travel by car from people who just get around by car. The good news is that almost all the risk is concentrated in a single decision, the ignition key, and that's the easiest one to get right.
Tags

Escrito por
Rangel Machado
Empresário e viajante. Fundou o GT Overlander pra ser o app que ele mesmo queria ter na própria estrada, e desde então lidera produto e visão ouvindo de perto quem viaja.
Conheça mais sobre o Rangel →

