<p>An electrical discharge machining apparatus (100) for machining a work (2) by means of discharge caused between an electrode (120) and the work (2). A machining amount calculation section (70) of the electrical discharge machining apparatus (100) corrects the entered machining amount entered to machine the work (2) according to the history of use of the electrode (120). An oscillation control section (40) of the electrical discharge machining apparatus (100) controls the machining of the work (2) according to the corrected entered machining amount. Thus, the work (2) can be machined by an accurate machining amount irrespective of the history of use of the electrode (120).</p>