Cooking at the molecular level: what actually happens when you boil, bake, or roast

Most of the time, we follow recipes and trust instructions like “preheat to this temperature” or “cook for this long” without giving much thought to what’s actually changing inside the food. Which is completely fine — until something doesn’t go as expected and you’re not sure why. Cooking is full of processes happening at the molecular level that nobody talks about in a recipe’s introduction or notes, and understanding them tends to make everything click into place: why certain temperatures matter, why timing is more than a guideline, and why the same ingredient behaves differently depending on how you apply heat.

This post goes through what’s actually happening to food when you boil, bake, or roast — covering proteins, starches, fats, sugars, and water. The goal is practical: give you a clearer picture of what’s going on inside the food, so the decisions you make in the kitchen (and on set) feel more intentional.


Why heat matters: the link between cooking temperatures and molecular change

When we cook, we’re using heat to rearrange the structure of food. That structure is built on a few major molecules (proteins, carbohydrates like starch and sugar, water, and fats), and each of them reacts differently to heat. Those reactions are what give food its textures, flavours, aromas, and appearance.

Heat moves through food in three distinct ways. Conduction is direct contact with a hot surface, like searing in a pan. Convection is heat transfer through air or liquid, which is what happens in an oven or a pot of boiling water. Radiation is heat transfer through electromagnetic waves, like cooking under a grill. Knowing which method is at play helps explain how evenly something will cook and why different parts of the same dish can behave quite differently.

Protein denaturation and coagulation

Proteins are long chains of amino acids folded into specific shapes. When exposed to heat, those shapes begin to unravel — a process called denaturation. As heating continues, the unravelled proteins form new bonds with each other and coagulate into a solid structure. It’s the same fundamental process whether you’re cooking an egg, a piece of fish, or a chicken breast, even though the results look and taste completely different.

With eggs, the whites and yolk firm up as the proteins bond tightly during denaturation, which is why the difference between a soft-boiled and a hard-boiled egg comes down entirely to time and temperature, not technique. With meat, muscle proteins denature and coagulate as heat penetrates, which is what causes it to firm up. Push the temperature too high for too long and those proteins tighten excessively, squeezing the moisture out. The result is dry meat, and there’s no cooking technique that reverses it once it’s happened.

For recipe development and food styling, understanding denaturation is what separates intentional decisions from guesswork. A runny yolk, a custardy texture, a tender piece of protein: all of these depend on controlling both the final temperature and the rate at which heat is applied.

Starch gelatinisation

Starches (found in flours, grains, and root vegetables) behave quite differently from proteins under heat. When heated with water, starch granules absorb moisture and begin to swell. Around 60–75°C they start to gelatinise: the granules burst and release their contents into the surrounding liquid, thickening it in the process.

In baking, this is what gives structure to cakes, breads, and muffins as they transition from batter to crumb. In sauces and custards, the temperature needs to be precise — high enough for the starch to thicken the mixture, but not so high that any egg present scrambles in the process. It’s a narrower window than most recipes make it sound.

From a styling perspective, gelatinisation is one of those things that shows up clearly on camera even when you’re not looking for it. A sauce that’s been overworked or cooked too long at high heat can easily become dull and thick in a way that looks unappetising on camera, regardless of how it tastes. Undercook it and the opposite happens — the sauce looks thin or separated, and anything that was meant to hold a shape won’t. Temperature control during cooking is as much a styling decision as anything else done on set.

Fat melting and its impact on texture

Fats soften and melt at different temperatures depending on their composition, and those differences show up in the cooking and in the final result. Butter starts softening noticeably around 20°C and is fully melted by around 32–35°C, which means in a warm kitchen, it’s already changing state before it goes anywhere near a pan.

In pastry, cold butter is kept cold deliberately. The small pieces of solid fat create steam as they melt during baking, and that steam is what produces the layers in puff pastry or the flakiness in a shortcrust. Soft butter behaves completely differently: in a cake batter, it distributes more evenly, producing a smoother, more uniform crumb rather than distinct layers.

For food styling, the melting behaviour of fats is something to keep in mind before the shoot rather than during it. Whipped cream without a stabiliser, fat-based glazes, and sauces with a high butter content all have a point at which they stop looking right — the sheen doesn’t look great anymore, the structure softens, or the fat begins to pool separately. Knowing roughly when that happens for a given dish means you can plan the shot around it rather than rushing because something is already starting to go.

Sugar caramelisation and browning reactions

