Ensuring the sustainability of a product or a system requires a thorough evaluation of its environmental and socioeconomic impacts. In this context, one of the objectives of the EU-PRIMA SmaCuMed project is to evaluate the socioeconomic and environmental impacts of the Smart Cube system. The Smart Cube was developed for the PV-powered desalination of brackish groundwater with membrane capacitive deionization (MCDI) and low-pressure reverse osmosis (LPRO); it additionally uses smart sensors for controlled irrigation in remote agricultural areas in Morocco, as an example for the North African region. Based on the Life Cycle Sustainability Assessment approach, this paper aims to assess the environmental and economic impacts of the Smart Cube, using Life Cycle Costing (LCC) and Life Cycle Assessment (LCA) analyses for environmental evaluation. Various scenarios have been defined for both environmental and economic assessments. Based on 1 m3 of produced desalinated water, the LCC results showed that, when using the desalination technologies directly connected to the grid, the prices are lower than those obtained when it was supplied by the PV system. This is only due to the very low energy prices from the Moroccan grid (EUR 0.10/kWh). The LCC results showed that LPRO is a more cost-effective option for producing desalinated water, with a lower total cost compared to MCDI. However, LCA results indicated that LPRO has a higher environmental impact compared to MCDI. If higher water production capacity is a priority, MCDI connected to PV is the best choice, with lower carbon emission but higher overall water costs.