The use of renewable energy is a path that many countries have begun to follow in the process of decarbonizing their equipment, production and economic structures, it is clear that this is a long journey that requires constant progress and improvement of the different mechanisms of renewable energy transformations that exist at present. Therefore, the objective of this research is to carry out a thermoeconomic study of a solar collector to produce domestic hot water. For the development of this work was used a flat plate collector, was studied the radiation of the area by means of the software RETScreen Expert, the demand of water required for the studio hotel, the design of the system was carried out through the program CYPECAD MEP the design of the system was carried out and the temperatures inside the system were known when using TRNSYS software. This series of analyses allowed to know the amount of collectors needed, the rate of return of the investment, the exergy of the system and its efficiency.