Smog is a visible haze caused mostly by vehicle exhaust reacting with sunlight

Smog forms when nitrogen oxides and volatile organic compounds from car engines mix with sunlight in the atmosphere. The sun's ultraviolet rays trigger a chemical reaction that creates ground-level ozone—the main ingredient in smog. This is different from the ozone layer high in the stratosphere; ground-level ozone is a pollutant that damages lungs and makes breathing harder, especially for children and people with asthma.

Your car contributes to smog through two main pathways. First, the combustion process itself releases nitrogen oxides directly from the tailpipe. Second, unburned fuel vapors escape during refueling and from the fuel tank and lines—these volatile organic compounds also feed the chemical reaction that creates ozone. A well-maintained engine with a functioning emissions control system produces far less of both.

Smog is worst on hot, still days when the sun is strongest and air doesn't move pollutants away. Cities in valleys or near coasts—Los Angeles, Denver, Phoenix, Houston—see it most often because geography traps the haze. But smog forms in any region where enough vehicles concentrate in one area, which is why even smaller cities can have unhealthy air days.

Key Takeaways

  • Smog forms when vehicle exhaust reacts with sunlight, and your car's emissions control system directly reduces how much pollution you contribute.
  • A failing catalytic converter, oxygen sensor, or fuel vapor canister allows more nitrogen oxides and unburned fuel to escape, making smog worse.
  • Emissions inspections catch these failures before they happen, which is why many states require them in areas with smog problems.
  • Keeping your engine tuned and your gas cap tight prevents fuel vapors from escaping and reduces the raw materials that form smog.
  • Smog damages lungs even at levels below what triggers official air quality warnings, so reducing emissions protects public health year-round.

How your car's emissions systems stop smog before it starts

Your engine produces nitrogen oxides as a byproduct of burning fuel. The catalytic converter uses heat and chemical reactions to break these molecules into harmless nitrogen and oxygen before they leave the tailpipe. If the converter clogs or its internal coating fails, nitrogen oxides pass straight into the air. A clogged converter also makes the engine run poorly and triggers the check engine light.

The oxygen sensor measures how much unburned fuel is in the exhaust and tells the engine computer to adjust the fuel mixture. When an oxygen sensor fails, the engine runs too rich (too much fuel) or too lean (too little fuel), both of which increase emissions. A bad oxygen sensor is one of the most common reasons for failing an emissions test.

The fuel vapor canister captures fuel vapors that would otherwise escape from the tank and fuel lines. These vapors are volatile organic compounds—the second main ingredient in smog formation. When the canister is saturated or its purge valve sticks, vapors leak into the atmosphere. You may notice a strong fuel smell near the car or see fuel smell in the garage.

The exhaust gas recirculation (EGR) system routes a small amount of exhaust back into the engine to cool combustion temperatures. Lower combustion temperatures mean fewer nitrogen oxides form in the first place. A stuck EGR valve or clogged EGR cooler reduces this effect and increases emissions.

Why emissions inspections target smog-forming pollutants

States and counties with documented smog problems require emissions inspections because they work. An inspection measures the actual pollutants coming from your tailpipe and checks whether your emissions systems are present and functional. The test looks specifically for nitrogen oxides and hydrocarbons—the two chemicals that create smog when they react with sunlight.

The inspection also verifies that you have not removed or disabled any emissions equipment. Some owners disconnect oxygen sensors or remove catalytic converters to improve engine performance or reduce repair costs. These modifications are illegal in all 50 states and directly increase smog formation. An inspection catches them before the car can be registered.

Areas that require inspections typically have them because air quality monitoring shows smog levels that exceed federal standards set by the Environmental Protection Agency (EPA). The EPA defines "nonattainment areas"—regions where ground-level ozone regularly exceeds safe levels. California, the Northeast Corridor, and parts of Texas, Arizona, and Colorado are the largest nonattainment areas. If you live in one, your state will require an inspection before registration.

Inspections are not about punishing drivers; they are about identifying which vehicles are contributing the most pollution so they can be repaired. A single vehicle with a failed catalytic converter can emit as much nitrogen oxide as dozens of well-maintained cars.

What happens to your engine when emissions systems fail

A failing emissions system does not just hurt air quality—it damages your engine and costs you money. When the oxygen sensor fails, the engine runs inefficiently, which burns more fuel and reduces fuel economy. You may notice the car feels sluggish or hesitates during acceleration. Over time, running too rich can foul spark plugs and damage the catalytic converter itself.

