Paduka Sri Sultan Mahmud Shah II ibni al-Marhum Sultan Ibrahim Shah (1675 or 1680 – 1699) was the Sultan of Johor, Pahang and Lingga (1685 – 3 September 1699). As he was young upon assuming the throne, regents oversaw the affairs of state in Johor until the death of the Bendahara in 1697. Upon assuming duties as sultan, Mahmud Shah II undermined Johor's stability due to his erratic behavior. As a result, he was murdered by members of his advisory council in 1699. His death led to a period of upheaval and chaos in the southern Strait of Malacca, as successors fought for control of the state.