
Mahmud I’s Library in Hagia Sophia
Ottoman Royal Library Among Marble and Mosaics
Sultan Mahmud I’s library, built in 1739 within the Hagia Sophia complex, is a jewel of Ottoman book culture. Surrounded by marble revetments and overlooking the mosque interior, it once housed thousands of manuscripts on theology, law, and science.
A Library for the Grand Mosque
During the 18th century, Sultan Mahmud I sponsored a major refurbishment of Hagia Sophia, including the construction of a new library and royal apartments. The library served the ulema and mosque officials, providing easy access to key religious and scholarly works during sermons and lessons.
Architecture & Decoration
The library is a rectangular hall raised slightly above the floor level, enclosed by a delicate wooden screen. Inside, built-in book cabinets, painted decorations, and calligraphic panels create a refined scholarly atmosphere. Large windows admit light while keeping the manuscripts protected.
Location
Mahmud I’s library is located on the northeast side of the mosque interior, near the Sultan’s Lodge. From the main prayer hall you can recognize it by its ornate wooden screens and elevated platform.
Visitor Tip
Even when the interior is not accessible, take a moment to observe how the library fits into the larger composition of Hagia Sophia, balancing Ottoman additions with the ancient Byzantine structure.