This study analyzes the effectiveness of the Market Abuse Directive (MAD) in reducing possible profits from insider trading during takeover bids. Exploiting the quasi-experimental setting provided by the introduction of the MAD, our event-study analysis on the Italian market suggests that the new regulation did produce effects, for mandatory offers, on the magnitude of abnormal returns and volumes noted before their announcement. Instead, we find no effect for voluntary offers, which prove to be intrinsically different from the latter ones. Multivariate econometric analyses based on regression and matching methods confirm this result. We interpret our results in light of the choice problem of the optimal amount of insider trading, based on the comparison of marginal costs and benefits of the illegal activity, after considering the differences between voluntary and mandatory offers.