Epidural adhesion or epidural fibrosis is the major reason for postoperative pain, which remains a clinically challenging problem. Current physical barriers fail to provide a satisfactory therapeutic outcome mainly due to their lack of adhesion, inability to prevent fluid leakage, and exhibiting limited antioxidant properties. Herein, we fabricated a cysteine-modified bioadhesive (SECAgel) with improved sealing and antioxidant properties for epidural adhesion prevention, inspired by the organism's antioxidant systems. The resulting SECAgel showed good injectability and in situ adhesion ability, effectively covering every corner of the irregular wound. Besides, it possessed efficient sealing properties (395.2 mmHg), effectively stopping blood leakage in the rabbit carotid artery transection model. The antioxidant experiments demonstrated that the SECAgel effectively scavenged various radicals and saved the cells from oxidative stress. Two animal models were used to show that the SECAgel effectively inhibited adhesion in both situations with and without cerebrospinal fluid leakage. The RNA sequencing analysis showed that SECAgel treatment effectively inhibited the expression of key genes related to adhesion development, inflammatory response, and oxidative stress. The SECAgel, together with good biocompatibility, can be a good candidate for preventing epidural adhesion in the clinic.