We perform a calculation on the polarization of J/ψ production in deep inelastic scattering in the HERA energy range. For the inclusive production distributions, we find that the color-singlet contributions are consistent with the experimental data in the major region of z (z > 0.4). Only in low z regions, there are some hints of the need of the color-octet contributions to describe the experimental data. For the polarization of J/ψ in DIS processes, we find the parameter α changes with Q 2 . Especially, at higher Q 2 , difference on α between color-singlet and color-octet contributions become more distinctive. In the two regions of lower and larger z, the polarization parameter α have different features. These properties can provide important information on the polarization mechanism for J/ψ production. PACS number(s): 12.40. Nn, 13.85.Ni, 14.40.Gx