In remote areas that face a shortage of freshwater and have fuel supply problems, freshwater production using solar desalination is a good option. The purpose of this study is to investigate combination of solar humidification-dehumidification (HDH) and solar still (SS). Two configurations were considered: solar water collector HDH and SS (SWCHDH-SS) and solar air collector HDH and SS (SACHDH-SS). The thermodynamic and economic models of each desalination plant are presented. Multi-objective optimization was performed using a genetic algorithm based on minimizing the annual required cost and maximizing the annual production of freshwater. The optimal Pareto front was obtained for each system, and the best operating conditions of each desalination plant were obtained by applying the TOPSIS method to the Pareto solution set. Under optimal conditions, the annual production and annual cost of solar water desalination with a water collector are 12,936 kg and 1659 $ and for solar water desalination with air collector 9807 kg and 915 $ respectively. Considering the cost of producing each kilogram of freshwater, solar desalination with an air collector was