 He received his primary education at Dharmaraja College Kandy and secondary education at Royal College Colombo.Ratnayaka was elected to the first State Council of Ceylon from Dumbara, reelected to the second State Council of Ceylon, Ratnayaka served in the Committee on Education.He was elected to the first parliament from the Wattegama in the 1947 general elections from the United National Party.