The poor performance of lithium-ion batteries in extreme temperatures is hindering their wider adoption in the energy sector. A fundamental challenge in battery thermal management systems (BTMSs) is that hot and cold environments pose opposite requirements: thermal transmission at high temperature for battery cooling, and thermal isolation at low temperature to retain the batteries’ internally generated heat, leading to an inevitable compromise of either hot or cold performances. Here, we demonstrate a thermal regulator that adjusts its thermal conductance as a function of the temperature, just as desired for the BTMS. Without any external logic control, this thermal regulator increases battery capacity by a factor of 3 at an ambient temperature (Tambient) of −20 °C in comparison to a baseline BTMS that is always thermally conducting, while also limiting the battery temperature rise to 5 °C in a very hot environment (Tambient = 45 °C) to ensure safety. The result expands the usability of lithium-ion batteries in extreme environments and opens up new applications of thermally functional devices.