An optical disk apparatus includes: a servo control unit, operable to
execute a servo control of focusing based on a focus error signal and to
execute a servo control of tracking based on a tracking error signal; a
detrack regulating unit, operable to execute a detrack regulation for
setting an offset voltage, which is to be added to the tracking error
signal, to be a voltage for giving the highest signal quality of an
output of an optical pickup; and a defocus regulating unit, operable to
execute a defocus regulation for setting an offset voltage, which is to
be added to the focus error signal, to be a voltage for giving the
highest signal quality of the output of the optical pickup. The defocus
regulation is executed in a state in which the servo control of the
focusing and the servo control of the tracking are executed. The defocus
regulation is executed after the detrack regulation is executed, in the
state in which the servo control of the focusing and the servo control of
the tracking are executed.