We demonstrate that two intertwined activities of music piracy, unauthorized obtaining and unauthorized sharing, are differentially influenced by the same social learning environment. We develop a structural model and test it using survey data from a prime demographic set of respondents who engage in music piracy. Considering behavioral heterogeneity, we employ a factor mixture modeling technique to classify respondents into different groups that highlight distinct patterns of social learning influences. We find that the differential effects of social learning factors on obtaining and sharing persist across these groups. We further utilize demographic variables to profile members in each group for segmentation insights. From a theoretical perspective, our findings advance the understanding of music piracy and suggest the importance of separating obtaining from sharing activities when studying piracy. From a managerial perspective, our research provides new avenues for managers and policymakers to design targeted incentives to curtail music piracy.