A method for sampling milk in a milking machine includes the steps of attaching teat cups to teats of an animal and starting to milk said teats; receiving a first amount of milk in a milk receiver while keeping an outlet valve device open; closing the outlet valve device; continuing the receiving of milk in the milk receiver; agitating the milk in the milk receiver using an agitation device of a milk sampling arrangement; taking a regular milk sample from the milk in an outlet portion of the milk receiver using a milk sample device of the milk sampling arrangement; and opening the outlet valve device so that the milk can be transferred to a milk tank.