Nepenthes rajah was first collected by Hugh Low on Mount Kinabalu in 1858. It was described the following year by Joseph Dalton Hooker, who named it after James Brooke, the first White Rajah of Sarawak. The description was published in The Transactions of the Linnean Society of London: