The Ait Atta (Tamazight ayt ɛaṭṭa) are a large Berber tribal confederation of South eastern Morocco, estimated to number about 130,000 as of 1960. They are divided into "five fifths" (khams khmas), all said to descend from the forty sons of their common ancestor Dadda Atta: these "fifths" are the Ait Ouallal, Ait Ouahlim, Ait Isfoul, Ait Yazza and Ait Ounbgi. They speak Central Atlas Tamazight.
The Ait Atta originated as a political entity in the Jbel Saghro region in the 16th century with the founding of their traditional capital Igherm Amazdar. They subsequently expanded first northwards, becoming rivals of the Ait Yafelman, then southwards, taking control of oases in Tafilalt and the Draa River. By the 19th century their raids went as far as Touat in modern-day Algeria. They resisted the French entry into Morocco until 1933.
At each tribal level, the head was traditionally elected according to the principles of rotation and complementarity: each lineage took turns to occupy the position, but when it was a particular lineage's turn to hold the office, only members of other lineages could choose the candidate. In ordinary circumstances, power traditionally rested mainly with local councils of family heads, the ajmu`, who decided cases according to customary law, izerf. In the oases they conquered, the Ait Atta originally dominated a stratified society, where the haratin who worked the land were often forbidden from owning it, and needed a protection agreement with an Ait Atta patron; this stratification has considerably receded since Moroccan independence with the establishment of legal equality.
- David Hart, The Ait Atta of Southern Morocco, p. 14