Postsurgical cardiac adhesions increase the number of surgeries as well as patient mortality and morbidity. A fast gelling oxime-crosslinked PEG hydrogel with tunable gelation time, degradation, and mechanical properties is presented. This material is cytocompatible and prevents cellular adhesion. Material retention on different cardiac tissues is demonstrated ex vivo over time and that functional group ratio alters material retention on different cardiac tissues.