Both factors play a role, but excessive heat is almost always the main culprit behind a split cheese sauce.
Cheese is essentially a delicate emulsion of water, milk fats, and protein (mainly casein). When you heat cheese gently, the fat melts and the protein relaxes, allowing everything to stay smoothly suspended. However, if the sauce gets too hot or boils, the milk proteins denature and tighten into hard clumps. As these protein networks contract, they squeeze out the trapped fat and moisture, leaving you with stringy curds floating in separated oil.
Regarding the cheese itself, modern standard block cheese is generally not the problem, but how it is prepared and chosen does matter. Pre-grated cheeses are coated in cellulose and potato starch to prevent clumping in the bag, and these coatings can hinder a smooth melt and disrupt your sauce. Highly aged, dry cheeses like extra-mature cheddar or Parmesan also have less moisture and protein structure, making them more prone to breaking unless supported by a binder.
To prevent splitting in the future, here are a few reliable techniques:
1. Use a starch base: Building your sauce on a classic flour-and-butter roux (like a Mornay sauce) or using cornstarch provides physical stabilizers that keep the fat droplets coated and emulsified.
2. Control the temperature: Always remove your saucepan from the heat source entirely before folding in freshly grated cheese. The residual heat of the warm liquid is more than enough to melt the cheese without breaking the proteins.
3. Grate your own block: Freshly grated cheese from a whole block melts far more consistently than pre-shredded bags.
If you ever need an emergency fix for a split sauce, taking it off the heat and vigorously whisking in a splash of warm milk or heavy cream can often bring the emulsion back together.