Pillai's first marriage did not last long. He married again in 1887 at the age of 30, and his wife, Bhageerathi Amma, was only 16 at the time of the wedding. The marriage lasted till his wife's untimely death in 1904 and his third marriage was to Janaki Amma, the elder sister of Bhageerathi Amma and the widow of C. Raja Raja Varma, the younger brother of Raja Ravi Varma. He died on 21 March 1922, at the age of 63, survived by Janaki Amma.