Disclosed is a dye-sensitized solar cell comprising a gel electrolyte that
contains a gelling agent and an electrolyte, wherein the gelling agent
contains at least one kind of a polymer selected from the group
consisting of a first polymer in which polysulfonic acid is crosslinked
by a metal ion having a valency of not less than two, a second polymer in
which polycarboxylic acid is crosslinked by a metal ion having a valency
of not less than two, a third polymer in which a quaternary ammonium salt
of polysulfonic acid is crosslinked by a metal ion having a valency of
not less than two and a fourth polymer in which a quaternary ammonium
salt of polycarboxylic acid is crosslinked by a metal ion having a
valency of not less than two.