A dielectric composition with high voltage resistance and favorable reliability, and an electronic component using the dielectric composition. The dielectric composition contains, as a main component, a tungsten bronze type composite oxide represented by a chemical formula (Sr1.00-(s+t)BasCat)6.00-xRx(Ti1.00-aZra)x+2.00(Nb1.00-bTab)8.00-xO30.00, in which the R is at least one element selected from Y, La, Pr, Nd, Sm, Eu, Gd, Tb, Dy, Ho, Er, Tm, Yb, and Lu, and s, t, x, a, and b satisfy 0.50≤s≤1.00, 0≤t≤0.30, 0.50≤s+t≤1.00, 1.50<x≤3.00, 0.20≤a≤1.00, and 0≤b≤1.00. At least one selected from Mn, Mg, Co, V, W, Mo, Si, Li, B, and Al is contained as a sub component in 0.10 mol or more and 20.00 mol or less with respect to 100 mol of the main component.