2D heterostructured materials combining ultrathin nanosheet morphology, defined pore configuration, and stable hybrid compositions, have attracted increasing attention for fast mass transport and charge transfer, which are highly desirable features for efficient energy storage. Here, the chemical space of 2D-2D heterostructures is extended by covalently assembling covalent organic frameworks (COFs) on MXene nanosheets. Unlike most COFs, which are generally produced as solid powders, ultrathin 2D COF-LZU1 grows in situ on aminated Ti 3 C 2 T x nanosheets with covalent bonding, producing a robust MXene@COF heterostructure with high crystallinity, hierarchical porosity, and conductive frameworks. When used as lithium hosts in Li metal batteries, lithium storage and charge transport are significantly improved. Both spectroelectrochemical and theoretical analyses demonstrate that lithiated COF channels are important as fast Li + transport layers, by which Li ions can be precisely nucleated. This affords dendrite-free and fast-charging anodes, which would be difficult to achieve using individual components.