Uranium mononitride (UN) is a promising nuclear fuel with a high melting point, high thermal conductivity, and low coefficient of thermal expansion. Theoretical studies of UN can provide insights on its thermal transport mechanism, which is of great significance for the design and application of UN fuel. During the processing and operation, crystal defects and impurities, such as vacancies and carbon impurities, potentially arise in the nuclear fuel, which probably affect the thermomechanical properties of UN. To figure out the effect of vacancy defects and carbon impurities on the thermal conductivity of UN, density functional theory and Boltzmann transport theory are applied to conduct a theoretical investigation on the mechanical and thermal properties of ideal and defective UN. The calculated results show that in the case of UN with a U or N vacancy, both the lattice and electronic thermal conductivity are decreased, compared with the ideal case. With a carbon atom occupying the N site in the lattice, the electronic thermal conductivity is reduced but the lattice thermal conductivity is increased. Combining the results of lattice and electronic thermal conductivity, the total thermal conductivities of three defective states are lower than the ideal UN. The thermal conductivities of UN with a U vacancy (13.91 W/mK), N vacancy (15.36 W/mK), and a carbon atom occupying the N site (15.14 W/mK) are, respectively, reduced by 25.7%, 18.0%, and 19.2%, in comparison with ideal result (18.73 W/mK) at 1000 K.