Graphene-like layered transition metal carbides, nitrides, or carbonitrides, called MXenes, obey the stoichiometric formula of M \(_{n+1}\) X \(_{n}\) T \(_{x}\) , where M is an early transition metal such as scandium (Sc), n is a natural number, X is C, N, or CN, and T \(_{x}\) is a functional group such as –O, –F, or –OH that passivates the surface of the MXene. The electronic structure of bare Sc \(_2\) C and functionalized Sc \(_2\) CT \(_{x}\) MXenes are explored by performing first-principles density functional theory (DFT) calculations. The bare Sc \(_2\) C is metallic, but less stable than its passivated structure. The Sc \(_2\) C MXene has an interlayer 2D electron gas not bound to Sc or C atoms but free to move, making it an electride. DFT calculations show that functionalization can open an energy gap in Sc \(_2\) CT \(_{x}\) MXenes. The size and type (direct versus indirect) of the bandgap vary with the functional groups, which provides a means for opening and tuning of the band gap.