A clogged catalytic converter creates backpressure in the exhaust system, which forces exhaust gases back into the engine. This makes the engine run hot, reduces power, and can eventually cause the converter to crack internally. A cracked converter leaks exhaust into the engine bay and creates a serious fire risk. Replacing a converter costs between several hundred and over a thousand dollars depending on the vehicle.

A fuel leak from a failed vapor canister or fuel line is a safety hazard. Fuel vapors are flammable, and a leak near the engine or electrical system can ignite. Even a small leak creates a strong fuel smell that indicates something is wrong and needs repair.

The check engine light illuminates when any emissions system fails because the engine computer detects the problem. Ignoring the light does not make the problem go away—it usually gets worse and more expensive to fix. Addressing the issue early, when it is still a sensor or small component, costs far less than waiting until the catalytic converter fails.

Maintenance steps that reduce smog-forming emissions

Keep your engine tuned according to the manufacturer's schedule. A well-tuned engine with fresh spark plugs, clean fuel injectors, and the correct fuel mixture burns fuel more completely and produces fewer emissions. Spark plugs that are worn or the wrong heat range increase unburned fuel in the exhaust. Fuel injectors that are clogged spray fuel unevenly, which also increases emissions.

Replace your air filter on schedule. A clogged air filter restricts oxygen flow into the engine, which forces it to run rich and produce more emissions. A clean air filter is one of the cheapest ways to reduce pollution and improve fuel economy at the same time.

Check your gas cap every time you fill up. A loose or missing cap allows fuel vapors to escape directly into the atmosphere. A new gas cap costs a few dollars and prevents hundreds of dollars in emissions-related repairs. Many auto parts stores will test your cap for free.

Have your oxygen sensors tested if you notice rough idle, hesitation, or poor fuel economy. Oxygen sensors typically last 80,000 to 100,000 miles, but they can fail earlier. Replacing one before it causes other damage is much cheaper than replacing a catalytic converter.

Use the correct grade of fuel for your engine. Using lower-octane fuel than recommended can cause engine knock, which increases combustion temperature and nitrogen oxide production. Check your owner's manual for the correct grade.

The connection between smog and your health

Ground-level ozone damages the lining of your lungs and airways. Breathing ozone reduces lung function, causes inflammation, and makes it harder for your lungs to fight infection. Children are especially vulnerable because their lungs are still developing and they spend more time outdoors. People with asthma, emphysema, or chronic bronchitis face serious risk even on days when the air quality index does not trigger an official warning.

Smog damage is cumulative. You do not have to breathe dangerous levels on a single day to suffer harm; repeated exposure to moderate levels over weeks and months causes lasting damage. This is why reducing emissions year-round matters, not just on the worst air quality days.

Reducing vehicle emissions is one of the few pollution sources that individual drivers can control directly. Keeping your car maintained and passing your emissions inspection means you are not adding to the smog that harms your neighbors' lungs, especially children and elderly people with respiratory disease.

Frequently Asked Questions

What is the difference between smog and haze?

Haze is dust, pollen, or water droplets suspended in air. Smog is a chemical reaction between vehicle exhaust and sunlight that creates ozone and other pollutants. Smog is toxic; haze is not. Smog often looks brown or orange and has a sharp smell, while haze is usually gray or white and odorless.

Can I drive on a bad air quality day if my car passes inspection?

Yes, but you should limit driving if you have asthma or heart disease. An inspection verifies that your emissions systems work; it does not mean your car produces zero pollution. On days when the air quality index is high, reducing overall traffic helps everyone breathe easier. If you must drive, avoid rush hour when traffic is heaviest.

Do electric vehicles eliminate smog?

Electric vehicles produce zero tailpipe emissions, so they do not contribute nitrogen oxides or fuel vapors. However, smog still forms from other sources—power plants, refineries, industrial facilities, and non-vehicle sources. Widespread adoption of electric vehicles would significantly reduce smog, but it would not eliminate it entirely.

What does it mean if my car fails an emissions test?

A failure means one or more of your emissions systems is not working correctly. The test report will identify which pollutant is high—nitrogen oxides, hydrocarbons, or both—which narrows down which system to check. Common failures are oxygen sensors, catalytic converters, and fuel vapor canisters. A mechanic can diagnose the specific problem using the test results.

How often do I need an emissions inspection?

This varies by state and county. Most areas require inspection every one or two years, usually at registration renewal. Some states inspect every year; others every two years. A few states do not require inspections at all. Check your state's Department of Motor Vehicles website or your registration paperwork to find out your local requirement.