A 3D-printed lithium carbon dioxide battery uses MXene and carbon nanotube nanomaterials to deliver high energy and power with stable performance in Martian conditions for off-planet energy storage.