Organic materials are promising candidates as next-generation electrode materials because they are potentially low-cost, recyclable, tunable, and environmentally friendly compared to conventional inorganic electrodes. Through the condensation of triformylphloroglucinol (TFP) and naphthalene-diimide diamine (NDI), TFP-NDI porous organic polymer was synthesized. The open channels of redox-active TFP-NDI polymer provide pathways for metal ions and the naphthalene-diimide units can undergo two one-electron reduction processes to yield radical anion and dianion. The redox activity of TFP-NDI was revealed by solid-state cyclic voltammetry and its application as electrode material for sodium-ion batteries was studied.