The Kali Loji Festival is a means that was initiated to restore the local wisdom of the society of Pekalongan City in maintaining the preservation of the river. The festival is expected to increase public awareness around Kali Loji to maintain the cleanliness of the river. The formulation of the problem in this research is how the festival of Kali Loji in preserving the river in Pekalongan City. The purpose of this study was to find out and analyze the Kali Loji festival to preserve the river in the society around the Pekalongan Kali Loji. The research method is carried out qualitatively with the theory of structural functionalism and Habitus theory. Data analysis through qualitative analysis of interactive models. Data collection techniques in this study were interviews, observation, and documentation. The results of the study show that the community's concern for the sustainability of the river is very low before the Kali Loji festival. The Kali Loji festival which teaches the people around Kali Loji not to throw garbage in the river and maintain the sustainability of the river for human survival, the concern of the community around Kali Loji starts to grow again. The activity of the Kali Loji festival makes communities more environmentally literate, so the people more aware of the river lodges and preserve the river. For people around Kali Loji to change habits to preserve the river better.