A sewage source heat pump system uses sewage as the cold and heat source for energy extraction and storage. With the aid of a compressor system and a small input of electric power, it extracts low-grade heat energy from the sewage to supply heating for users in winter. In summer, heat is extracted from indoor spaces and released into the sewage to lower the indoor temperature and achieve cooling.