This article proposes a dual heat source heat pump bathroom unit with preheater which is feasible for a single family. The system effectively integrates the air source heat pump (ASHP) and wastewater source heat pump (WSHP) technologies, and incorporates a preheater to recover shower wastewater heat and thus improve the total coefficient of performance (COP) of the system, and it has no electric auxiliary heating device, which is favorable to improve the security of the system operation. The process simulation software ASPEN PLUS, widely used in the design and optimization of thermodynamic systems, was used to simulate various cases of system use and to analyze the impact of the preheater on the system. The average COP value of a system with preheater is 6.588 and without preheater it is 4.677. Based on the optimization and analysis, under the standard conditions of air at 25 • C, relative humidity of 70%, wastewater at 35 • C, wastewater flow rate of 0.07 kg/s, tap water at 15 • C, and condenser outlet water temperature at 50 • C, the theoretical COP of the system can reach 9.784 at an evaporating temperature of 14.96 • C, condensing temperature of 48.74 • C, and preheated water temperature of 27.19 • C.