The Allied Powers captured Syria from the Ottomans in 1917, after which the residents largely abandoned the fortress of Masyaf.
British general T. E. Lawrence rested in Masyaf and remarked that the fortress was being used as a poorhouse at the time.
During the French Mandate over Syria, the French separated the Jabal Ansariyah range from the rest of Syria to form the Alawite State.
Masyaf was made a part of the State of Damascus, but in 1929, a number of rural Alawite villages in its immediate vicinity, including al-Rusafa, al-Bayyadiyah, Akakir, Maryamin and Abu Qubays, were ceded to the Alawite State.
The latter merged with the rest of Syria in 1936.
In 1939, Masyaf and its district was transferred from the Province of Hama to the Province of Latakia.
Throughout the 1930s, rooms in the fortress were still being used by local residents.

In 1947, a year after Syria became independent from France, 3,808 Ismailis were recorded to be living in Masyaf.
The Syrian government under President Amin al-Hafiz established Masyaf as a center for carpet weaving in 1965.
The weaving workshops mostly employed women.
In the 1960s, Masyaf's Ismaili community largely identified with the Nasserist movement, in contrast to the Alawites who dominated the surrounding villages who were mostly associated with the Baathists.

In 1970, much of the town of Masyaf still remained within the confines of the city walls.
However, by 1998, its population and urban space had expanded considerably outside the walls.
The fortress is situated in the northeastern part of Masyaf's old city.
The walls remained in place, but the homes and gardens of local residents were built immediately alongside them.
Within the walls is a mosque dating to the 12th century and according to local residents, is associated with Saladin.
The fortress is considered a national monument and is directly under the authority of the Syrian Directorate of Antiquities.

In the Syrian Civil War after 2015, an alleged missile production facility in Masyaf and a base near the town, thought to be used by Iranian forces and militias, became repeatedly targets of airstrikes attributed to Israel.
The Allied Powers captured Syria from the Ottomans in 1917, after which the residents largely abandoned the fortress of Masyaf. British general T. E. Lawrence rested in Masyaf and remarked that the fortress was being used as a poorhouse at the time. During the French Mandate over Syria, the French separated the Jabal Ansariyah range from the rest of Syria to form the Alawite State. Masyaf was made a part of the State of Damascus, but in 1929, a number of rural Alawite villages in its immediate vicinity, including al-Rusafa, al-Bayyadiyah, Akakir, Maryamin and Abu Qubays, were ceded to the Alawite State. The latter merged with the rest of Syria in 1936. In 1939, Masyaf and its district was transferred from the Province of Hama to the Province of Latakia. Throughout the 1930s, rooms in the fortress were still being used by local residents.
In 1947, a year after Syria became independent from France, 3,808 Ismailis were recorded to be living in Masyaf. The Syrian government under President Amin al-Hafiz established Masyaf as a center for carpet weaving in 1965. The weaving workshops mostly employed women. In the 1960s, Masyaf's Ismaili community largely identified with the Nasserist movement, in contrast to the Alawites who dominated the surrounding villages who were mostly associated with the Baathists.
In 1970, much of the town of Masyaf still remained within the confines of the city walls. However, by 1998, its population and urban space had expanded considerably outside the walls. The fortress is situated in the northeastern part of Masyaf's old city. The walls remained in place, but the homes and gardens of local residents were built immediately alongside them. Within the walls is a mosque dating to the 12th century and according to local residents, is associated with Saladin. The fortress is considered a national monument and is directly under the authority of the Syrian Directorate of Antiquities.
In the Syrian Civil War after 2015, an alleged missile production facility in Masyaf and a base near the town, thought to be used by Iranian forces and militias, became repeatedly targets of airstrikes attributed to Israel.
Masyaf