Magnesium is the lightest structural metal a CNC shop can cut: about two-thirds the density of aluminum, a quarter of steel, and stiff enough to replace aluminum in housings and brackets where every gram counts. The catch is that magnesium chips burn. A long, stringy shaving on a hot tool can ignite, and once a magnesium fire gets going, water is the wrong thing to throw on it. Shops that have not run magnesium usually refuse the job, which is a reasonable position. Shops that have, run it with a procedure, not a panic. This guide covers why magnesium machines well, what the fire risk actually is, and the setup that keeps the shop floor safe.
Why magnesium machines so freely
Magnesium alloys (AZ31B, AZ61, AZ91, WE43) are among the easiest metals to cut. Density sits at 1.74-1.83 g/cm3, about two-thirds of 6061 aluminum at 2.70. Cutting forces are low, so a 12 mm end mill can take a full slot at 3,000-6,000 RPM and 0.05-0.10 mm per tooth. Surface finishes come out better than aluminum with less tool pressure. Tool life stretches because the alloy does not work-harden and does not weld onto carbide the way aluminum does. A typical magnesium housing can machine in 15-25 percent less time than the same housing in aluminum. That is why aerospace, drone frames, and medical implants keep coming back to it. The magnesium AZ31 machining guide goes deeper on the alloy grades.
The fire risk, in practical terms
Solid magnesium does not burn in a machining cut. The concern is chips and fines. A long, continuous shaving at 400-500 C tool temperature can oxidize fast enough to glow, and a pile of dry swarf in a chip tray will sustain a fire if it finds an ignition source. The risk concentrates when the cut is very light and fast, producing powder instead of chips, or when the tool is dull and rubs rather than cuts. A flame-proof chip cart, a Class D powder extinguisher within arm’s reach, and a clean swarf pile that is emptied every shift are the baseline. Water flood is banned on magnesium because burning magnesium reacts with water to release hydrogen, which makes the fire worse. Shops that run magnesium use minimum-quantity lubrication, air blast, or dry cutting instead. The coolant in CNC machining guide explains why the fluid choice matters here.
Setups and parameters that keep it safe
Start with sharp tooling. A dull carbide or HSS edge on magnesium generates heat that sharp edges do not, and that heat is the ignition source. Keep feed rates aggressive enough to produce 0.05-0.15 mm thick chips rather than dust. Avoid very light finishing passes that generate fines; if you need a fine finish, take a slightly heavier last pass and let the tool edge do the work. Clamp rigidly. Magnesium deflects more than aluminum because it is softer, and a vibrating tool rubs, heats, and starts trouble. Do not stack a magnesium job on a machine that runs aluminum with residual aluminum coolant on the ways; keep a dedicated setup or wipe down thoroughly. Keep the area free of oil rags and chip accumulation. These are not exotic rules. They are the same rules that any shop running aluminum has half-learned, applied with more discipline.
Corrosion and surface protection
Magnesium corrodes in salt water, and white oxide powder on a machined surface is the early warning. Bare magnesium parts in a humid shop will tarnish within weeks. The fix is conversion coating or anodizing: chromate conversion (now replaced by zirconium or stannate treatments under RoHS), or a hard-anodize-like coating such as Keronite or Tagnite. Parts that ship overseas get a VCI bag on top of the coating, because ocean-container humidity is the worst-case environment. Internal threads and blind holes are the usual corrosion failure point, because trapped moisture sits there for months. Design for drainage, or accept that the part will need a coating specified on the drawing. Surface protection for machined parts covers the packaging side.
When magnesium is the right answer
Magnesium is the answer when mass is the driver and the application can tolerate the cost premium and the shop-floor procedure. Drone frames, portable instrument housings, orthopedic implants, and aerospace brackets all qualify. It is the wrong answer when the part touches salt water without a proper coating, when the quantity is small enough that no shop wants to set up a dedicated magnesium cell, or when the design calls for wear surfaces that magnesium cannot provide. Budget on price: magnesium bar stock runs 2-3x 6061 aluminum, and machining adds a safety surcharge because not every shop wants to run it. Ask the shop up front whether they have run magnesium before, and what their swarf handling looks like. If the answer is blank, keep shopping. The CNC machining magnesium overview on this site covers the lightweight benefits and the precautions side by side.
