A new write shift compensation method is proposed in this paper. The method is suitable for an optical disk system which adopts partial response maximum likelihood (PRML) detection, and it can optimize adaptive controlled writing pulses even under severe inter-symbol interference (ISI) conditions to reduce detection errors. This advantage is attributable to the use of the Euclidean distance as the estimation index of the mark edge shift error. The effect is confirmed by the experimental results for blue laser systems.