Abstract Milk’s qualitative and technological properties are greatly affected by genetic polymorphisms in the kappa-casein gene, and their polymorphisms may serve as informative markers of yield and composition. Thus, the objective of this study was to detect kappa-casein (kappa-CN) gene polymorphisms and their association with milk production traits in crossbred dairy cows. One hundred healthy crossbred (Friesian x Jenoubi) dairy animals between three and five years old were sampled for blood and milk during their first lactation. The genomic DNA was extracted from whole blood, and restriction fragment length polymorphism (RFLP-PCR) was used to determine the genotype of the kappa-CN gene. As a consequence of the restriction digestion of this fragment with Hind III, it showed three different restriction patterns: BB (453 base pairs uncut), AB (453, 206, and 225 base pairs), and AA (206 and 225 base pairs). Based on genetic diversity, the AB genotype was the most predominant (n = 67), with a frequency of 0.67. A variant genotype of the kappa-CN gene was associated with milk production traits in crossbred dairy cows. Animals with the AA variant produced a higher milk yield and a higher percentage of fat, casein, protein, and solids not fat (SNF) (P≤0.05) (1.397kg, 0.75%, 0.31%, 0.27%, and 0.68%, respectively) than those with the BB variant. A logistic regression analysis confirmed that the kappa-CN genotypes increase milk yield and casein content. Therefore, genetic variants of the kappa-CN gene could be used as genetic markers for improving milk production traits in dairy cattle.