A fondouk (caravanserai) was the medieval equivalent of a combined warehouse, stable, and inn — merchants arriving in the city stored their goods on the ground floor and slept in rooms above a central courtyard. The Fondouk Tetouaniyine is one of the best-preserved examples in Fez, with a large central courtyard surrounded by arched galleries on two levels, some of the woodwork still intact.
Many of Fez's fondouks have been converted into museums, workshops, or hotels. The Tetouaniyine remains partly in its original commercial use — a reminder of the trading function the medina still performs. Finding it requires asking directions in the alleys north of Al-Qarawiyyin; a guide will know it. The courtyard, visible through the street gate, is the point — you don't need to enter to appreciate the architecture.