Silvopastoral systems can be a good alternative for sustainable livestock production because they can provide ecosystem services and improve animal welfare. Most farm animals live in groups and the social organization and interactions between individuals have an impact on their welfare. Therefore, the objective of this study was to describe and compare the social behaviour of cattle (Bos indicus×Bos taurus) in a silvopastoral system based on a high density of leucaena (Leucaena leucocephala) combined with guinea grass (Megathyrsus maximus), star grass (Cynodon nlemfuensis) and some trees; with a monoculture system with C. nlemfuensis, in the region of Merida, Yucatán. Eight heifers in each system were observed from 0730 to 1530 h each day for 12 consecutive days during the dry season and 12 consecutive days during the rainy season. The animals followed a rotation between three paddocks, remaining 4 days in each paddock. The vegetation was characterized in the paddocks of the silvopastoral system to estimate the average percentage of shade provided. To make a comparison between systems, we used a t test with group dispersion, and Mann–Whitney tests with the frequency of affiliative and agonistic behaviours. We assessed differences in linearity and stability of dominance hierarchies using Landau’s index and Dietz R-test, respectively. The distance of cows with respect to the centroid of the group was shorter, and non-agonistic behaviours were 62% more frequent in the intensive silvopastoral system than in the monoculture one. Heifers in the silvopastoral system had a more linear and non-random dominance hierarchy in both seasons (dry season: h’=0.964; rainy season: h’=0.988), than heifers in the monoculture system (dry season: h’=0.571, rainy season: h’=0.536). The dominance hierarchy in the silvopastoral system was more stable between seasons (R-test=0.779) than in the monoculture system (R-test=0.224). Our results provide the first evidence that heifers in the silvopastoral system maintain more stable social hierarchies and express more sociopositive behaviours, suggesting that animal welfare was enhanced.