The behavior of nonlinear quantum dust ion acoustic (QDIA) shock waves in a collisionless, unmagnetized plasma consisting of inertialess quantum electrons and positrons, classical cold ions and stationary negatively charged dust grains with dust charge variation is investigated using quantum hydrodynamic (QHD) equations. The propagation of small amplitude QDIA shock waves is governed by Burgers equation. It is shown that the dust charge variation plays an important role in the formation of such QDIA shock structures. The dependence of the shock wave’s amplitude and thickness on the chemical potential is investigated. The present theory is applicable to analyze the formation of nonlinear structures at quantum scales in dense astrophysical objects.