An actinic
ray-sensitive or
radiation-sensitive resin composition has an excellent resolution and is capable of forming a pattern having suppressed defects. A
resist film, a pattern forming method, and a method for manufacturing an electronic device employing the actinic
ray- or
radiation-sensitive resin composition are provided. The actinic
ray- or
radiation-sensitive resin composition includes a resin whose polarity increases through
decomposition by an action of an acid, and a compound that generates an acid upon
irradiation with
actinic rays or radiation, in which the resin whose polarity increases through
decomposition by an action of an acid includes one or more selected from repeating units represented by Formulae (1) to (5), and the compound that generates an acid upon
irradiation with
actinic rays or radiation includes one or more of a compound (I) or a compound (II).