Milk Dish Soap & Food Coloring: A Scientific Explanation

Nicole Jul 28, 2026

Ever wondered about the curious case of milk turning blue when mixed with dish soap and food coloring? This seemingly magical reaction is a fascinating demonstration of science in action. Let's dive into the details behind this captivating phenomenon.

Magic Milk Experiment For Kids (Colorful Kitchen Chemistry!)
Magic Milk Experiment For Kids (Colorful Kitchen Chemistry!)

At the heart of this experiment lies the interaction between the proteins in milk, the surfactants in dish soap, and the dyes in food coloring. When these three components come together, they create a mesmerizing display of colors and patterns. But what exactly is happening?

Fun with Milk, Food Coloring, Q-Tip, and Dish Soap
Fun with Milk, Food Coloring, Q-Tip, and Dish Soap

Understanding the Role of Milk Proteins

Milk is primarily composed of water, fats, carbohydrates, and proteins. The proteins in milk, namely casein, are crucial to this reaction. Casein molecules are large and complex, with both hydrophilic (water-loving) and hydrophobic (water-fearing) parts. In plain milk, these proteins are suspended in a stable, colloidal state.

59K views · 760 reactions | Got expired milk? Don’t throw it away! Use it for a fun science experiment! 🤗 All you need is the milk (the fattier the better!), food coloring, and dish soap! Explain to the kids tha | 7 Days of Play
59K views · 760 reactions | Got expired milk? Don’t throw it away! Use it for a fun science experiment! 🤗 All you need is the milk (the fattier the better!), food coloring, and dish soap! Explain to the kids tha | 7 Days of Play

However, when dish soap is introduced, the surfactants in the soap disrupt this stability. Surfactants are molecules with both hydrophilic and hydrophobic ends, allowing them to bind to the casein proteins and form micelles. These micelles are spherical structures with the hydrophobic ends tucked inside and the hydrophilic ends facing out, making them water-soluble.

How Dish Soap Affects Casein Proteins

a person holding a paintbrush in their hand while painting a bowl with food coloring
a person holding a paintbrush in their hand while painting a bowl with food coloring

Dish soap molecules attach to the casein proteins, breaking apart the stable protein structures and causing them to clump together. This process is known as micelle formation. The micelles are then dispersed throughout the milk, creating a cloudy, white solution.

The size and shape of these micelles can vary, leading to the unique patterns and colors we see in the milk dish soap reaction. The addition of food coloring further enhances this visual spectacle by binding to the micelles and creating vibrant, swirling colors.

The Role of Food Coloring in the Reaction

Milk, Dye & Dish Soap Experiment • Capturing Parenthood
Milk, Dye & Dish Soap Experiment • Capturing Parenthood

Food coloring is essentially a water-soluble dye that can bind to the micelles formed by the interaction of milk proteins and dish soap. The dyes are attracted to the hydrophobic centers of the micelles, giving them their vibrant colors. Different colors may behave slightly differently due to variations in their molecular structures.

The colors can create mesmerizing patterns as they move and mix, often creating a "tie-dye" effect. The exact patterns can vary depending on the type of milk, dish soap, and food coloring used, as well as the order in which they are combined.

The Science Behind the Color Changes

Fun with Milk, Food Coloring, Q-Tip, and Dish Soap
Fun with Milk, Food Coloring, Q-Tip, and Dish Soap

The color changes observed in the milk dish soap reaction are a result of several factors, including the way light is reflected and absorbed by the micelles and the dyes. When light hits the micelles, it can be reflected or absorbed in different ways depending on the size and composition of the micelles.

The dyes in the food coloring further alter the way light is absorbed and reflected. Different colors absorb and reflect different wavelengths of light, leading to the vibrant colors we see. For example, blue food coloring absorbs red and green wavelengths of light, reflecting back the blue wavelengths that our eyes perceive as the color blue.

