Tumor surgical resection is the major strategy for cancer treatment. Meanwhile, perioperative treatment especially the postoperative adjuvant anticancer strategies play essential roles in satisfying therapeutic results and rapid recovery. Postoperative tumor recurrence, metastasis, bleeding, inter‐tissue adhesion, infection, and delayed wound healing are vital risks that could lead to poor prognosis or even treatment failure. Therefore, methods targeting these postoperative complications are in desperate need. In situ biomaterial‐based drug delivery platforms are promising candidates for postoperative treatment and recovery, resulting from their excellent properties including good biocompatibility, adaptive shape, limited systemic effect, designable function, and easy drug loading. In this review, we focus on introducing the gel/hydrogel‐based in situ biomaterial platforms involving their properties, advantages, and synthesis procedures. Based on the loaded contents in the gel/hydrogel such as anticancer drugs, immunologic agents, cell components, and multifunctional nanoparticles, we further discuss the applications of the in situ platforms for postoperative tumor recurrence and metastasis inhibition. Finally, other functions aiming at fast postoperative recovery were introduced, including hemostasis, antibacterial infection, adhesion prevention, tissue repair, and wound healing. In conclusion, gel/hydrogel is a developing and promising platform for postoperative treatment, exhibiting gratifying therapeutic effects and inconspicuous toxicity to normal tissues, which deserves further research and exploration.