The negativity (N) as a measure of thermal entanglement (TE) is studied for a two-qutrit spin-1 anisotropic Heisenberg XXZ chain with Dzyaloshinskii-Moriya (DM) interaction in an inhomogeneous magnetic field in detail. The effects of the DM interaction parameter D(z) on the thermal variation of the N for given values of the external magnetic field B, a parameter b which controls the inhomogeneity of B and the bilinear interaction parameters J(x) = J(y) not equal J(z) obtained. It is found that N persists to higher values and to higher temperatures for the higher values of +/- D(z) and for the higher positive values of J(z), i.e. in the antiferromagnetic (AFM) case. When J(z) < 0, the ferromagnetic (FM) case, and D(z) is small, and if J(z) is strong enough to compete with D(z), N decreases. In addition, N declines with the increasing values of B and b.