A large π-conjugated tetrakis (4-carboxyphenyl) porphyrin anode enables high specific capacity and superior cycling stability in lithium-ion batteries.