Sugar undergoes a significant chemical change when heated beyond a certain point. Above approximately 160°C, it begins to caramelise — breaking down and reforming into complex compounds that produce the golden-brown colour and the characteristic bittersweet depth you get in roasted vegetables, baked goods, and certain sauces. The flavour change is pretty dramatic when you consider the simplicity of the starting material, which is part of why caramelisation is so useful as a cooking technique, even when it isn’t the main event.

The Maillard reaction is related but distinct: it involves amino acids and reducing sugars reacting together rather than sugar breaking down alone, and it begins at a lower temperature, around 140–165°C. It’s responsible for the crust on bread, the colour on roasted meat, and the surface of a seared vegetable. The two reactions can happen simultaneously in the same food, and both contribute to browning, but they produce different compounds and different flavour profiles. Confusing them, or treating them as the same thing, tends to lead to imprecise explanations of why food tastes the way it does.

From a photography and styling perspective, it’s important to understand both reactions because the visual results are quite different. Caramelisation tends to produce a deeper, more uniform colour. Maillard browning produces a more complex, textured surface with variation in depth and tone — the kind that catches light in many interesting ways. There’s a full breakdown of the Maillard reaction specifically in this post.

Water evaporation and moisture control

Water behaves predictably when heated: it evaporates at 100°C at standard atmospheric pressure — but its role in cooking is more varied than that single fact suggests. How much water is present in a food, and at what stage it leaves, shapes the texture, structure, and appearance of the final result considerably.

In baking, steam is an asset in the early stages. Water in the batter or dough converts to steam as the oven heats up, and that expanding gas is part of what causes things to rise before the structure sets. If the oven is too cool, the steam escapes before the proteins and starches have firmed up enough to hold their shape, which is one of the more common reasons baked goods collapse or don’t rise evenly.

With roasting, surface moisture is the thing standing between you and proper browning. Water at the surface keeps the temperature there from climbing above 100°C while it evaporates, which is below what the Maillard reaction needs to proceed. Patting food dry before it goes into the oven or onto a hot pan removes that barrier and lets the surface temperature rise quickly, which is why it makes a visible difference to the colour and texture of the result.

On set, moisture is something I manage actively throughout a shoot rather than leaving it to chance. Steam rising from freshly cooked food can add a sense of immediacy to a shot, but the window for it is short and depends on the temperature difference between the food and the surrounding air. Surface moisture on fresh herbs, dressed salads, or chilled fish creates a kind of luminosity that dry surfaces don’t have, and knowing when to add or remove it is a consistent part of how I style food. The science of food styling post goes into this in more detail for anyone who wants to explore it further.


Why these changes matter for recipe development

Understanding what’s happening at a molecular level makes troubleshooting more accurate and less problematic. A cake that sinks in the middle was likely underbaked, or the structure hadn’t set before the air inside escaped. A sauce that splits has usually broken as an emulsion — either from overheating or an imbalance in the fat-to-water ratio. A dense bread crumb is often a leavening issue: not enough gas was produced, it escaped too early, or the gluten was overdeveloped through overmixing, making the crumb tight rather than open.

These are all processes with identifiable causes, even when something going wrong in the kitchen feels closer to a mystery than a mistake. Knowing what to look for makes the fix considerably more straightforward than starting from scratch or adjusting by feel alone.

Why these changes matter for food photography and styling

Heat changes texture, surface, structure, and colour, all of which affect how food looks on camera. A sauce needs to be caught at the point where it’s still fluid enough to pour but not so thin that it loses its body. Roasted vegetables look their best at the moment browning peaks, before the surface starts to dull. Crumb and crust contrast depends on understanding how browning develops over time and at what temperatures, so you can time the shot rather than hope for it.

Moisture management on set follows the same logic: whether condensation will form on a cold glass, how long steam will be visible above a hot dish, and when a dressed salad will start to wilt. These aren’t styling intuitions so much as predictable outcomes of basic chemistry, and treating them that way makes the whole process more reliable.


More from the food science archive

If this kind of post is useful to you, the food and food science section of the blog covers related topics, including a detailed breakdown of the Maillard reaction, the science of emulsification, what acidity does to flavour, and how food science shapes styling decisions on set.

Working with someone who thinks about food this way

I’m Chiara, a food photographer and stylist, videographer, recipe developer and social media specialist based in Dublin, with an MSc in chemistry, a certification in nutrition, and a diploma in digital marketing. I work with food, drink, and wellness brands across Ireland and internationally, blending creativity and science with nearly a decade of experience in the industry. If you want to understand more about my background and approach, this post covers it in full.

If you’re a brand whose visuals don’t yet reflect the quality of what you’ve built, get in touch using the button below.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.