Food Chemistry & Protein Science · The Science of Food · Episode 23

The Science of Eggs

Why does an egg white turn solid when you cook it?

By The Food Aisle7–9 min read

A fried egg in a dark pan, its white changing from clear on the left to opaque white on the right, with folded and unfolded protein chains above

From transparent to white.

A raw egg white is transparent, slippery and liquid.

But once it meets heat, something remarkable happens.

It turns white, thickens and becomes firm.

The egg hasn't simply dried out. Its proteins have changed their structure and formed a new network.

This process is called protein denaturation and coagulation.

Let's explore the science behind one of the most familiar transformations in the kitchen.

01What is inside an egg?

A cross-section of a whole egg showing the shell, membranes, air cell, egg white (albumen) and yolk
Shell, membranes, albumen and yolk.

An egg contains several components, but the two most familiar are the white and the yolk.

Egg white is composed mostly of water, with a mixture of proteins.

The yolk contains fats, proteins, water, vitamins and minerals.

These two parts behave differently during cooking because their compositions and structures are different.

02What is protein denaturation?

A tightly folded protein chain unfolding into a loose strand as heat is applied
Heat unfolds the protein.

Proteins are made of chains of amino acids folded into complex three-dimensional structures.

Their shape influences how they behave.

When an egg is heated, the energy disrupts interactions that help maintain the proteins' original structure.

The proteins unfold.

This is called denaturation.

The proteins do not simply vanish. Their original shapes change, exposing regions that can interact with other proteins.

03How does a liquid become solid?

Unfolded egg proteins linking into a three-dimensional network with water molecules trapped inside
Coagulation: a protein network traps water.

After unfolding, egg proteins can aggregate and form connections with one another.

They create a three-dimensional network.

This network traps water and other components, giving the cooked egg its firm structure.

The transformation is known as coagulation.

This is why a cooked egg white no longer flows like a raw egg white.

04Why does the egg turn white?

Light passing straight through clear raw egg white, and scattering in many directions in opaque cooked egg white
Aggregated proteins scatter light.

A raw egg white allows light to pass through relatively clearly.

As proteins denature and aggregate during cooking, the structure becomes more heterogeneous.

These structures scatter light in different directions.

That scattering makes the cooked egg white appear white and opaque.

The colour change is a visible sign of structural transformation.

05Why does an overcooked egg become rubbery?

A tender soft-boiled egg beside a firm overcooked egg, with a loose protein network next to a tight, water-squeezing network
A tighter network holds less water.

Cooking time and temperature influence the final texture.

When an egg is heated, proteins form a network.

If heating continues excessively, that network can become tighter and the egg may lose more moisture.

The result is a firmer, rubberier texture.

This explains why cooking time matters so much when preparing eggs.

06What causes the green ring around a hard-cooked egg?

A hard-boiled egg cut in half with a greenish-grey ring around the yolk, and iron and sulfur combining to form iron sulfide
Iron + sulfur → iron sulfide.

Sometimes a hard-cooked egg develops a greenish-grey ring around the yolk.

This happens when sulfur compounds from the egg white react with iron from the yolk.

The reaction can form iron sulfide, which produces the characteristic discolouration.

It is generally harmless and is often associated with excessive cooking or slow cooling.

A suitable cooking time and prompt cooling can help reduce its formation.

07Eggs in food manufacturing

A cake, a bowl of meringue, a jar of mayonnaise and a carton of liquid egg, with the jobs egg proteins do in each
Structure, foams, binding and emulsions.

Egg proteins perform several important functions in food manufacturing.

They can:

  • Form structure in baked goods.
  • Stabilise foams.
  • Help bind ingredients.
  • Contribute to texture.
  • Influence the appearance of products.

For example, egg whites are used to create meringue, while egg yolks contribute to the emulsifying properties of mayonnaise.

The same protein chemistry that transforms an egg in your frying pan is important in many commercial food products.

08Try this: the egg cooking comparison

Three boiled eggs cut open after different cooking times, showing runny, soft and fully set yolks
Same eggs, three cooking times.

Observe how time and heat change the protein structure.

09The big takeaway

Cooking an egg is a simple demonstration of protein chemistry.

Heat unfolds proteins, encourages them to interact and creates a network that transforms liquid egg white into a firm structure.

The next time you crack an egg into a hot pan, remember: you're watching proteins reorganise in real time.

← All episodes of The Science of Food

Watch the full videos

Watch this episode in 3D

Every episode of The Science of Food has an animated video. Watch the full episodes on YouTube, and the short reels on Instagram and Facebook.