Milk turns brown when boiled too long due to the Maillard reaction, a chemical reaction between amino acids and reducing sugars, and caramelization of lactose. This process creates melanoidins, which are brown-colored compounds.
When milk is heated, several things happen. First, the proteins in the milk, primarily casein and whey, begin to denature. This means they unfold and change shape. Second, the lactose, or milk sugar, starts to break down. When milk is boiled for an extended period, the Maillard reaction kicks into high gear. This reaction involves the amino acids from the milk proteins and the reducing sugars (like lactose) that are present. The Maillard reaction produces a complex mixture of compounds, including melanoidins, which are responsible for the brown color. Simultaneously, the lactose itself can undergo caramelization, a process where sugars are heated to high temperatures, resulting in browning and the development of characteristic flavors. The longer the milk is boiled, the more pronounced these reactions become, leading to a darker brown color and a potentially burnt flavor.
To prevent milk from browning and scorching, use a heavy-bottomed saucepan and stir it frequently while heating. This helps distribute the heat evenly and prevents the milk solids from sticking to the bottom and burning.