We investigate the effect of patent disclosures on corporate innovation. Using the American Inventor's Protection Act (AIPA) as a shock that increased patent disclosures, we find an increase in innovation for firms whose rivals reveal more information after the AIPA and a decrease in innovation for firms whose own disclosures are divulged to competitors as a result of the law. These findings suggest patent disclosures generate both spillover benefits and proprietary costs. Our findings provide justification for patent disclosure requirements by demonstrating positive externalities: rivals' disclosures facilitate a firm's innovation. However, we also highlight that mandatory patent disclosures can impose proprietary costs on firms. These results broadly contribute to our understanding of the real effects of disclosure, such that forcing firms to share proprietary information can be privately costly but beneficial to other firms. • Firms whose rivals disclose patents more timely after implementation of the AIPA produce more innovation. • Firms whose own patents are revealed sooner after the AIPA reduce innovation. • The number of patents, R&D and Capex are increasing in the extent to which firms benefit from rivals' disclosures. • The innovation effects are stronger for firms in industries where patents are an important source of technical disclosures. • These results broadly contribute to our understanding of the real effects of disclosure, such that forcing firms to share proprietary information can be privately costly but beneficial to other firms.