We develop the shape derivative analysis of solutions to the problem of scattering of time-harmonic electromagnetic waves by a penetrable bounded obstacle. Since boundary integral equations are a classical tool to solve electromagnetic scattering problems, we study the shape differentiability properties of the standard electromagnetic boundary integral operators. The latter are typically bounded on the space of tangential vector fields of mixed regularity TH − 1 2 (divΓ, Γ). Using Helmholtz decomposition, we can base their analysis on the study of pseudodifferential integral operators in standard Sobolev spaces, but we then have to study the Gâteaux differentiability of surface differential operators. We prove that the electromagnetic boundary integral operators are infinitely differentiable without loss of regularity. We also give a characterization of the first shape derivative of the solution of the dielectric scattering problem as a solution of a new electromagnetic scattering problem.