Biomass-derived polymers, such as lignin, contain quinone/ hydroquinone redox moieties that can be used to store charge. Composites based on the biopolymer lignin and several conjugated polymers have shown good charge-storage properties. However, their performance has been only studied in acidic aqueous media limiting their applications mainly to supercapacitors. Here, we show that PEDOT/lignin (PEDOT: poly(3,4-ethylenedioxythiophene)) biopolymers are electroactive in aprotic ionic liquids (ILs) and we move a step further by assembling sodium full cell batteries using PEDOT/lignin as electrode material and IL electrolytes. Thus, the electrochemical activity and cycling of PEDOT/lignin electrodes was investigated in 1-butyl-1-methylpyrrolidinium bis(trifluoromethylsulfonyl)imide (BMPyrTFSI), 1-butyl-1-methylpyrrolidinium bis(fluorosulfonyl)imide (BMPyrFSI), 1-ethyl-3-methylimidazolium bis(trifluoromethylsulfonyl)imide (EMImTFSI) and 1-ethyl-3-methylimidazolium bis(fluorosulfonyl)imide (EMImFSI) IL electrolytes. The effects of water and sodium salt addition to the ILs were investigated to obtain optimum electrolyte systems for sodium batteries. Finally, sodium batteries based on PEDOT/lignin cathode with imidazolium-based IL electrolyte showed higher capacity values than pyrrolidinium ones, reaching 70 mAhg-1 . Our results demonstrate that PEDOT/lignin composites can serve as low cost and sustainable cathode materials for sodium batteries.