🪶 MAGNESIUM

Heat Treating Magnesium Alloys: T6 Aging, Fire Risk, and Castings vs Wrought AZ31B

The defining constraint of magnesium heat treatment isn't metallurgy, it's fire safety: magnesium ignites near its solution-treatment temperatures and burns with a flame water cannot extinguish, so the whole process runs under protective atmospheres with strict temperature control. Within that constraint, the cast alloys age-harden meaningfully while wrought AZ31B is mostly stress-relieved, and the high-performance WE43 rewards careful aging with strength retention at temperature.

AS9100NADCAPISO 9001

Fire Risk and Protective Atmosphere: The Constraint That Shapes Everything

Magnesium's ignition temperature is uncomfortably close to its solution heat treatment range. AZ91D solution treats around 780 to 790F, and the alloy can ignite if local temperatures overshoot or if oxidation runs away, which is why magnesium heat treatment furnaces use protective atmospheres of sulfur dioxide, sulfur hexafluoride, or carbon dioxide to suppress oxidation and ignition. Tight temperature uniformity and overshoot protection are mandatory, not optional. The fire hazard also dictates emergency procedure: a magnesium fire cannot be put out with water, which reacts with hot magnesium to release hydrogen and intensify the fire, so shops keep Class D dry-powder extinguishers and dry sand on hand. This is a major reason not every heat treater accepts magnesium, you need the right atmosphere capability and safety protocol. For buyers, the practical implication is to use a heat treater experienced specifically with magnesium and to expect the protective-atmosphere requirement to add cost. Sending magnesium to a general steel heat treater is both a quality and a safety problem.

Cast AZ91D and WE43: Solution Treat and Age (T4, T5, T6)

The cast magnesium alloys are where heat treatment delivers real strength gains. AZ91D responds to T4 (solution treated, around 780F for many hours, giving maximum toughness and ductility), T5 (artificial aging only, for a modest strength bump and dimensional stability), and T6 (solution treat plus age, for peak strength). The long solution soak, sometimes 16 to 24 hours, is needed to dissolve the coarse magnesium-aluminum intermetallic (Mg17Al12) into solution before aging precipitates it in a fine, strengthening form. WE43 is the high-performance rare-earth alloy (magnesium with yttrium and neodymium) used in aerospace and motorsport for its excellent strength retention up to around 480F and good creep resistance, properties the common AZ alloys lose at elevated temperature. WE43 is typically used in the T6 condition, solution treated and aged, and its heat treatment is what unlocks the elevated-temperature performance that justifies its high cost. It is also notable for biomedical interest as a bioresorbable implant material. Buyers specifying cast magnesium should call out the T-temper, because the difference between T4, T5, and T6 is a real strength-versus-ductility trade, and the long solution cycles drive both cost and the importance of the protective atmosphere holding stable for many hours.

Wrought AZ31B and Stress Relief

AZ31B is the common wrought magnesium alloy, supplied as sheet, plate, and extrusion, and unlike the cast alloys it is not significantly age-hardenable, its strength comes from its composition and from the wrought processing and any temper. The heat treatment that matters for AZ31B is stress relief, used to remove residual stress from forming, welding, or machining so parts stay dimensionally stable, with stress-relief temperatures and times differing for the O (annealed) versus H24 (strain-hardened) tempers because you must avoid recrystallizing and softening the strain-hardened material. Magnesium is sensitive to stress-corrosion cracking, particularly the AZ alloys with higher aluminum content, so stress relief on welded or heavily formed AZ31B serves the same protective purpose that it does in brass, relieving the residual tensile stress that drives SCC. Welded AZ31B assemblies are routinely stress relieved for this reason. The buyer guidance: don't expect a hardening response from AZ31B, specify stress relief after welding or heavy forming, and respect the temper-specific stress-relief schedule so you don't accidentally anneal away the strength of H-temper material.

Frequently Asked Questions

