The purpose of the present invention is to provide a viscous detergent composition having an appropriate viscosity when used having good foaming and foam retention properties and also feeling good to use after washing. The present invention is a viscous detergent composition containing each in specified amounts an anionic surfactant (component A) a nonionic cellulose derivative (component B) and ethanol and/or polyhydric alcohol (component C). This viscous detergent composition contains components A to C in the amounts of: 3% 25% by mass anionic surfactant (component A) 1% 2.5% by mass nonionic cellulose derivative (component B) and 3% 20% by mass ethanol and/or polyhydric alcohol (component C).