Stainless Steel 17-4PH CNC Machining
17-4PH is the grade to reach for when a part has to be both strong and corrosion resistant, and neither 304 nor 4140 will do. It is a martensitic precipitation-hardening stainless: it is machined in a softened condition, then aged to a hardness the drawing names, and the choice of aging temperature trades strength against toughness and stress-corrosion resistance. That trade is the whole design decision on a 17-4PH part.
Specification at a glance
- Alloy family
- Martensitic precipitation-hardening stainless steel
- Composition
- ~15–17.5% chromium, ~3–5% nickel, ~3–5% copper, niobium; carbon ≤0.07%
- Hardened by heat treatment
- Yes — by a single aging step after machining
- As-supplied condition
- Condition A (solution annealed) — the machining condition
- Strength, H900
- ~1,310 MPa tensile, ~1,170 MPa yield, ~40 HRC
- Strength, H1150
- ~930 MPa tensile, ~725 MPa yield, ~28 HRC
- Machinability
- Moderate in Condition A; aging before machining makes it hard to cut
- Corrosion resistance
- Better than 410 and 416; below 316 in chloride service
- Magnetic
- Yes — martensitic in every condition
- Typical finishes
- Passivation, blasting, polishing, plating
- Finishing route
- Through our vetted partner network, managed under one quality process
- Precision tolerance
- ±0.01 mm on precision features
- General tolerance
- ISO 2768-m unless stated on the drawing
- MOQ
- From 50 pieces per style and material
A stainless steel you harden after machining
Most stainless grades offer a straight trade. The 300-series austenitic grades — 304, 316 — resist corrosion well and cannot be hardened at all. The 400-series martensitic grades — 410 and 416 — harden nicely and resist corrosion poorly.
17-4PH refuses that trade, and the mechanism is precipitation hardening. The alloy is solution treated at high temperature and cooled to a soft martensitic condition, which is how it is supplied and how it is machined. It is then aged — held at a much lower temperature, typically between 480°C and 620°C — and during that hold, copper-rich particles precipitate inside the martensitic matrix. The particles block dislocation movement, and the strength climbs sharply.
Two things follow from that, and both matter commercially.
It is machined soft and used hard. Condition A is the machining condition. The hardness on the drawing arrives after the cutting is finished. A shop that ages the bar first and then tries to machine it will burn tooling and time.
The aging temperature is a real design choice, not a formality. It is the single lever that sets strength, hardness, ductility and stress-corrosion resistance, and specifying it loosely is how a part ends up either too weak or too brittle for its duty.
The conditions, and what each one buys
The condition code is the aging temperature in Fahrenheit. Higher temperature means lower strength and higher toughness.
| Condition | Aging temperature | Tensile | Yield | Hardness | Choose it when |
|---|---|---|---|---|---|
| Condition A | Solution annealed | — | — | ~30–38 HRC | This is the machining condition, not a service condition |
| H900 | 482 °C | ~1,310 MPa | ~1,170 MPa | ~40 HRC | Maximum strength is the driver and the environment is mild |
| H1025 | 552 °C | ~1,070 MPa | ~1,000 MPa | ~35 HRC | A middle point where strength still matters |
| H1075 | 579 °C | ~1,000 MPa | ~860 MPa | ~32 HRC | Strength with noticeably better ductility |
| H1150 | 621 °C | ~930 MPa | ~725 MPa | ~28 HRC | Toughness, impact resistance and sour service |
Those figures are typical published values for the standard conditions; your drawing’s own call-out governs, and where a specification sets its own minimums those are the ones that apply.
The practical reading is that H900 is not simply “the good one”. It is the strongest and the most brittle, and at maximum strength 17-4PH is the most susceptible to stress-corrosion cracking of any condition. Where a part sees chlorides, sulphides, or a sustained tensile load in a corrosive environment, H1150 or H1075 is usually the safer specification even though it gives up several hundred megapascals. Our heat treatment page covers how the aging step is arranged.
Machining 17-4PH
In Condition A, 17-4PH machines better than the 300-series austenitic grades and worse than 4140. It does not gall the way austenitic stainless does, and it is not prone to the same vicious work-hardening, but it is still a stainless: it conducts heat poorly, it is abrasive on edges, and it wants sharp tooling and a positive geometry.
What the material rewards:
- A decisive depth of cut. The same discipline as any stainless — no light spring passes to sneak up on a dimension.
- Sharp edges, replaced on condition. 17-4PH is abrasive, and a dull edge rubs, heats and work-hardens the surface.
- Flood coolant. The heat has to be carried away, because the material will not conduct it out of the cutting zone.
- Rigid workholding. Slender and thin-walled parts deflect, and a deflected stainless surface comes back harder than the rest of the part.
The one thing that catches people out is the sequence. Where a drawing specifies H900 and a tight tolerance, the correct route is to rough and semi-finish in Condition A, age, and then take the final light cuts or grind to size. Cutting a finished part to ±0.01 mm in Condition A and then aging it means the aging contraction moves the dimension after the inspection that approved it.
Aging distortion, and how it is handled
Aging is not dimensionally neutral. The precipitation reaction contracts the part slightly — typically on the order of a few ten-thousandths of an inch per inch of dimension, with the exact amount depending on the condition. On a 100 mm feature that is a few hundredths of a millimetre, which is the same order as the tolerance itself.
That is not a reason to avoid the alloy; it is a reason to plan the process. Three approaches cover almost every case:
- Aging allowance. Leave material on critical features, age, then finish to size
- Age first, then finish. Where the geometry allows it, age the near-net part and take the final cuts afterwards
- Post-aging inspection. Where neither is practical, critical dimensions are checked after aging rather than before
Saying which dimensions actually matter at the enquiry is what lets the process route be chosen before the first cut rather than discovered afterwards.
Where 17-4PH is the right answer
- Valve stems, trim and seats where strength and corrosion resistance are both needed
- Pump shafts, sleeves and wear rings
- Gears, splines and drive components that need hardness without a coating
- High-strength fasteners and studs — the grade behind a good deal of high-load stainless hardware
- Aerospace and defence brackets and fittings where a magnetic stainless is acceptable
- Instrument and marine components in duties milder than full sea-water immersion
- Any part where 410 or 416 has the strength but not the corrosion resistance, and a coating is not acceptable
In each case the alloy is being bought for one reason: it carries load or wear and it does not need painting, plating or greasing to survive the environment.
Where 17-4PH is the wrong answer
The duty is a chloride environment at sustained load. At high strength, 17-4PH is the most stress-corrosion-cracking-sensitive of the common stainless grades. Warm chlorides, sulphides and a permanent tensile load are the combination to avoid, and where a drawing calls for H900 in that service it is worth questioning rather than quoting. 316 or 316L is the safer specification there.
The requirement is non-magnetic. 17-4PH is strongly magnetic in every condition. If the drawing calls for non-magnetic, the grade is disqualified regardless of its strength.
The requirement is maximum corrosion resistance rather than strength. Where a part does not carry load, buying 17-4PH instead of 316 pays for strength that is not used and gives up corrosion resistance that is.
The service temperature is high and sustained. Prolonged exposure to elevated temperature overages the alloy — the same precipitation that raised the strength continues past its peak and the part softens. Where a part runs hot, say so at the enquiry.
Finishing 17-4PH
Passivation is the standard step after machining and aging, and it is worth noting that the passivation route for a martensitic precipitation-hardening grade differs from the route for an austenitic one — the alloy needs the treatment matched to its own composition. It removes free iron from the surface and restores the oxide film; it is not a substitute for choosing a corrosion-resistant grade where one is needed.
Other finishes that pair with 17-4PH:
- Sand blasting — a uniform matte surface for non-cosmetic parts
- Polishing and brushing — for visible or instrument-grade components
- Plating — where a specific wear or appearance requirement sits on top of the base material, arranged through our vetted partner network
All finishing runs through our vetted partner network, managed under one quality process. The grades we run across every process are listed on the materials page.
What to put on the drawing
| Instead of | Write |
|---|---|
| 17-4 PH stainless | 17-4PH, plus the condition — H900, H1025, H1075 or H1150 |
| 17-4PH, no condition | The condition is the specification; leaving it off leaves the strength undefined |
| 17-4PH, sea water at load | Review the duty — 316 or 316L is safer |
| 17-4PH, needs to be non-magnetic | Wrong grade — it is magnetic in every condition |
| 17-4PH, ±0.01 mm | Say which dimensions matter — the aging allowance is planned around them |
| 17-4PH, will be welded | Say so — the aging step has to be sequenced around the weld |
| 17-4 PH, running hot | Say the service temperature — sustained heat overages the alloy |
The two lines that decide most 17-4PH specifications are the condition and whether the duty contains chlorides under load. The first sets the strength and toughness you get; the second decides whether the alloy belongs in that service at all.
Material is bought against your drawing for your job, and every batch ships with a material certificate (MTR) tracing the grade and condition to its mill heat plus pre-shipment photos of the actual parts. Orders start at 50 pieces per style and material, samples from a single piece in 5–10 days, and production runs in 25–35 days after sample approval. Send the drawing through the request a quote form and the reply comes back within 24 hours with DFM feedback — including a note on the aging route where the condition and the tolerance are working against each other.
Frequently asked
- What is 17-4PH used for?
- Parts that need high strength and better corrosion resistance than a 400-series stainless. Typical work includes valve stems and trim, pump shafts and sleeves, gears and splines, high-strength fasteners and studs, aerospace brackets and fittings, and instrument and marine components where a magnetic stainless is acceptable.
- Why is it called 17-4 PH?
- The 17-4 refers to roughly 17% chromium and 4% nickel in the original designation. PH stands for precipitation hardening, which is the mechanism: the alloy is solution treated, machined, then aged at a lower temperature so that copper-rich particles precipitate within the martensitic matrix and block dislocation movement. That is what raises the strength, and it is why the process is a single low-temperature step rather than a quench and temper.
- Which condition should I specify — H900 or H1150?
- Higher aging temperature means lower strength and higher toughness. H900 gives roughly 1,310 MPa tensile at about 40 HRC and is chosen for maximum strength. H1150 gives roughly 930 MPa at about 28 HRC with much better ductility and resistance to stress-corrosion cracking, and it is the usual choice for sour service, for parts that see impact, and for anything that will be machined after aging. H1025 and H1075 sit between the two.
- Should the part be machined before or after aging?
- Before, in almost every case. 17-4PH is supplied in Condition A, which is machinable; at H900 the same material is around 40 HRC and cuts badly, wearing tooling fast. The standard route is to machine in Condition A, leave an allowance where the drawing calls for it, age to the specified condition, then finish by grinding or a light machining pass only where the tolerance demands it.
- Does 17-4PH distort during aging?
- It changes size slightly — the precipitation reaction contracts the part by a small amount, typically on the order of a few ten-thousandths of an inch per inch. On a tight-tolerance part that is not nothing, so the aging step is planned into the process rather than bolted on at the end, and critical dimensions are taken after aging or given an allowance that the aging contraction absorbs.
- Is 17-4PH magnetic?
- Yes. It is martensitic in every condition, so it is strongly magnetic, in contrast to the austenitic 300-series grades which are essentially non-magnetic when annealed. For some applications that is a reason to choose it; for others it rules it out, and a non-magnetic requirement should be stated on the drawing.
- Is 17-4PH as corrosion resistant as 316?
- No. It is a good deal better than the 400-series martensitic grades such as 410 and 416, and it performs well in many industrial and fresh-water duties, but it is not a chloride grade in the way 316 is, and at high strength it is more susceptible to stress-corrosion cracking. Where the duty is sea water, bleach or a chloride process fluid, 316 or 316L is the safer specification.
- Can 17-4PH be welded?
- It can, but welding a precipitation-hardening alloy needs a planned route: the weld and heat-affected zone end up in a different condition from the parent metal, and the assembly normally has to be aged after welding to even that out. On a machined part where welding is unavoidable, say so at the enquiry so the aging step can be sequenced around it.
Related pages
Other Stainless Steel materials
Have a part in Stainless Steel 17-4PH?
Send the drawing, the grade and the quantity. You get DFM feedback and a price within 24 hours, and orders start at 50 pieces per style and material.