The present invention relates to a method of treating a whey protein by microparticulation. The microparticulation comprises heat treatment and mechanical processing of the whey protein. The method comprises the steps that the protein concentrate is caused to pass a high pressure pump and that the protein concentrate, at elevated pressure, is thereafter heat treated. After the heat treatment, the protein concentrate undergoes a mechanical processing.