Shāh Nizār II (Arabic: شاه نزار الثاني) was the 40th imam of the Qasim-Shahi branch of the Nizari Isma'ili community.
Shah Nizar II succeeded his father Khalil Allah II Ali when the latter died in 1680. At some point during the early part of his imamate, Shah Nizar left the village of Anjudan, where his predecessors had resided for over two centuries, and moved to the nearby village of Kahak, which became the new residence of the Nizari imams. 
On his initiative, many Nizari faithful who until then had lived as nomads in Khurasan, came and settled in Kerman. Shah Nizar had close relations with the Sufi Ni'matullah Order, and in his role as a Sufi master () adopted the name of Ata Allah, by which many of the Nizari followers in Kerman came to be known. 
Shah Nizar died in September 1722, and was succeeded by his son, Sayyid Ali. Shah Nizar's mausoleum still survives in Kahak, but was heavily restored in 1966 losing many of its original 18th-century fixtures.
References.
 ;templatestyles src="Reflist/styles.css" / ;