Increasing demand for water for human, industrial and agricultural consumption, coupled with repeated national droughts, have prompted decision-makers to consider wastewater as a valuable water resource that must be reused after treatment. This study is part of the integrated management of water resources in the face of the water shortage affecting our country, by looking at the treatment of greywater from the dwellings of a village in Marrakech. This study focuses on the treatment and reuse of greywater through a planted filter, using a reed (Phragmites australis), with horizontal sub-surface flow and another unplanted to determine the purification efficiency of this type of treatment system through the measurement of certain physicochemical parameters of wastewater such as: nitrogen compounds, phosphorus compounds, suspended solids etc. This study provides an overview of the elements relating to the works planned for autonomous wastewater treatment. The results of the analyses obtained during this study have helped us to establish a diagnosis of certain physico-chemical parameters, and to measure the degree of pollution of domestic wastewater, and to draw certain remarks as follows: Human activity in towns and cities is at the root of changes in the degree of pollution of urban wastewater. To achieve near-optimum environmental protection, and for every domestic wastewater reuse project, the State must regulate and opt for environmental impact studies.Economically speaking, local authorities can treat domestic wastewater at very affordable costs.