After the demise of the AIFB stalwart and Lok Sabha member U. Muthuramalingam Thevar, Nayar contested the Lok Sabha bye-election for Thevar's seat from the Aruppukottai constituency in 1964. His candidature was supported by the Swatantra Party, the Dravida Munnetra Kazhagam and the Indian Union Muslim League. Nayar was, however, defeated by the Congress candidate R.K. Dorai (brother of the Raja of Ramnad).
After the passing of U. Muthuramalingam Thevar, Nayar contested the Lok Sabha by-election for Thevar's seat from the Aruppukottai constituency in 1964. His candidacy was backed by the Swatantra Party, the Dravida Munnetra Kazhagam and the Indian Union Muslim League. Nayar was, however, defeated by the Congress candidate R.K. Dorai (brother of the Raja of Ramnad).