 The general layout of the whole palace adopts the archetype of the castles of the desert of Syria and Jordan of the first half of the 8th century (such as Qasr al-Hayr al-Sharqi, Msatta, Jirbat al-Mafyar, and from the first Abbasid stage, the castle of Ujaydir) which were square-shaped and ultrasemicircular towers in its cloths, with a central tripartite space, which leaves three rectangular spaces of which the central one houses a courtyard with pools and, at the northern and southern ends of the same, the palatial rooms and the dependencies of daily life.In the Aljafería, this castle-palace model is honored, whose noble zone is located in the central segment of its square plant, although the alignment of the sides of this plant is irregular.It is the central rectangle that houses the palatial dependencies, organized around a courtyard with cisterns in front of the north and south porticos to which the rooms and royal saloons are poured.