Li and Zn metals are considered promising negative electrode materials for the next generation of rechargeable metal batteries because of their non‐toxicity and high theoretical capacity. However, the uneven deposition of metal ions (Li+, Zn2+) and the uncontrolled growth of dendrites result in poor electrochemical stability, unsatisfactory cycle life, and rapid capacity decay of batteries assembled with Li and Zn electrodes. Owing to the unique internal directional channels and abundant redox active sites of covalent organic frameworks (COFs), they can be used to promote uniform deposition of metal ions during stripping/electroplating through interface modification strategies, thereby inhibiting dendrite growth. COFs provide a new perspective in addressing the challenges faced by the anodes of Li metal batteries and Zn ion batteries. This article discusses the stability and types of COFs, and summarizes some novel COF synthesis methods. Additionally, it reviews the latest progress and optimization methods of using COFs for metal anodes to improve battery performance. Finally, the main challenges faced in these areas are discussed. This review will inspire future research on metal anodes in rechargeable batteries.