Easy Magic Milk Art for Kids
Easy Magic Milk Art for Kids
Milk, Food Coloring, and Dish Soap Experiment - Lil Tigers Lil Tigers
Milk, Food Coloring, and Dish Soap Experiment - Lil Tigers Lil Tigers
8.1K views · 48 reactions | 🥛✨ Magic Milk Color Explosion – Swirling Science Fun! 🌈🫧 🎨 What You’ll Need: Whole milk (the higher the fat, the better!) Shallow dish or plate Liquid food coloring (several br | Busy Kitchen Recipes
8.1K views · 48 reactions | 🥛✨ Magic Milk Color Explosion – Swirling Science Fun! 🌈🫧 🎨 What You’ll Need: Whole milk (the higher the fat, the better!) Shallow dish or plate Liquid food coloring (several br | Busy Kitchen Recipes
EASY Color Changing Milk Science Experiment
EASY Color Changing Milk Science Experiment
Glue, food coloring and dish soap  Awesome Science
Glue, food coloring and dish soap Awesome Science
Milk, Dye & Dish Soap Experiment • Capturing Parenthood
Milk, Dye & Dish Soap Experiment • Capturing Parenthood
COLOR CHANGING MILK LAB ACTIVITY WORKSHEET
COLOR CHANGING MILK LAB ACTIVITY WORKSHEET
Creating Art with Milk, Soap, & Food Coloring!
Creating Art with Milk, Soap, & Food Coloring!
Marbled Milk Paper Project
Marbled Milk Paper Project
someone is using a blue bottle to dip paint into a bowl
someone is using a blue bottle to dip paint into a bowl
3.5M views · 25K reactions | Milk, Food Coloring and Dish Soap 🤯 | John Nonny
3.5M views · 25K reactions | Milk, Food Coloring and Dish Soap 🤯 | John Nonny
Magic Milk Experiment Using Food Coloring, Dish Soap, and Milk (Chemistry)
Magic Milk Experiment Using Food Coloring, Dish Soap, and Milk (Chemistry)
the process of painting a plate with watercolors is shown in four different stages
the process of painting a plate with watercolors is shown in four different stages
Tie-Dyed Milk & Shaving Cream Prints
Tie-Dyed Milk & Shaving Cream Prints
a yellow bowl filled with colorful liquid on top of a table
a yellow bowl filled with colorful liquid on top of a table
Magic Milk: Milk at the molecular level
Magic Milk: Milk at the molecular level
Magic Milk Art
Magic Milk Art
Our Halloweeen Science Fun continues 👻 We did the magic milk experiment 2 different ways! You need: - milk - food coloring - dish soap - q tip Comment below “tray” and I’ll send you the link. We use a large resin mold and it’s perfect for all our sensory play! Easy to clean and affordable 🤌🏼 #halloweenactivities #scienceforlittles #scienceexperiment #scienceforkids #scienceexperiments #scienceathome #scienceexperimentsforkids #scienceiscool Dish Soap Milk And Food Coloring, Milk And Oil Experiment For Kids, Magic Milk Science Experiment Preschool, Colorful Milk And Soap Experiment, Magic Milk Experiment Preschool, Milk Food Coloring Dish Soap Experiment, Milk And Dish Soap Experiment, Magic Milk, Milk Food Coloring And Dish Soap Experiment
Our Halloweeen Science Fun continues 👻 We did the magic milk experiment 2 different ways! You need: - milk - food coloring - dish soap - q tip Comment below “tray” and I’ll send you the link. We use a large resin mold and it’s perfect for all our sensory play! Easy to clean and affordable 🤌🏼 #halloweenactivities #scienceforlittles #scienceexperiment #scienceforkids #scienceexperiments #scienceathome #scienceexperimentsforkids #scienceiscool Dish Soap Milk And Food Coloring, Milk And Oil Experiment For Kids, Magic Milk Science Experiment Preschool, Colorful Milk And Soap Experiment, Magic Milk Experiment Preschool, Milk Food Coloring Dish Soap Experiment, Milk And Dish Soap Experiment, Magic Milk, Milk Food Coloring And Dish Soap Experiment

The Impact of pH on Color Changes

The pH of the milk can also affect the colors produced in the reaction. The casein proteins in milk are sensitive to pH changes, and as the pH drops (becoming more acidic), the proteins can coagulate and form larger, more visible clumps. This can lead to changes in the colors and patterns produced.

For instance, adding lemon juice or vinegar to the milk before adding dish soap can create a more dramatic color change, often resulting in a green or yellow color. This is due to the change in pH causing the casein proteins to coagulate differently, altering the way the food coloring binds to the micelles.

The Effect of Soap Concentration on Color Changes

The concentration of dish soap can also influence the colors and patterns produced in the milk dish soap reaction. Using more or less soap can change the size and stability of the micelles, leading to different color outcomes.

For example, using a small amount of soap may result in a more subtle color change, while using a larger amount can create more vibrant and dramatic colors. The order in which the soap and food coloring are added can also affect the final color, with some methods producing more consistent results than others.

This captivating reaction is not only a fun and engaging way to explore the science behind milk, soap, and food coloring, but it also serves as a powerful reminder of the fascinating world of chemistry that exists all around us. So the next time you're in the kitchen, why not give this experiment a try and marvel at the wonders of science in action?