A varistor is an electronic component with an electrical resistance that varies with the applied voltage.Also known as a voltage-dependent resistor (VDR), it has a nonlinear, non-ohmic current–voltage characteristic that is similar to that of a diode. In contrast to a diode however, it has the same characteristic for both directions of traversing current.