Diamond and cubic polymorph of boron nitride (c-BN) are two promising next-generation ultrawide bandgap semiconductor materials owning superior thermal properties. Although lattice vibration is the dominant mechanism of heat conduction in semiconductors, electron-phonon interactions exist and may affect phonon transport in doped semiconductors; yet such effects in wide bandgap materials have not received much attention. In this study, we explore the effects of electron-phonon interactions on the lattice thermal conductivity and phonon transport in electron-doped Si, diamond, and c-BN under various electron concentrations and in a wide temperature range from 300 K to 900 K based on the first-principles calculation. It is found that the electron-phonon interactions will bring down the thermal conductivity of doped materials, and the depletion impact increases as the electron concentration increases but decreases as the temperature increases. This depression effect in ultrawide bandgap diamond and c-BN is apparent, though it is not as severe as in Si. At room temperature with a high electron concentration of 10 21 cm −3 , the reduction of thermal conductivity reaches 36 % in Si, and 17.4 % and 16.1 % in diamond and c-BN, respectively. • Thermal effect of electron-phonon interactions in doped c-BN and diamond is revealed. • Temperature and electron concentration dependent lattice thermal conductivity is quantified. • Thermal depletions exist in doped c-BN and diamond, but not as severe as in doped Si. • Depletion lessens as temperature rises, but increases with increasing electron concentration. • Ultrawide bandgap materials have great potentials in high-power high-temperature electronics.