After graduating from the University of Tartu cum laude with a degree in economics, Viljar Lubi acquired a Master’s degree in political science from Tallinn University. Lubi has also studied at the University of Sussex in the UK and the Estonian School of Diplomacy.
He has held various positions in the Estonian Ministry of Finance and Ministry of Foreign Affairs. In January 2013, he became the first resident Estonian ambassador to India, accredited also to Myanmar and Sri Lanka. In 2016, Lubi returned to Estonia to become Deputy Secretary General for Economic Development in the Ministry of Economic Affairs and Communications.