In the pig industry, piglets are weaned earlier than in nature. Early weaning has an impact on piglet growth and feeding behaviour, but this may differ, apart from the weaning age, according to the housing environment. Piglets from sow group housing systems (GH), where several litters and sows live together, may be better prepared for weaning than those from individual housing of sows with litters (IH) because increased freedom of movement and social contact as well as co-mingling litters before weaning are known to affect piglet social behaviour positively. However, these issues have rarely been investigated on commercial pig farms. Therefore, we assessed piglets playing, fighting and biting behaviour before and after weaning and how they were affected by the housing system and weaning age as well as how the three behaviours are related to each other and piglet post-weaning weight gain. We recorded playing, fighting and biting behaviour in 5 GH farms (6–11 lactating sows and their litters kept in a large straw-bedded pen), and in 5 IH farms (each sow and litter kept in a pen with less straw) in Sweden. We observed 16 piglets (2 males and 2 females per litter) from 4 litters (in GH farms belonging to the same group) in each farm on the day before weaning (W -1), the weaning day (W) and 5 days after weaning (W+5). Weaning was accomplished (without mixing litters) by removing the sows after on average 39 days of lactation. All statistics were based on farm averages. There was no difference between GH and IH farms in the frequency of playing, fighting or biting behaviour, and weaning age did not affect any of the three behaviours. However, the frequency of playing and fighting differed significantly across the three observation days. Play was higher on day W-1 and on day W than on W+5, fighting was lower on W-1 than on W or W+5. On W-1 and W+5, playing correlated with fighting but biting correlated with neither playing nor fighting. In farms with higher weight gain between W and W+ 5 days, piglets played and fought more on W+ 5 day. We conclude that social piglet behaviour around weaning was not different between GH and IH farms; play and fighting (but not isolated biting) seemed to form one continuum; and playing and fighting in weaned (nonmixed) piglets seemed to indicate good adaptation.