Heat treatment tailors steel properties through controlled heating and cooling to manipulate microstructure. Annealing (heat and slow cool) softens hardened steel by forming equilibrium phases. Quenching (rapid cooling from austenite phase) traps non-equilibrium martensite (hard, brittle). Tempering (low-temperature reheating) reduces hardness and brittleness by allowing carbide precipitation and stress relief. Different combinations produce steels optimized for hardness, strength, toughness, or machinability.
Your prerequisite on binary phase diagrams gave you a powerful tool: the iron-carbon diagram tells you which phases — ferrite (α), austenite (γ), cementite (Fe₃C), and their mixtures — are thermodynamically stable at any given temperature and carbon content. Heat treatment is the art of exploiting this diagram strategically. The key insight is that you can reach states that are not at equilibrium by controlling *how fast* you move through the diagram — not just where you go, but how quickly you leave.
Start with annealing, the simplest process: heat the steel into the austenite region (above ~727°C for most compositions), hold it there to homogenize the structure, then cool it very slowly — often inside the furnace at just a few degrees per minute. At this pace, the iron-carbon system has time to reach equilibrium at every temperature during cooling. Carbon atoms can diffuse, phases can nucleate and grow, and the final microstructure consists of equilibrium phases: soft ferrite grains and lamellar pearlite (alternating layers of ferrite and cementite). The result is a soft, machinable steel. Annealing is typically used after forming operations that work-hardened the material, or before precision machining where tool wear matters.
Quenching takes the opposite approach: heat into austenite, then plunge the steel into water, oil, or another quench medium so rapidly that carbon atoms have no time to diffuse out of solution. The austenite lattice (FCC) wants to transform to the equilibrium BCC ferrite structure, but with carbon atoms trapped inside, it can't form the normal BCC structure. Instead, the lattice distorts into a body-centered tetragonal (BCT) structure — martensite — with carbon locked interstitially in the highly strained lattice. This strain is what makes martensite so hard (often 60+ HRC) and also extremely brittle. The steel has been pushed far from equilibrium; it is in a metastable, highly stressed state.
Tempering bridges the gap between the extreme hardness of as-quenched martensite and the ductility required for most applications. By reheating the quenched steel to a temperature between about 150°C and 650°C, you give carbon atoms just enough thermal energy to diffuse short distances and precipitate as fine carbide particles within the martensite matrix. This relieves the extreme lattice distortion and reduces residual stresses — hardness drops, but toughness and ductility improve substantially. The tempering temperature is the control knob: low temperatures (150–250°C) produce tool steels with high hardness; high temperatures (500–650°C) produce structural steels with excellent impact resistance. The combination of quench + temper is called quench-and-temper treatment and is the workhorse process for high-performance engineering steels. The same steel composition can be tuned across a wide range of mechanical property combinations simply by adjusting these thermal parameters.