Yes, magnesium is heat treated routinely and safely, but only by heat treaters set up specifically for it, because the fire risk is real and the controls are non-negotiable. Magnesium's ignition temperature sits uncomfortably close to its solution-treatment range, AZ91D solution treats around 780 to 790F, so the alloy can ignite if the furnace overshoots or oxidation runs away. Shops manage this with protective furnace atmospheres of sulfur dioxide, sulfur hexafluoride, or carbon dioxide that suppress oxidation and ignition, combined with tight temperature uniformity and overshoot protection. Just as important is the emergency response: a magnesium fire cannot be extinguished with water, which reacts with hot magnesium to release hydrogen and worsen the fire, so qualified shops keep Class D dry-powder extinguishers and dry sand on hand and never use water or standard extinguishers. The practical takeaway for buyers is to use a heat treater with documented magnesium experience and the proper atmosphere and safety equipment, not a general steel shop. The protective-atmosphere requirement and safety protocol add cost, but they are what make magnesium heat treatment safe and repeatable.
These tempers describe different heat treatment routes for age-hardenable cast magnesium alloys like AZ91D, and they trade strength against ductility. T4 is solution treated only, the casting is held at high temperature (around 780F for AZ91D) for many hours, often 16 to 24, to dissolve the coarse magnesium-aluminum intermetallic into solid solution, then cooled, giving maximum toughness and ductility but not peak strength. T5 is artificially aged only, with no prior solution treatment, applied directly to the as-cast part to get a modest strength increase and improved dimensional stability through a relatively short, low-temperature aging cycle, it is the least expensive option. T6 combines both, solution treat then artificial age, so the intermetallic is first dissolved and then re-precipitated in a fine, uniformly distributed strengthening form, delivering the highest strength of the three. The choice depends on the application: T4 for impact-loaded parts needing ductility, T5 for cost-sensitive parts needing only a small strength gain, and T6 for parts needing maximum strength. The long solution soak in T4 and T6 is a major cost and schedule driver, and it makes the stable protective furnace atmosphere especially important since the part is at ignition-adjacent temperature for many hours.
WE43 is a rare-earth magnesium alloy, magnesium with yttrium and neodymium, and it is worth its substantial cost premium when an application needs strength retention at elevated temperature that the common AZ alloys simply cannot deliver. Standard alloys like AZ91D and AZ31B lose strength and suffer creep above roughly 250 to 300F, which rules them out for hot-running aerospace and motorsport components. WE43 retains good mechanical properties and creep resistance up to around 480F, and that capability comes from rare-earth precipitates that are stable at temperature, precipitates that the T6 heat treatment, solution treat plus aging, develops. So the heat treatment is not incidental, it is what unlocks the alloy's defining property. WE43 is used in helicopter and aircraft transmission housings, missile components, and high-performance automotive parts where the combination of low density and elevated-temperature strength justifies the price. It has also drawn strong interest as a bioresorbable implant material because magnesium dissolves harmlessly in the body. If your part stays cool, a cheaper AZ alloy is the right call, WE43 earns its keep only when you need that high-temperature performance.
Magnesium heat treating costs more than equivalent aluminum work because of the protective-atmosphere requirement, the safety protocols, and the limited number of shops that handle it. Stress relief of wrought AZ31B is the cheapest, roughly $1.50 to $4.00 per pound with lot minimums of $250 to $500, and turns in 4 to 8 business days. Solution-treat-and-age (T6) of cast AZ91D or WE43 costs considerably more, often $4 to $10 per pound, driven by the very long solution soak (16 to 24 hours at temperature under controlled atmosphere) plus the aging cycle, and it typically runs 7 to 15 business days. WE43 aerospace work under AS9100 or NADCAP with full traceability and per-lot testing adds 30 to 60 percent and can push lead times to 15 to 20 business days, since qualified magnesium furnace capacity is scarce and the long T6 cycle ties up a furnace load for a full day or more. The biggest cost drivers are the protective-atmosphere processing, the multi-day solution cycles for the cast alloys, and the limited supplier base. Expedited service is constrained because few shops are equipped, so build the longer lead time into your schedule.

Last updated: July 2026

Find Magnesium Heat Treating Suppliers

Search verified shops that handle Magnesium heat treating.

No logins. No email gates. Just results.