BlogApplication notes
Why do machined steel parts stain in heat treatment?
- Type
- Application notes
- Published
- 23 November 2026
- Prepared by
- Jonghwan Moon
- Product group
- Metalworking Fluids (MWF)
Suspecting the furnace atmosphere or temperature is the usual response to stains after heat treatment, but whatever is left on a part before it enters the furnace does not always burn away and can bake onto the surface. What actually lies behind the stains can be salts and breakdown products from spent coolant, sulphur and chlorine extreme-pressure additives, incomplete cleaning, tramp oil or hard-water salts, and sometimes two or more at once.
Background
Shafts and gears turned and milled on lathes and machining centres go once through the washer and into the heat treatment furnace, and come out with brown, iridescent or white stains here and there. Stains do not always stop at appearance. Removing them takes another round of shot blasting or grinding, and for parts sent to a vacuum furnace precisely to keep a bright surface, the stain itself is a reject. Where carburising or nitriding does not proceed evenly under a stain, soft spots remain, and what boils off the parts can damage the fixtures and burner tubes inside the furnace.
A machined part carries a thin film of coolant into the washer. Besides water and oil, a water-miscible coolant contains additives such as emulsifiers, corrosion inhibitors and extreme-pressure additives (Brinksmeier et al., 2015). Whatever the washer leaves behind goes one of two ways in the furnace. Organic matter such as oil mostly burns off but can leave a carbon film, while inorganic matter such as salts does not burn off; it bakes onto the surface, where it becomes a starting point for rust or blocks the path of carbon in carburising (MacKenzie, 2017). Vacuum heat treatment is meant to give a bright surface, so any contamination left on a part before it goes in turns straight into a stain (MacKenzie, 2024b).
So a stain raises two questions: what was left behind, and where did it come from. The coolant sump, the washer and its rinse water, and lubricant leaking from the machine tool are all candidates, and the colour and position of the stain and when it first appeared narrow the field. Furnace atmosphere and quenching come after that.
In such cases the technical team sets up the five hypotheses below and rules them out one by one. The start is always the same: keep the stained parts aside, log which machine and which coolant they were cut with and what cleaning they went through, and compare that with the technical data sheets, the TDS, of the coolant and the cleaner and with the heat treatment work instructions.
Hypothesis 1: spent coolant residue
Start with this hypothesis on machines where the coolant has been topped up for a long time without a change. It applies when evaporation has concentrated what is in the sump, when a sump left standing over a holiday starts to smell, and when chips and sludge lie thick on the bottom. Think of a week when parts from the same drawing were cut on two machines. After heat treatment only the parts from one machine are stained, and that machine's coolant is dark and smells sour, and a freshly cut part leaves a sticky film on the hand.
Spent coolant means its ingredients have been used up and broken down. Microbes feed on many components of water-miscible coolant and break them down (Rabenstein et al., 2009), and biofilms on sump and pipe walls grow tangled with machining residue, sediment and chips (von Känel et al., 2025). The breakdown products, salts and suspended fines formed this way stay on the part when the water on it dries. In the furnace the organic part mostly burns off while the inorganic part bakes onto the surface, and residue from a coolant rich in sodium borate can melt into a glass at low temperature, cover the surface and block carburising (MacKenzie, 2017).
Check the sump in numbers. Measure concentration with a refractometer and, if the supplier specifies a titration, run that too and see whether the two values have drifted far apart. Set pH, colour, odour, bottom sludge and the date of the last change against the records, and use part history to see whether the stains cluster on parts from that machine. For parts going on to carburising or nitriding, look in the SDS and TDS for inorganic ingredients such as borates in the coolant, and ask the supplier if they are not listed.
If the fluid in the sump is exhausted, replacing it is the quickest fix. Empty and clean the sump and pipes, fill with new fluid within the TDS concentration range, and from then on top up with premix at the set concentration rather than plain water. Remove sludge regularly and fix intervals for measuring concentration and pH. On lines where many parts go on to heat treatment, review with the supplier whether a coolant low in inorganic ingredients would suit better.
Hypothesis 2: sulphur and chlorine
Processes that load the cutting edge heavily, such as tapping, broaching, gear hobbing and deep-hole drilling, often use cutting fluids with sulphur or chlorine extreme-pressure additives. This hypothesis comes up when parts from such processes pass through the same washer and into the same furnace as parts cut with water-miscible coolant. Picture a line where hobbed gears and turned parts are washed in one washer and loaded together into a carburising furnace. The turned parts come out clean, while the gears carry dark stains at the tooth roots and around the tapped holes.
Extreme-pressure additives react with the metal where it is hot and highly loaded, as at the cutting edge, forming a thin film that shears easily and keeps metal from welding to metal. Chlorinated additives decompose with heat and form an iron chloride layer, while sulphurised additives form iron sulphide films (Lara et al., 1997; Brinksmeier et al., 2015). That same reactivity makes cleaning harder. Residues containing sulphur and chlorine do not come off well in alkaline cleaners, and solvent or emulsion cleaning is sometimes needed (MacKenzie, 2024b). Whatever remains causes trouble in the furnace. Heavily chlorinated oil-based coolants can leave carbon deposits on parts while the chlorine attacks the surface, sulphur compounds discolour parts, and fumes from heavily sulphurised parts form nickel sulphide in the furnace alloys, shortening the life of burner tubes and fixtures (MacKenzie, 2017).
First check the SDS and TDS of the cutting fluid used in that process for sulphur and chlorine content and the type of extreme-pressure additive. See whether the stains gather on parts from that process, and on the surfaces that process cut. A laboratory that can analyse the stain will show whether sulphur or chlorine is present; a study that analysed machining oil residue by energy-dispersive X-ray spectroscopy also found sulphur and carbon (Guillot et al., 2017). On the furnace side, check the maintenance records for fixtures and burner tubes failing sooner than before, because nickel-rich heat-resistant alloys can suffer badly in sulphur-bearing atmospheres as they form low-melting nickel sulphides (Lai, 2007).
Once the cause is narrowed to extreme-pressure residue, match the cleaning to that oil. Put a solvent or emulsion cleaning step before the alkaline wash, or degrease these parts separately. At the same time, review with the coolant supplier whether the process really needs that much extreme-pressure performance, and whether parts headed for heat treatment could use a chlorine-free additive instead. Tell maintenance about the fixtures and burner tubes too, so their inspection interval can be shortened.
Hypothesis 3: incomplete cleaning
Suspect the cleaning itself when the washer's chemical concentration and temperature have not been measured for a while, when rinse tank changes have been put off, or when cleaning time was cut to keep up with output. Parts with blind holes, deep grooves or many faces touching each other get less clean even in the same washer. A day at month end, when baskets were stacked higher than usual to clear the backlog, is one such case. Parts at the edge of the basket are fine, while those packed in the middle and those with many holes come out with white rims and brown stains.
Cleaning has three steps: wash, rinse and dry. Rinsing is the critical step that keeps cleaner residue off the part, and a surface washed in alkali is chemically active, so poor rinsing can leave it to rust. Solvent or water left on the part evaporates in a vacuum furnace and degrades the vacuum and the pumps (MacKenzie, 2024b). Cleaner residue itself causes staining, corrosion and caustic burn, and coolant tends to stay trapped in deep grooves and holes, which need inspecting before loading (MacKenzie, 2017). In the end, poor cleaning sends both coolant residue and cleaner residue into the furnace.
The water-break test quickly shows whether a washed part is really clean. Dip the part in clean water, lift it out and hold it at an angle: a clean surface stays covered by an unbroken sheet of water, while on a surface still carrying a water-repellent film such as oil, the water breaks apart or beads up (ASTM International, 2021). On the washer, check in turn the cleaner concentration and temperature, blocked spray nozzles, how dirty the rinse water is, and whether water stays in holes after drying. Note as well whether stains gather at particular positions in the basket or around holes and grooves.
When cleaning proves short, tie its conditions to a control sheet. Set how often cleaner concentration and temperature are measured, when the rinse water is changed, and how many parts go into a basket and which way they face; load parts with many holes with the holes facing down, or blow them out with air. Dry until the holes are dry as well, and load only fully dry parts into a vacuum furnace. After the change, keep the water-break test as a routine check.
Hypothesis 4: tramp oil film
Hydraulic oil, slideway oil and gear oil leaking from the machine into a water-miscible coolant sump are not unusual. Look for tramp oil on older machines, on machines set to lubricate the slideways generously, and on machines with oil beading at hydraulic pipe joints. On the first morning after a holiday, opening the sump lid reveals a brown film of oil across the surface. Parts cut that day go through the usual washing, yet come out of heat treatment with thin, smeared dark stains.
Tramp oil is other oil from the machine that has got into the coolant. Some floats on top and some is caught by the emulsifiers and mixed into the fluid, changing how the coolant behaves, and in sump sediment it also feeds microbes (Byers, 2017; von Känel et al., 2025). This water-repellent oil film clings to parts and travels into the washer, and in the furnace it mostly burns off but can leave a carbon film (MacKenzie, 2017). In nitriding the film matters more. In one study, nitriding was inhibited on steel surfaces contaminated with machining oil, and a similar inhibition appeared on surfaces carrying only a carbon deposit (Guillot et al., 2017).
Start with how much oil lies on the sump and whether the skimmer is working. Fill a clear bottle from the sump and let it stand for a while; the thickness of the oil layer that rises lets day-to-day changes be compared. On the machine, check hydraulic pipe joints, cylinders, and the interval and output of slideway lubrication to find where the oil is getting in. Run the water-break test on washed parts and see whether the water breaks more easily on parts from days with more tramp oil.
If tramp oil is the cause, closing its way in comes first. Repair leaking pipes and seals and cut slideway lubrication back to the machine builder's setting. Skim the oil that is already in every day with a skimmer or an oil separator, and change the fluid if the sump is badly contaminated. Give the washer degreasing conditions that lift oil well, and load parts headed for nitriding only once they pass the water-break test.
Hypothesis 5: hard-water salts
In plants that dilute coolant or rinse in the washer with well water or other hard water, the salts dissolved in the water can end up as stains. Watch for it especially in sumps topped up with plain water to replace evaporation, in washers whose rinse water is used for a long time, and in washers that give the final rinse in hot water. Take a plant that draws water from its own borehole for both coolant top-up and washer rinsing. After heat treatment, white, rim-like stains appear on the lower edges of parts, around hole edges and where water pooled and dried.
Water hardness is set by the amount of dissolved salts such as calcium and magnesium. When these salts meet heat or alkali they form insoluble scale and drop out (MacKenzie, 2024a). In coolant, calcium and magnesium meet anionic emulsifiers and form insoluble soaps that unsettle the emulsion and leave sticky residue, and since the salts stay behind when water evaporates, every top-up with water adds to the salt in the sump (Byers, 2017). When water dries on a part those salts remain on the surface, and inorganic matter does not burn off in the furnace but bakes onto the surface (MacKenzie, 2024b).
The check starts with the water. Measure the hardness and electrical conductivity of the top-up water and the rinse water, and compare the conductivity of the sump fluid with what it was when the fluid was new. Measure the washer's final rinse tank the same way. See whether the stains coincide with places where water pooled and dried, and if the stain can be sent for analysis, confirm whether calcium and magnesium dominate.
If the salts come from the water, changing the water is the lasting fix. Use softened or deionised water to dilute the coolant and for the washer's final rinse, and keep its quality within the coolant and cleaner suppliers' recommended ranges. Top the sump up with premix rather than plain water to hold the concentration, and change the fluid once conductivity passes a set value. After rinsing, blow the parts dry so no droplets are left standing.
Finding the cause
There is no need to investigate all five hypotheses separately. Rule them out starting with the easiest to check. Coolant concentration and change dates, washer conditions and the source of the water can all be read from records without stopping the line, and a water-break test takes a few minutes. Analysing the stain takes time, so it comes after that.
The first clue is which parts are stained and where. Stains only on parts from one machine point to that machine's coolant: spent fluid or tramp oil. Stains on parts from processes that use extreme-pressure additives, such as tapping or hobbing, and on the faces those processes cut, point to sulphur and chlorine residue. Stains in the middle of the basket or around holes and grooves point first to incomplete cleaning, and white rims where water pooled and dried to hard-water salts. If parts from every machine stain evenly, what remains is what all parts pass through together, the washer and the water.
If that does not settle it, run a control trial. Take a few parts from the same lot, wash some as usual and wipe others with solvent until they pass the water-break test, then heat treat them in the same load. If only the carefully cleaned parts come out unstained, the cause is something left on the surface. If both stain, look at furnace atmosphere, leaks and quenching with the heat treatment staff rather than at surface residue. Change only one thing at a time, or there is no telling which change worked.
The final check is what the stain is made of. Send a stained part to a laboratory with scanning electron microscopy and energy-dispersive X-ray spectroscopy to find which elements were left behind. Sulphur or chlorine points to extreme-pressure additives, plenty of calcium and magnesium to hard-water salts, and mostly carbon to an oil film or the organic matter of spent fluid. Analysing an unstained spot on the same part alongside makes the comparison easier.
Hypotheses often overlap. Tramp oil builds up in an old sump and feeds the microbes, hard water unsettles the coolant's emulsifiers and adds to the residue, and poor cleaning sends all of it into the furnace together. In such cases, put washing and rinsing right first so parts pass the water-break test, then turn to the coolant and the water, because while cleaning is unsettled, the effect of changing the coolant cannot be compared fairly.
Limits and cautions
Suitable coolant concentration, cleaner concentration and temperature, and rinse water quality differ by product and equipment, so numeric decisions follow the product TDS and the equipment maker's guidance. Heat treatment stains can also come from the heat treatment side, such as furnace atmosphere, leaks and contaminated quench oil, so stains that remain after surface residue has been ruled out are looked at with the heat treatment staff. Titanium and zirconium alloys are not cleaned in chlorinated solvents, because chlorine residue heated above 280°C can cause stress corrosion cracking (MacKenzie, 2017).
Safety matters too. For cleaning solvents and alkaline cleaners, follow the product's safety data sheet, the SDS, for protective equipment and ventilation. Metalworking fluids can harm health through skin contact and through breathing in mist (OSHA, n.d.), and the US National Institute for Occupational Safety and Health has set out a recommended exposure limit and control methods for reducing exposure to them (NIOSH, 1998). Wear gloves and eye protection when cleaning out a sump of spent coolant, and if smoke or smells from the furnace are unusual, check the ventilation and tell the heat treatment staff.
Sources
- ASTM International. (2021). ASTM F22-21, Standard test method for hydrophobic surface films by the water-break test. https://store.astm.org/f0022-21.html
- Brinksmeier, E., Meyer, D., Huesmann-Cordes, A. G., & Herrmann, C. (2015). Metalworking fluids—Mechanisms and performance. CIRP Annals, 64(2), 605–628. https://doi.org/10.1016/j.cirp.2015.05.003
- Byers, J. P. (Ed.). (2017). Metalworking fluids (3rd ed.). CRC Press.
- Guillot, B., Jégou, S., & Barrallier, L. (2017). Degradation of gaseous nitriding of steel by lubricant contamination — Effect of in-situ pre-treatments. Surface and Coatings Technology, 316, 59–70. https://doi.org/10.1016/j.surfcoat.2017.01.107
- Lai, G. Y. (2007). High-temperature corrosion and materials applications. ASM International.
- Lara, J., Kotvis, P. V., & Tysoe, W. T. (1997). The surface chemistry of chlorinated hydrocarbon extreme-pressure lubricant additives. Tribology Letters, 3, 303–309. https://doi.org/10.1023/A:1019162028761
- MacKenzie, D. S. (2017). How parts cleaning maximizes heat treatment. Gear Solutions. Retrieved November 2026. https://gearsolutions.com/departments/hot-seat-how-parts-cleaning-maximizes-heat-treatment/
- MacKenzie, D. S. (2024a). Cleaning for heat treatment. Thermal Processing. Retrieved November 2026. https://thermalprocessing.com/cleaning-for-heat-treatment/
- MacKenzie, D. S. (2024b). Cleaning for heat treatment – Part II. Thermal Processing. Retrieved November 2026. https://thermalprocessing.com/?p=29459
- National Institute for Occupational Safety and Health [NIOSH]. (1998). Criteria for a recommended standard: Occupational exposure to metalworking fluids. DHHS (NIOSH) Publication No. 98-102. https://www.cdc.gov/niosh/docs/98-102/
- Occupational Safety and Health Administration [OSHA]. (n.d.). Metalworking fluids. U.S. Department of Labor. Retrieved November 2026. https://www.osha.gov/metalworking-fluids
- Rabenstein, A., Koch, T., Remesch, M., Brinksmeier, E., & Kuever, J. (2009). Microbial degradation of water miscible metal working fluids. International Biodeterioration & Biodegradation, 63(8), 1023–1029. https://doi.org/10.1016/j.ibiod.2009.07.005
- von Känel, G., Steinmann, L. Y., Mauz, B., Lukesch, R., & Küenzi, P. (2025). It is useless to resist: Biofilms in metalworking fluid systems. Life, 15(6), 890. https://doi.org/10.3390/life15060890