By considering the Debye screening and the damping rate of gluons, the viscosity coefficient of the quark-gluon plasma was evaluated via real-time finite temperature QCD in the relaxation time approximation at finite temperature and chemical potential. The results show that both the damping rate and the quark chemical potential cause considerable enhancements to the viscosity coefficient of the hot dense quark-gluon plasma.