A resin composition for an electric/electronic component, comprising: (A) a polyorganosiloxane that contains a mercaptoalkyl group bonded to a silicon atom and has a viscosity at 23°C of 20 to 3,000 cP; (B) a polyorganosiloxane containing an aliphatic unsaturated group wherein the polyorganosiloxane (B) includes: (B1) a linear polyorganosiloxane represented by the formula (I): wherein each R 1 is independently an aliphatic unsaturated group, each R is independently a C1-C6 alkyl group or a C6-C12 aryl group, and n is a value such that the viscosity at 23°C is 100 to 12,000 cP; and optionally (B2) a branched polyorganosiloxane including a SiO 4/2 unit, an R' 3 SiO 1/2 unit and an R' 2 SiO 2/2 unit, and optionally further an R'SiO 3/2 unit wherein each R' independently represents a C1-C6 alkyl group or an aliphatic unsaturated group, and at least three R' groups per molecule of the branched polyorganosiloxane (B2) are aliphatic unsaturated groups; (C) a photoreaction initiator; (D) a chemically surface-treated silica having a BET specific surface area of 50 to 250 m 2 /g and a pH of 5.0 to 9.0; and (E) a polyoxyalkylene glycol in which an alkylene unit is a linear or branched alkylene group having 2 to 4 carbon atoms, and/or a derivative of the polyoxyalkylene glycol, wherein the ratio of the number of mercaptoalkyl groups in (A) to the total number of aliphatic unsaturated groups in (B) is 0.45 to 2.00, the content of (D) is 0.5 to 26 parts by mass relative to 100 parts by mass of (B), the proportion of the content of (E) is 0.001 to 1.0 mass% relative to the total mass of (A) to (E), and the viscosity at 23°C is 500 to 100,000 cP, where all viscosities are determined in accordance with the method outlined in the description. (A) a polyorganosiloxane that contains a mercaptoalkyl group bonded to a silicon atom and has a viscosity at 23°C of 20 to 3,000 cP; (B) a polyorganosiloxane containing an aliphatic unsaturated group wherein the polyorganosiloxane (B) includes: (B1) a linear polyorganosiloxane represented by the formula (I): wherein each R 1 is independently an aliphatic unsaturated group, each R is independently a C1-C6 alkyl group or a C6-C12 aryl group, and n is a value such that the viscosity at 23°C is 100 to 12,000 cP; and optionally (B2) a branched polyorganosiloxane including a SiO 4/2 unit, an R' 3 SiO 1/2 unit and an R' 2 SiO 2/2 unit, and optionally further an R'SiO 3/2 unit wherein each R' independently represents a C1-C6 alkyl group or an aliphatic unsaturated group, and at least three R' groups per molecule of the branched polyorganosiloxane (B2) are aliphatic unsaturated groups; (B1) a linear polyorganosiloxane represented by the formula (I): wherein each R 1 is independently an aliphatic unsaturated group, each R is independently a C1-C6 alkyl group or a C6-C12 aryl group, and n is a value such that the viscosity at 23°C is 100 to 12,000 cP; and optionally wherein each R 1 is independently an aliphatic unsaturated group, each R is independently a C1-C6 alkyl group or a C6-C12 aryl group, and n is a value such that the viscosity at 23°C is 100 to 12,000 cP; (B2) a branched polyorganosiloxane including a SiO 4/2 unit, an R' 3 SiO 1/2 unit and an R' 2 SiO 2/2 unit, and optionally further an R'SiO 3/2 unit wherein each R' independently represents a C1-C6 alkyl group or an aliphatic unsaturated group, and at least three R' groups per molecule of the branched polyorganosiloxane (B2) are aliphatic unsaturated groups; (C) a photoreaction initiator; (D) a chemically surface-treated silica having a BET specific surface area of 50 to 250 m 2 /g and a pH of 5.0 to 9.0; and (E) a polyoxyalkylene glycol in which an alkylene unit is a linear or branched alkylene group having 2 to 4 carbon atoms, and/or a derivative of the polyoxyalkylene glycol, wherein <EOS>