Magnesium CNC Machining Safety Practice
Magnesium cuts faster than aluminum 6061, and that speed is where the fire risk lives. This page explains why fine chips ignite, what coolant does to hydrogen, and which parameters keep the cut predictable. Written for engineers and buyers running AZ31B or AZ91D parts.
In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Why magnesium CNC machining safety starts at the spindle
A solid magnesium billet is hard to light. A pile of 0.1 mm chips is not. The ignition temperature of fine swarf sits far below that of bulk metal, and a dry, fluffy pile can catch at temperatures a cigarette ember reaches. This is why magnesium CNC machining safety turns on chip fineness and surface area, not on the weight of material removed.
Magnesium alloys such as AZ31B and AZ91D cut fast. Cutting speeds often run 30 to 50 percent higher than aluminum 6061, and specific cutting energy is roughly a third lower. That productivity is the trap. A chip that felt cool at the tool can smolder in a bin for minutes before it flares.
Heat leaves the cut in two ways: through the tool and through the chip. Magnesium conducts heat well, so a thick chip carries energy away from the edge. A thin chip does not. It stays hot, curls into a fine ribbon, and lands in the enclosure with plenty of surface area exposed to air.
The practical rule is to treat every magnesium operation as a chip-handling problem first and a cutting problem second. Tool life and finish still matter. But the parameters that keep a bin from catching fire are the same ones that keep the part in tolerance: sharp edges, steady feed, and no rubbing.
- 1Chip fineness drives riskFine dry swarf ignites at low temperature; long stringy chips are less prone to flash.
- 2Rubbing is an ignition pathA tool dwelling in one spot heats the chip bed under it.
Chip control: the core fire risk in magnesium CNC machining safety
Aggressive roughing that produces long, stringy chips is generally safer than a light finishing pass that makes dust. The long chip is heavy, falls into the conveyor, and cools quickly. The dust stays airborne, settles on ledges, and waits.
Chip form is set by feed per tooth and depth of cut. Too light a load and the edge rubs instead of shearing. Too heavy and you load the spindle and the fixture. Aim for chips that break into short curls and clear the pocket on the first air blast.
Residence time is the number that matters most. Chips should leave the enclosure at least once per shift, and far more often during heavy roughing. A bin that sits overnight with warm fines inside is the classic starting point for a shop fire.
Never let wet magnesium swarf sit in a sealed container. Water contact with magnesium generates hydrogen, and in a closed drum that gas can build to a flammable concentration. Use vented, labeled, lidded metal containers, kept dry.
- 1Short curls over dustSet feed per tooth so chips break and clear rather than smear.
- 2Empty bins on shift changeResidence time, not chip weight, sets the risk.
- 3Vent any wet containerHydrogen from water contact needs a path out.
Coolant and lubrication choices that reduce risk
Wet machining is the default for magnesium in most production shops. A water-based flood coolant at 5 to 10 percent concentration keeps chips wetted and pulls heat out of the cut. The catch is filtration: settled fines in a sump will hold heat and can react with water over time.
Oil-based coolant lowers hydrogen generation but raises mist and floor slip hazards. It suits low-volume work and machines that are not set up for water management. Whichever route you take, the coolant system needs filtration and a vented tank.
Do not let wet swarf pool in the machine base or in a closed tank. Tanks should breathe, and hot work, grinding sparks and open flames stay away from sumps and chip bins. If a machine is to be drained or cleaned, do it with the enclosure open and ventilation running.
Concentration matters as much as chemistry. A lean mix wets chips poorly and lets fines dry out on the enclosure walls. Check refractometer readings weekly, and skim tramp oil so the chips stay coated.
Cutting parameters and tooling that support magnesium CNC machining safety
Tooling choice matters less for safety than chip form, but it still matters. Sharp carbide with a high positive rake and polished flutes reduces built-up edge and makes chip flow predictable. Coated carbide is the standard. High-speed steel works for low volume but dulls faster and raises cutting forces.
For AZ31B with carbide, surface speeds of 300 to 500 m/min in roughing are common, with feed per tooth around 0.1 to 0.2 mm. Climb milling with good coolant flow helps clear the pocket. Avoid dwelling in a cut; a tool rubbing in one spot heats the chip bed and is a known ignition path.
Dull tools are a safety issue, not just a quality issue. A worn edge smears the material, generates fine dust, and pushes heat back into the workpiece. Change inserts on a schedule, not on a hunch, and log the change.
Tolerances to ±0.005 mm on prismatic features and finishes of Ra 0.8–1.6 μm are achievable with good practice. Chasing a tighter finish with a light, high-speed pass makes fine dust. If a drawing calls for Ra 0.2–0.8 μm, plan a wet operation with strong extraction and short chip residence time.
- 1High positive rakePolished flutes and sharp edges keep chips moving.
- 2No dwellRubbing in one spot is a known ignition path.
- 3Change inserts on scheduleA dull edge makes dust and heat.
Housekeeping, storage and waste handling
Housekeeping is the primary control on any magnesium job. Chips come out of the machine at least once per shift, more often in heavy roughing. They never accumulate on the floor, on the enclosure, or around the spindle.
Use non-sparking scoops. Aluminum and steel tools can strike sparks on a machine base. Dedicated, labeled, lidded metal containers for magnesium swarf stay dry and away from the building. Raw stock and finished parts are stored apart from waste.
Machine design helps. Enclosures with smooth inner walls shed chips, and a dedicated extraction path keeps dust from settling on ledges. If a machine is shared with aluminum or steel work, clean it thoroughly between materials.
Fire response starts before the fire. Know where the extinguisher is, keep a dry powder or class D unit near the cell, and train operators to cut power and back away rather than chase a small flare with a water hose.
When magnesium is the wrong material choice
Magnesium wins on weight and machinability. It is not always the right answer. Very fine features, deep thin ribs, and parts that need a mirror finish push the process toward dust and long cycle times, and the safety overhead starts to outweigh the weight saving.
If the shop has no vented coolant system, no dedicated chip containers, and no trained operators, a magnesium job is a risk transfer, not a cost saving. The same part in aluminum 6061 or 7075 may be heavier but far easier to run.
Talk to us before the drawing is frozen. Our team machines magnesium AZ31B and AZ91D across 127 CNC machines, with 16 simultaneous 5-axis centers and a 4,000 mm maximum processing size. We can quote and return a free DFM analysis within 12 hours.
No minimum order quantity here. One prototype or a 10,000+ part run both go through the same inspection route, with 100% inspection before shipment and reports on request.
Coolant and chip-handling routes compared
Choose by volume, machine setup and how fast you can clear swarf.
| Route | Best for | Watch out for |
|---|---|---|
| Water-based flood, 5–10% | Production roughing and finishing | Settled fines in sumps; hydrogen in sealed tanks |
| Oil-based flood | Low volume, water-sensitive setups | Mist, floor slip, higher operator exposure |
| Dry with extraction | Prototype work with short cycles | Dust on ledges; needs strict housekeeping |
| Minimum quantity lubrication | Light finishing passes | Poor chip wetting; fines can dry quickly |
The verdict
If the part needs low weight and the shop can control chips, magnesium is the faster cut. If chip handling is an afterthought, run the part in aluminum.
Frequently asked questions
Can magnesium be machined dry?
It can, for short prototype cycles where extraction is strong and chips are cleared immediately. In production, wet machining is the default because it wets fines and pulls heat out of the cut.
If you go dry, treat housekeeping as the control: no dust on ledges, bins emptied on shift change.
Does water coolant make magnesium dangerous?
Water contact with magnesium generates hydrogen. The risk is confined spaces where gas can build, such as a sealed tank or a drum of wet swarf.
Vent the tank, never seal wet swarf, and keep flames and sparks away from sumps.
What chip form should we aim for?
Short curls that clear the pocket on the first air blast. Long stringy chips are safer than dust, and light finishing passes that make fines are the worst case.
Set feed per tooth around 0.1 to 0.2 mm for AZ31B with carbide, and avoid dwelling.
How often should magnesium chips be removed?
At least once per shift, and more often during heavy roughing. Residence time is the main driver of fire risk, not the total weight of swarf produced.
Use vented, labeled, lidded metal containers and keep them out of the building.
Can you hold ±0.005 mm in magnesium?
Yes, on prismatic features with good practice, and finishes of Ra 0.8–1.6 μm are routine. A tighter finish means a wet operation with strong extraction and short chip residence time.
Send the drawing and we will return a free DFM analysis within 12 hours.
Which magnesium alloys do you machine?
AZ31B and AZ91D are the common grades in our material list, alongside aluminum, stainless, steel, titanium and plastics.
We run them across 127 CNC machines, including 16 simultaneous 5-axis centers.
Send the drawing, get a route and a quote
Quote and free DFM analysis within 12 hours. Production can start within 24 hours.
12-hour quote100% inspectionNo MOQ