Provided is a pressure-sensitive adhesive composition having antistatic properties that suppresses peeling electrification voltage when peeled off from a non-antistatic adherend, low adhesive strength at high peeling speeds, adhesive strength high enough to prevent problems such as lifting and unintended separation at low peeling speeds, and an optical film to which a pressure-sensitive adhesive sheet, a surface protective sheet, and a surface protective sheet are attached, each sheet having high transparency. A pressure-sensitive adhesive composition, comprising: 100 parts by mass of a polymer (A) with a glass transition temperature of less than 0° C.; 0.1 to 20 parts by mass of a polymer (B) having a weight average molecular weight of 1,000 or more to less than 100,000 and containing a monomer unit derived from a monomer having a nitrogen-containing structure; and 0.1 to 20 parts by mass of an acidic compound (C) with a pKa of −12.0 or more to less than 3.5.