Dar Niaba (lit. 'home of the Naib') refers both literally and metaphorically to the office of the Naib (Arabic: نائب "deputy", plural Nawab) or representative of the Sultan of Morocco to the foreign communities in Tangier, under the Moroccan diplomatic arrangements in place from the 1840s to the Treaty of Fez that ended the country's sovereignty in 1912. The office of the Naib was maintained in a symbolic capacity until the creation in 1925 of the Tangier International Zone, when its last holder Mohammed Tazi became Tangier's Mendoub.
Dar Niaba also refers to a Portuguese-era urban mansion on the central rue Es-Siaghine in the medina of Tangier, one of the city's oldest buildings still standing. The office of the Naib was located there from 1851 until 1920, when it moved to the former German legation building later known as the Mendoubia. After a long period of neglect, it was repurposed as the Dar Niaba Museum, opened in 2022.