Dye-sensitized solar cells with an energy storage function are demonstrated by modifying its counter electrode with a poly (vinylidene fluoride)/ZnO nanowire array composite. This simplex device could still function as an ordinary solar cell with a steady photocurrent output even after being fully charged. An energy storage density of 2.14 C g-1;is achieved, while simultaneously a 3.70% photo-to-electric conversion efficiency is maintained.