This article deals with the process of obtaining quality raw milk by analyzing its lipid composition. The lipid composition of raw milk depends on many factors, among which, first of all, is the species, the composition of the diet and the physiological state of the breast. In recent years, a large amount of data has accumulated on the fluctuations of certain lipid parameters of milk depending on the type, age, lactation, diet, time of year, exercise, animal husbandry technology, physiological state of the lactating organism in general and breast status in particular. Factors of regulation of fatty acid composition of raw milk: genetically determined parameters of quality and safety; fatty acid composition of the diet; synthesis of fatty acids by microorganisms of the digestive tract; synthesis of fatty acids in the breast; physiological state of the breast. The milk of each species of productive animals has its own specific lipid profile and is used in the formulation of certain dairy products to obtain the planned technological and nutritional parameters. Diagnosis of productive animals for subclinical mastitis involves the use of auxiliary (thermometry, thermography, electrical conductivity) and laboratory research methods: counting the number of somatic cells; use of specialized tests; microbiological studies of milk; biochemical studies of milk. The biochemical component in the diagnosis of subclinical forms of mastitis is underestimated. An increase in body temperature implies an increase in the intensity of heat release during the oxidation of substrates, sometimes due to a decrease in the intensity of synthesis of energy-intensive compounds. There are simply no other sources of energy in the body. The situation is the same with certain parts of the metabolism, which are aimed at the development of protective reactions to the etiological factor aimed at the defeat of the breast. That is why the biochemical composition of breast secretions in the absence of clinical signs of mastitis undergoes biochemical changes and the task of scientists is to develop mechanisms for clear tracking of such changes, identification of animals with subclinical forms of mastitis and effective treatment.