 Dharmapala was educated at Rahula College and Nalanda College Colombo, after completing his schooling he joined the family business.Dharmapala was commissioned as a Second Lieutenant in the Ceylon Light Infantry, a reservist regiment in the Ceylon Defence Force in 1931.In 1940, he was mobilised for World War II, serving as Chief Security Officer of the Ratmalana Airport.