Background: This research paper mainly deals with a comprehensive thermodynamic modeling and thermoeconomic analysis and optimization of a CCHP system. This integrated CCHP system consists of a topping cycle, an internal combustion engine (ICE), to produce electricity and a bottoming cycle to utilize the wasted heat of exhaust gases by means of an organic Rankine cycle (ORC), an ejector refrigeration cycle (ERC), and a domestic hot water (DHW).Methods: A comprehensive thermodynamic assessment is carried out to determine the effect of major parameters on the performance of the system in terms of exergy efficiency and total cost rate. The total cost rate includes the purchase equipment cost, the fuel cost, and the environmental impact damage cost. Finally, a multi objective optimization is applied to maximize the exergy efficiency and to minimize the total cost rate of the system while satisfying some practical constraints. Results: As a result, the Pareto frontier is obtained from our developed multi-objective optimization code for the decision and energy policy makers in order to have better insights to design a system for sustainable future.