The purpose of this study is to investigate the effects of self-assembling peptide GFS-4 on three-dimen-sional myocardial cell culture and tissue repair of myocardial infarction. The circular dichroism (CD) spectrum was used to detect secondary structure of GFS-4, and atomic force microscope (AFM) was used to analyze the microstructure of self-assembly. The nanofiber scaffolds self-assembled by GFS-4 were used as the three-dimensional culture material to observe the growth effect of cardiomyocytes. The model of myocardial infarction was established and the effect of GFS-4 on myocardial infarction was studied. The results indicated that self-assembling peptide GFS-4 could form mainly β-sheet structure that can form dense nanofiber scaffolds after 24 hours’ self-assembling. The myocardial cells had a favorable growth status in GFS-4 nanofiber scaffold hydrogel when cells treated in three-dimen-sional cell culture. The experiment of repairing myocardial infarction in vitro proved that peptide GFS-4 hydrogel scaffold could alleviate tissue necrosis in a myocardial infarction area. As a new nanofiber scaffold material, self-assembling peptide GFS-4 can be used for three-dimensional cell culture and tissue repairing in myocardial infarction area.