A varistor has a varistor element body, and an external electrode disposed on the varistor element body. The varistor element body contains ZnO as a principal component, and a rare-earth metal. The external electrode has an electrode layer. The electrode layer is formed on an external surface of the varistor element body by simultaneous firing with the varistor element body. The electrode layer contains Pd.