
Stop Your Car Windows from Fogging Up with Just Shaving Cream
- Lifestyle
- 21 Sep, 2026
There is almost nothing more annoying—and potentially dangerous—than hopping into your car on a cold, rainy morning, only to have the inside of your windshield instantly turn into an opaque wall of fog. You blast the defroster, rub the glass with your sleeve, and wait for what feels like an eternity just to be able to see the road safely.
Last winter, I was getting so tired of this daily battle. I was about to order an expensive, chemical-heavy anti-fog spray online when a mechanic friend told me I probably already had the perfect solution sitting in my bathroom cabinet: basic shaving cream.
I was extremely skeptical. Why would I rub thick, white soap all over my car windows? But I decided to test it out on the passenger side window first. To my absolute amazement, it worked perfectly. Here is the incredibly simple science behind this hack and exactly how to apply it.
Why Do Windows Fog Up?
Fog inside your car is just condensation. When the warm, moist air inside the cabin (from your breath or wet clothes) hits the cold glass of the windshield, the moisture rapidly cools down and turns into thousands of microscopic water droplets that stick to the surface.
The Magic of Shaving Cream
So, how does shaving cream stop this? Shaving cream contains many of the exact same active ingredients found in commercial defogging products, primarily glycerin and specific surfactants.
When you apply shaving cream to the glass and buff it off, it leaves behind an invisible, micro-thin protective layer. This barrier fundamentally changes the surface tension of the glass. Instead of the moisture condensing into tiny, light-scattering droplets (which we see as fog), the water is forced to spread out evenly into a completely transparent sheet.
How to Apply the Shaving Cream Hack
Applying the shaving cream is super easy, but you have to do it correctly to avoid a streaky mess.
- Start with Clean Glass: The most important step! Wipe down the inside of your windshield and windows with standard glass cleaner and a microfiber towel. If there is dust or grease on the glass, the shaving cream will just smear it around.
- Use Basic Foam: You want the cheap, classic foaming shaving cream. Do not use shaving gels or fancy lotions with aloe—they will leave a greasy residue that is incredibly hard to remove.
- Apply and Smear: Squirt a small amount of shaving cream onto a clean microfiber cloth. Wipe it generously all over the inside of the glass. The window will look completely white and cloudy—don't panic, this is normal.
- Let it Sit: Let the cream sit on the glass for just a minute or two to let the ingredients bond to the surface.
- Buff it Out: Take a fresh, completely dry microfiber cloth and start buffing the glass firmly. Keep rubbing in circular motions until the glass is 100% crystal clear and there are no streaks left. This takes a little elbow grease, but it is worth it.
I did this to my entire windshield over a month ago. Even on the coldest, wettest mornings, the glass stays perfectly transparent while the untreated back windows completely fog up.
This trick also works brilliantly on bathroom mirrors so they don't fog up after a hot shower, and it even works on the inside of motorcycle helmets or ski goggles. Grab a can of cheap foam and give it a try—you will never buy dedicated anti-fog spray again!



















































































































































































































