As the main form of digital trade, cross-border e-commerce plays an important role, allowing China to expand its opening-up and promote the optimal foreign trade structure. It also provides opportunities for Chinese enterprises to develop digital technology. From the perspective of the establishment of China's cross-border e-commerce comprehensive pilot zone (CBECPZ), this article uses the multi-period DID method to examine the effects of cross-border e-commerce on enterprise digital technology innovation based on listed companies in the Shanghai and Shenzhen stock markets from 2007 to 2020. The CBECPZ dramatically promotes enterprise digital technology innovation. The mechanism test shows that the CBECPZ promotes digital technology innovation by financing constraint alleviation, digital transformation, and producer service industry agglomeration. The heterogeneity test shows that the direct effect is more significant in the enterprises of large-scale, non-state-owned, with high ICT correlation and in areas with strong government resource allocation capabilities. The research findings have important reference value for how to utilize cross-border e-commerce to promote digital technology innovation, and they also provide directional references for other developing countries to develop cross-border e-commerce.