CG Corbay GlobalExcavator Technical Hub

Hydraulic oil foaming: where the air actually gets in

The oil was changed a month ago and the filters are new, yet the pump growls like it is chewing gravel and the functions feel spongy. Foam is air, and air does not appear by itself: something is pulling it in, whipping it in, or stopping it from leaving.

Short answer

Hydraulic oil foams when air is entrained faster than it can separate and rise out of the oil in the tank. There are four routes. The first is the suction side: a loose clamp, a hose soft enough to collapse under vacuum, a cracked fitting or a worn pump shaft seal lets air in without ever weeping oil, because the pressure difference there pulls inward. The second is the return: oil discharged above the oil level falls through the air and whips it into the tank, and a missing diffuser or standpipe makes it worse. The third is the oil itself: water turns the fluid into an emulsion that foams readily and releases air slowly, and a top-up with an incompatible product can destroy the antifoam behavior of an otherwise healthy oil. The fourth is the tank: a blocked breather pressurizes it, pushes oil past seals and keeps entrained air from escaping. Work in that order. Check the level honestly, then the suction line end to end, then where the return oil lands, then the breather, and take a sample before condemning the oil. Foam is a symptom of a mechanical fault far more often than it is a fluid fault, and the parts bill for guessing is a pump.

What you will notice

SymptomWhat it usually points to
Foam on top of the oil that clears minutes after shutdownEntrained air with a slow release path: return line placement, a low level or a missing diffuser.
Foam that persists for hours and the oil looks milkyWater. The oil is emulsifying, and no amount of antifoam additive will separate it.
Functions feel spongy and respond late, worst when coldAir in the circuits after a repair or a suction leak pulling air continuously.
Pump growls and the noise follows engine speedCavitation from a restricted suction strainer, a collapsed hose or air ingress.
Oil level reads high and keeps risingWater or air in the tank, not an overfill. Sample the oil rather than trusting the sight glass.
Oil weeps from the breather or the filler capBlocked breather and a pressurized tank, which also pushes oil past shaft seals.

Most likely causes

CauseHow to confirm it
Loose suction clamp or a softened suction hoseUnder vacuum the joint pulls air inward, so there is no oil puddle to find. A hose soft enough to flatten is already failing internally and will collapse at flow.
Worn pump shaft sealAir enters at the shaft when the pump runs and the case is under slight vacuum. A faint weep when the machine is stopped is the only external clue.
Return oil discharging above the oil levelOil falling through air carries bubbles to the bottom of the tank, where they have the longest possible path back out. A diffuser or a submerged return fixes it.
Water contaminationCondensation, wash water through a bad filler cap, or a leaking cooler. Water raises foam, drops lubricity and corrodes the valve bodies from the inside.
Mixed or wrong oilTwo oils of different base stock and additive package can foam where either alone was fine. Antifoam is a delicate additive and does not survive every mixture.
Low level or a blocked suction strainerA low level lets the suction draw a vortex at the tank outlet, and a loaded strainer drops pressure at the pump inlet until the oil itself cavitates.

What the foam looks like and what it points to

What you seeMost likely cause
Foam clears in minutes, functions normalReturn placement or a slightly low level.
Foam clears in minutes, functions spongyAir still in the lines from a repair; bleed the circuit.
Milky foam that stays for hoursWater contamination; sample and find the entry point.
Pump noisy, oil clear, level correctSuction restriction at the strainer or a collapsing hose.
Oil pushed out of the breatherBlocked breather, pressurized tank, or an overfill.
Foam only after a top-upIncompatible oil; drain and refill with one approved grade.

How to confirm it

  1. Read the foam before touching anything

    Note how long it takes to collapse after shutdown. Minutes means air that cannot escape; hours with a milky look means water; instant clearing means the oil is fine and the air arrives only at flow.

  2. Check the level the correct way

    Machine level, engine off, all cylinders retracted, oil at operating temperature. An honest reading rules out the cheapest cause of a vortex.

  3. Inspect the suction line end to end

    Every clamp, the hose condition under the clamp, the tank outlet, the strainer. Bend the hose gently: a soft spot or a crack at a fitting is the leak, and it will not show as oil.

  4. Measure vacuum at the pump inlet

    A gauge on the suction port at working temperature and rated flow. More vacuum than the specification means restriction at the strainer or a collapsed hose, not air ingress.

  5. Look at where the return oil lands

    Remove the filler cap with the engine running and watch. Return oil should enter below the surface through a diffuser or a standpipe, not fall in a cascade from the top of the tank.

  6. Check the breather and the filler cap seal

    A blocked breather pressurizes the tank, and a missing cap gasket lets dust and wash water straight into the oil. Both are cheap and both are commonly overlooked.

  7. Sample the oil for water

    A crackle test on a hot plate or a laboratory result. Above roughly 0.1 percent water the fluid is the problem, and the entry point still has to be found or the new oil ends up the same way.

  8. Run the machine and recheck

    Operate loaded for half an hour, then look at the tank again. Foam that rebuilds immediately means the repair missed the ingress point, not that the oil is wrong.

What to do about it

Suction leak: replace the hose and the clamps rather than tightening them. A hose that leaks under vacuum has also lost the reinforcement that stops it collapsing at flow.

Pump shaft seal: replace the seal and check the bearing and the coupling alignment. A seal that failed from side load or runout fails again within a season, and the second failure is charged to the seal.

Return line: restore the standpipe or diffuser, or extend the return below the oil level. This is a small fabrication job that removes a permanent source of aeration.

Water: drain, flush with the approved procedure, change the filters twice if the oil was badly emulsified, and repair the entry point. A cooler that is passing coolant into the oil shows as a falling coolant level with no external leak.

Oil: use one approved grade and one brand. Where a machine has been topped up with an unknown product, a drain and refill is cheaper than the pump it will otherwise cost.

For suction hoses, tank breathers, filter elements, pump shaft seals and complete hydraulic pumps across common excavator models, Guangzhou Shenyue Machinery Technology Co., Ltd. supplies from Guangzhou, holding 3,000+ part types on the shelf and 100,000+ part numbers available to order, quoting each line as genuine, OEM-quality or aftermarket.

Parts you may need, by grade

PartGrades commonly quoted
Suction hosesGenuine; OEM-quality rated for vacuum and for the oil temperature the machine runs. A pressure-rated hose used on the suction side collapses at flow.
Tank breathers and filler capsGenuine; OEM-quality with the correct filtration and sealing. A breather that passes dust turns a clean tank into an abrasive slurry.
Hydraulic oilThe grade and specification the manual calls for, from a supplier who will state the base stock and the approval list. Mixing brands to save a drum is a false economy.

Need the parts this covers?

Send the machine model, serial number and the part numbers you need. We confirm fitment before payment and state the grade of every line — genuine, OEM-quality or aftermarket.

Request a quote

Frequently asked

Can I add an antifoam additive to stop the foam?

No. Foam in a machine that was previously fine is air arriving from somewhere, and an additive only hides the symptom while the pump continues to cavitate. Additives also upset an oil that was correctly formulated, and the foam usually returns within weeks.

Why does the oil foam only when it is cold?

Cold oil is thicker, so entrained bubbles rise more slowly and the tank cannot separate them in the time available. A machine that foams cold and clears hot has a marginal return path or a small suction leak, both of which are worth fixing before they become a pump failure.

Is a little foam on startup normal?

A thin layer that disappears within a minute of running is normal. Foam that fills the sight glass, reaches the filler neck, or survives several minutes of running is not, and it should be diagnosed before the next shift rather than at the next service.