<div>In this work we performed fundamental investigations of the adsorption of O<sub>2</sub> and Li<sub>2</sub>O<sub>2</sub> molecules on seven transition-metal carbide (TMC) surfaces, which present 3d, 4d, and 5d TM, where TM = Ti, V, Zr, Nb, Mo, Hf and Ta. We employed density functional theory (DFT) with the semilocal meta-GGA SCAN functional. The oxide layer behaves as a passivation layer on the TiC(111), ZrC(111) and MoC(001) systems upon Li<sub>2</sub>O<sub>2</sub> adsorption, but promotes the formation of a Li<sub>1</sub>O<sub>3</sub>TM<sub>1</sub> layer on the VC(111), NbC(111), MoC(111), and HfC(111) surfaces due to the change in stoichiometry which is caused by the first adsorbed Li<sub>2</sub>O<sub>2</sub> molecule. We showed that with increasing the number of the Li<sub>2</sub>O<sub>2</sub> molecules on the TMC surfaces, the contribution of the TMC surface states turns out less important to the adsorption energy of the molecules. After the first layer of Li<sub>2</sub>O<sub>2</sub> it approaches the native crystal values, which occurs faster with the occupation of the TM $d$-bands. This work can make a contribution in fundamental understanding and development of new, TMC-based, catalysts for alkali-metal batteries.</div>