Digital piracy is rampant in developing countries, including Indonesia. Each year, it hascaused billions of dollars of loss to many industries, such as software, video game, ?lmand music industries. The present study aims to examine the determinants of attitudetowards digital piracy and to explore whether gender matters in explaining the attitude. Aconvenience sample of 223 university students in Daerah Istimewa Yogyakarta,Indonesia, participated in the research. The results show that males have a more positiveattitude towards digital piracy than females. The determinants of attitude towards digitalpiracy among female consumers are affective beliefs, perceived importance of digitalpiracy issue and Machiavellianism, while the predictors for the male counterparts includeaffective beliefs, perceived importance of digital piracy issue and moral judgment.