Fast and controllable cooling at nanoscales requires a combination of highly efficient passive cooling and active cooling. Although passive cooling in graphene-based devices is quite effective due to graphene's extraordinary heat conduction, active cooling has not been considered feasible due to graphene's low thermoelectric power factor. Here, we show that the thermoelectric performance of graphene can be significantly improved by using hexagonal boron nitride (hBN) substrates instead of SiO 2 . We find the room temperature efficiency of active cooling in the device, as gauged by the power factor times temperature, reaches values as high as 10.35 W·m , in MoS 2 . We further show that the Seebeck coefficient provides a direct measure of substrate-induced random potential fluctuations and that their significant reduction for hBN substrates enables fast gate-controlled switching of the Seebeck coefficient polarity for applications in integrated active cooling devices.graphene | Seebeck coefficient | thermoelectric power factor | electron-hole puddles | screened Coulomb scattering