We have developed a new internally heated diamond anvil cell (DAC) system for in situ high-pressure and high-temperature x-ray and optical experiments. We have adopted a self-heating W/Re gasket design allowing for both sample confinement and heating. This solution has been seldom used in the past but proved to be very efficient to reduce the size of the heating spot near the sample region, improving heating and cooling rates as compared to other resistive heating strategies. The system has been widely tested under high-temperature conditions by performing several thermal emission measurements. A robust relationship between electric power and average sample temperature inside the DAC has been established up to about 1500 K by a measurement ...