The polymorphisms of LEPR and MC4R genes are involved in appetite control mechanisms and indirectly associated with level of fat content in pig carcasses. Therefore, the aim of our study was to determine if both polymorphisms have an effect on components of colostrum and milk of sows. In our study we used gilts of two Polish breeds: Polish Landrace and Polish Large White, which belong to dam-line in Polish breeding. Colostrum and milk of sows were collected in 7, 14 and 21 day of lactation to assay solids, total protein, fat and lactose. The obtained results showed, that the observed mutation (G/A 1426 MC4R) had a significant effect mainly on the fat and solids content of colostrum. Animals with the MC4R AA genotype had 2.13 and 1.91 % (P ≤ 0.01) lower fat content of colostrum compared to sows with the MC4R GG genotype and heterozygous MC4R AG. The presence of the MC4R A allele in the animals’ genotype contributed to a decrease in fat and solids content of colostrum. The LEPR/HpaII mutation was found to have a considerable effect on the level of most colostrum components (fat, protein and solids) in both pig breeds. Significant decrease in the value of the colostrum components (except lactose) was observed only for animals with the allele LEPR B. The results obtained suggest that these genes might be used in selection of dam-line pigs as genetic markers of milk quality.