Madrasas of Tunis were built under the reign of the Hafsid dynasty in the medina of Tunis.
The original plan was that those schools would contribute to educate the state civil servants. In the 20th century, their role is limited to hosting students of the University of Ez-Zitouna.