This article is presented after ten years of research on the earthen architecture of southeastern Morocco, more specifically that of the natural axis connecting the cities of Midelt and Er-Rachidia, located North and South of the Moroccan northern High Atlas. The typology studied is called ksar (ksour, pl.). Throughout various research projects, we have been able to explore this territory, documenting in field sheets the characteristics of a total of 30 ksour in the Outat valley, 20 in the mountain range and 53 in the Mdagra oasis. The objective of the present work is to analyze, through qualitative and quantitative data, the main characteristics of this vernacular architecture as a perfect example of an environmentally respectful habitat, obtaining concrete data on its traditional character and its sustainability. The methodology followed is based on case studies and, as a result, we have obtained a typological classification of the ksour of this region and their relationship with the territory, as well as the social, functional, defensive, productive, and building characteristics that define them. Knowing and puttin in value this vernacular heritage is the first step towards protecting it and to show our commitment to future generations.