The short answer to why hydraulic oil foams: air gets into the oil, or the oil loses its ability to release air. Foam is a mixture of air and oil in which the air bubbles inside the oil rise to the surface and pile up instead of bursting. The air usually comes from a leak on the suction side of the pump or from a return line that ends above the oil level. Water, foreign oil or a depleted antifoam additive then make the foam persistent.
Seeing foam in the tank sight glass is not an alarm on its own; foam is a symptom. In this article we explain the five causes of foam, how we tell whether white, cloudy oil comes from air or water, the air leak test and how the oil is cleaned.
Key Takeaways
- Hydraulic oil usually foams because the suction line draws in air, the return oil pours into the tank from above, or the oil is contaminated with water and foreign oil.
- According to Noria's summary, 10% entrained air by volume raises viscosity by about 15% in many oils; a mixture with more than 30% air is called foam.
- According to the same summary, just 1,000 ppm of water is enough to create persistent foam in many oils.
- Whiteness that disappears in a settled sample points to air; a milky look that stays points to water.
- Adding antifoam additive to the tank does not remove the cause; first find where the air or water is getting in.
Are foam, entrained air and white oil the same thing?
No, but they are linked. Entrained air (very small bubbles dispersed in the oil) makes the oil look cloudy and whitish. When these bubbles rise to the surface and do not burst, a foam layer forms on top of the tank.
According to the comparison of air, cavitation and foam written in STLE's magazine TLT by Dan Holdmeyer, a retired lubrication specialist from Chevron, the real damage comes not from the foam but from the small bubbles going to the pump. The same article says hydraulic oil carries between 6% and 12% invisible dissolved air by volume, depending on temperature and pressure. When pressure drops, this air comes out of solution and turns back into bubbles.
Pure mineral oil does not foam by itself. The ten points on air contamination compiled by Jim Fitch of Noria state that foam is created by additives and foreign substances. That is why we ask two questions at a foaming tank: where is the air getting in, and why can the oil not release it?
Why does hydraulic oil foam? 5 causes we see in the field
The five causes below can appear alone or together. They are listed from the easiest to check in the field to the one that needs a lab.
1. Air entering on the suction side
This is the most common cause. A loose fitting on the pump suction line, a cracked suction hose or a worn pump shaft seal draws in air. Because the suction side runs below atmospheric pressure, no oil leaks out here; the leak is invisible, but air gets in.
The same thing happens when the oil level drops too low. According to the STLE article, if the level falls far enough a vortex forms just above the pump inlet and the pump swallows air along with the oil. In a newly installed system or one with a newly replaced hose, air pockets left inside mix into the oil during operation. In that case the system must be bled in the right order; we cover the details in our article on bleeding air.
2. Return line above the oil level
If the return pipe does not dip into the oil in the tank, the returning oil falls onto the surface like a waterfall and whips air into the oil. A design that is fine at normal level can turn into this when the level drops. A small tank makes the problem worse: when oil stays in the tank only briefly, it has no time to release air.
The Noria summary also notes that deep, narrow tanks foam more easily than wide, shallow ones. If the tank is to be redesigned, the position of the return outlet and the distance between suction and return are the first points to look at.
3. Water mixing into the oil
Water lowers the surface tension between oil and air; the bubbles get smaller and the foam becomes persistent. According to the Noria summary, just 1,000 ppm of water is enough to create persistent foam in many oils. The STLE article also states that water or dirt can separate the antifoam additive from the oil.
Water usually enters through the tank breather, worn shaft seals, covers exposed to rain, a leaking water-cooled heat exchanger or wash water. Condensation in a tank that cools overnight is also a small but constant source.
4. Mixing with the wrong oil and contamination
According to the STLE article, adding an oil with detergent or dispersant additives, such as engine oil, to the tank is a common cause of increased foam. Topping up with whatever is at hand comes back a few days later as a foaming tank.
Solid particles, grease and soap residues also disturb the surface tension of the oil. According to Noria's short guide on the root cause of foam, rising water content or particle count is the most common primary cause of foam.
5. Depleted or overdosed antifoam additive
Quality hydraulic oil comes from the factory with an antifoam additive. Over time this additive is used up or separates from the oil together with contamination. According to Noria, too much additive can increase foam as much as too little, because the additive is present in the oil formula in a specific balance.
That is why adding antifoam to the tank afterward is a risky shortcut. The STLE article states that adding additives to oil in service is difficult and that the wrong dose can make foam worse.
Symptom, likely cause and first check table
| Symptom you see | Likely cause | First check | Lasting fix |
|---|---|---|---|
| Foam that grows when the pump runs, irregular pump noise | Air entering on the suction side | Suction fittings, suction hose, pump shaft seal | Tightening fittings, replacing hose and seal |
| Foam that grows at low level, churning at the return outlet | Return line above the oil, low level | Level when cold and hot, position of the return pipe | Topping up, extending the return pipe below the oil |
| Milky oil that does not clear when settled, water at the tank bottom | Water ingress | Breather, covers, heat exchanger, washing habits | Closing the water entry point, separating the water |
| Persistent foam that starts after topping up | Mixing with a different oil | Type and grade of the last oil added | Flushing the system, filling with the right oil |
| Foam that continues with no mechanical problem | Depleted additive, aged oil | Comparative analysis against a new oil sample | Oil and filter change |
The table gives only the first check. When symptoms overlap, we separate the root cause using the measurement order in our hydraulic fault diagnosis article.
Why does hydraulic oil turn white: air or water?
White or milky, cloudy oil has two causes: fine air dispersed in the oil, or more water than the oil can carry. The STLE article specifically stresses that entrained air looks cloudy in a sample and is often mistaken for water. The simplest way to tell them apart is to let the sample stand in a clean glass container without shaking it.
When the sample stands, the air rises to the surface and escapes, and the oil clears. Water keeps the cloudiness or collects as a separate layer at the bottom of the container. A similar separation happens in a hydraulic tank: air rises to the surface and free water settles to the tank bottom.
| What you see in the sample | After standing | Likely source | Next step |
|---|---|---|---|
| Whitish oil with fine bubbles | Clears over time | Entrained air | Check suction side and return line |
| Milky, creamy oil | Stays cloudy | Water and oil emulsion | Lab water determination |
| Separate liquid layer at the bottom | Layer becomes clearer | Free water | Draining water from the tank bottom, finding the entry point |
| Persistent foam with fine bubbles on top | Does not break up for a long time | Contaminated or additive-depleted oil | Foam and air release tests |
There is one more important detail about water. According to the water contamination article by Pall Corporation specialists, lightly additized, highly refined mineral oils can hold only about 100 ppm of water in dissolved form at 21 °C. Oil that looks clear at operating temperature releases water when the machine cools overnight; this is often why the oil looks cloudy at first glance in the morning.
Why does hydraulic oil go down, and how is it linked to foam?
In a foaming tank, oil is lost in two ways. The first is foam overflowing from the breather cap or filler neck. The STLE article also notes that foam overflowing from the tank makes the floor slippery and creates a safety risk.
The second is a misleading sight glass. When there is foam, the level looks higher than it is; when the foam collapses, the real level shows and the oil seems to have gone down. According to Noria, if the foam does not return to normal or causes a drop in oil level, the problem is growing.
If there is no foam and the level drops steadily, the cause is most likely an external leak. In that case hoses, fittings and cylinder seals need to be checked. If foam and oil loss appear together, a worn seal on the suction side may be both drawing in air and leaking oil out.
How is an air leak test done?
To find the point where air enters on the suction side, a simple field test works before any measurement. The test is done only on the suction side of the pump, that is, on the low-pressure line. Keep your hands away from pressurized lines, rotating couplings and hot surfaces.
- Run the machine at idle and listen for irregular noise from the pump.
- Pour a little of the system oil onto the suspected suction fitting, hose connection or pump shaft seal.
- If the noise drops at that moment, air is entering at that point; the oil has taken the place of the bubbles and briefly sealed the leak.
If there is more than one leak, the change in noise may not be noticeable. In that case the STLE article recommends covering the suspected points with foaming shaving cream: a dimple forms in the cream where air is entering. Do not stop after finding the first leak; it is common for several points to contribute to foam together.
If the field test does not find the leak, we connect a vacuum gauge to the suction line and measure the pressure at the pump inlet. A clogged suction strainer or a crushed suction pipe also increases foam by pulling dissolved air out of the oil.
How is hydraulic oil checked?
For a foam complaint, the oil check takes four steps: level, appearance, standing and shaking. The first three take a few minutes in the field; the last one helps you decide whether to send the oil to a lab.
- Level: Read the sight glass with the machine on level ground and the cylinders in the position given in the manual. Repeat the reading after the foam collapses.
- Appearance: Take a sample from the tank into a clean glass container; look at the color, cloudiness and any water layer at the bottom.
- Standing: Let the sample stand without shaking. If it clears, the problem is air; if it stays cloudy, suspicion of water grows.
- Shaking: As the STLE article suggests, shake the sample well. If the foam breaks up quickly, the oil's foam resistance is fine; if the foam stays for a long time, the oil is most likely contaminated.
In the lab, foaming tendency is measured with ASTM D892, and air release time in minutes with the ASTM D3427 test. Karl Fischer titration is used for the amount of water. Noria recommends comparing these results with a new sample of the same oil; a number on its own, without comparison, says very little.
Why do oil viscosity and temperature matter in foaming?
As viscosity rises, bubbles rise to the surface more slowly and the oil holds more air. According to the Noria summary, when bubble diameter doubles, the time to reach the surface drops to a quarter. Small bubbles formed in thick oil therefore make more persistent foam.
According to the same source, thin oils between ISO VG 10 and 32 foam most at cold start, roughly between -10 °C and 10 °C. A machine that foams at the first start on a winter morning and recovers as it warms up is therefore not always a sign of a leak. When choosing the right viscosity grade, the oil's air release property is also taken into account; the Hydraulic fluid article also lists fast air release and low foaming tendency among the properties of a good hydraulic fluid.
What does foam do to the machine?
Because foam and entrained air are compressible, the hydraulic system becomes spongy. According to the STLE article, this comes back as erratic and unsafe movement in lifting equipment, noise, rising heat and oil degradation. Bubbles entering the pump collapse on the pressure side and wear metal surfaces.
The ratio given by Noria also shows how serious this is: 10% entrained air raises viscosity by about 15% in many oils. According to the same STLE article, air also increases the heat load and speeds up oil degradation. That is why running with foamy oil for a long time can turn a small fitting leak into a pump overhaul.
How is hydraulic oil cleaned?
First the source is closed, then the oil is cleaned. Cleaning or changing the oil while water keeps getting in does little more than postpone the same problem by a few weeks.
According to the Pall article, the main ways to remove water are:
- Draining from the tank bottom: The cheapest way to remove settled free water.
- Centrifuge and coalescer filter: Separates part of the free and emulsified water; does not remove dissolved water.
- Water-absorbing filter element: Suited to small amounts of free water; fills up quickly with a lot of water.
- Vacuum dehydration: Mass-transfer type units can remove all free water and up to 80% of dissolved water.
The same source recommends keeping water levels in systems at or below 50% of the saturation point. For particle contamination, side-stream (kidney loop) filtration added to the circuit afterward is a common solution. For oil mixed with foreign oil or with depleted additives, cleaning is not enough; the system is flushed and the oil is renewed.
We explained the effect of filtration on failure risk in detail in our oil filtration and failure risk article. You can see which filter and dehydration solution suits your machine on our hydraulic oil filtration systems page.
What you can do before calling service
While looking for the source of the foam, a few observations speed up the diagnosis. None of them require working on a pressurized line.
- Note when the foam started: after oil was added, after a hose was changed or after washing?
- Read the sight glass level separately with the machine cold and hot.
- Take a photo of the settled sample; clearing or a water layer at the bottom guides the diagnosis.
- Record which oil was last added to the tank, along with its can or label.
How does Babacan Hidrolik approach a foam problem?
At Babacan Hidrolik, we look at a foaming tank first in terms of where air and water get in, not the oil. With the test and measurement equipment in our mobile service vehicle, we check the suction side, the oil level and the pump behavior on site and replace the leaking fitting or hose on the spot. Hose crimping in our service vehicle allows a cracked suction hose to be replaced in the same visit.
If the pump shaft seal or the pump itself is leaking, we overhaul it in our workshop in Ostim and put it through a pressure test. All work from diagnosis to repair is on our hydraulic service page.
If you see foam in your tank, cloudy oil in the sight glass or an unexplained loss of level, write down when the symptom started and reach us through our contact page. We find the source of foaming hydraulic oil with same-day on-site measurement in Ankara and the surrounding area and plan the repair together with you.
Frequently Asked Questions
Can you keep running with foaming hydraulic oil?
Brief, small amounts of foam are not an emergency, but running for a long time with growing or persistent foam is not recommended. Air entering the pump wears surfaces, makes the system spongy and heats the oil. Machines that lift and hold loads should be stopped in a safe position because of the risk of erratic movement.
Does adding antifoam additive to the tank solve the problem?
Usually not. Quality hydraulic oil already contains antifoam, and too much additive can increase foam as much as too little. First find where the air or water is getting in, and understand the condition of the oil through analysis.
Why did foam start after adding new oil?
The two most likely causes are air pockets left in the system and mixing with a different type of oil. In a circuit that was not bled, air mixes into the oil in the first hours of operation. Adding a detergent oil such as engine oil can lead to persistent foam.
The oil is cloudy in the morning and clears as it runs; is there a problem?
This usually shows that the oil contains water close to its saturation limit. As the oil cools, the water it can carry decreases and the excess shows up as cloudiness. The amount of water should be measured and the water entry point found.
Does foam damage the pump?
Yes. Bubbles entering the pump collapse on the pressure side, wear metal surfaces and make noise. If it goes on, the pump may end up needing an overhaul.
What information should I give when calling service for foam?
Give the make and model of the machine, when the foam started, any recent oil top-up or hose change and whether there is level loss. A photo of the settled sample also speeds up the diagnosis. With this information our team sets out with the right parts and equipment.


