A wire electrical discharge machine performing electrical discharge machining on a workpiece (W) by supplying, according to machining conditions, machining current from a machining power unit to an electrode gap (EG) formed between a wire electrode and a workpiece (W), comprising: a plurality of switching elements (SWE2) connected in parallel with each other to supply the machining current to the electrode gap (EG) to perform electrical discharge machining; a plurality of switches (SW) each connected in series with one of the switching elements (SWE2) to separate the switching elements (SWE2); and a control device configured, when at least one of the switching elements (SWE2) fails, to disconnect the failed switching elements (SWE2) by means of the switches (SW), characterized in that the control device is configured to change the machining conditions in accordance with the number of the failed switching elements (SWE2), wherein: a spark initiation voltage (Vs) for causing a discharge is applied across the electrode gap (EG) before the machining current is supplied; the machining conditions include a quiescent time (QT) from when supply of the machining current to the electrode gap (EG) is completed to when the spark initiation voltage (Vs) is applied again; and the control device is configured to make the quiescent time (QT) longer as the number of the failed switching elements (SWE2) increases, and/or wherein: the machining conditions include a voltage (Vm) output from the machining power unit ; and the control device is configured to lower the voltage (Vm) output from the machining power unit as the number of the failed switching elements (SWE2) increases. a plurality of switching elements (SWE2) connected in parallel with each other to supply the machining current to the electrode gap (EG) to perform electrical discharge machining; a plurality of switches (SW) each connected in series with one of the switching elements (SWE2) to separate the switching elements (SWE2); and a control device configured, when at least one of the switching elements (SWE2) fails, to disconnect the failed switching elements (SWE2) by means of the switches (SW), characterized in that the control device is configured to change the machining conditions in accordance with the number of the failed switching elements (SWE2), wherein: a spark initiation voltage (Vs) for causing a discharge is applied across the electrode gap (EG) before the machining current is supplied; the machining conditions include a quiescent time (QT) from when supply of the machining current to the electrode gap (EG) is completed to when the spark initiation voltage (Vs) is applied again; and the control device is configured to make the quiescent time (QT) longer as the number of the failed switching elements (SWE2) increases, and/or a spark initiation voltage (Vs) for causing a discharge is applied across the electrode gap (EG) before the machining current is supplied; the machining conditions include a quiescent time (QT) from when supply of the machining current to the electrode gap (EG) is completed to when the spark initiation voltage (Vs) is applied again; and the control device is configured to make the quiescent time (QT) longer as the number of the failed switching elements (SWE2) increases, and/or wherein: the machining conditions include a voltage (Vm) output from the machining power unit ; and the control device is configured to lower the voltage (Vm) output from the machining power unit as the number of the failed switching elements (SWE2) increases. the machining conditions include a voltage (Vm) output from the machining power unit ; and the control device is configured to lower the voltage (Vm) output from the machining power unit as the number of the failed switching elements (SWE2) increases. <EOS>