PROBLEM TO BE SOLVED: To provide a detergent composition excellent in the smoothness in rinsing after washing and excellent in passing fingers through the hair in drying.SOLUTION: The invention relate to a copolymer comprising constituent units of three vinyl monomers of a (meth)acrylamide or a (meth)acrylate having a hydroxyl group, a (meth)acrylate having a quaternary ammonium group, a (meth)acrylamide having a quaternary ammonium group, and relates to the detergent composition containing the copolymer, an anionic surfactant and either one of an amphoteric surfactant, a nonionic surfactant and a semi-polar surfactant.COPYRIGHT: (C)2007,JPO&INPIT【課題】洗浄後のすすぎの際のなめらかさ及び乾燥時の指通りのよさ等に優れる洗浄剤組成物を提供する。【解決手段】(メタ)アクリルアミドもしくは水酸基含有(メタ)アクリレート、4級アンモニウム基含有(メタ)アクリレート、4級アンモニウム基含有(メタ)アクリルアミドの3種の特定構造のビニル系単量体に相当する構成単位を含む共重合体、及びこの共重合体と、アニオン性界面活性剤を含有し、更に両性界面活性剤、ノニオン性界面活性剤、半極性界面活性剤の何れかを含有する洗浄剤組成物。【選択図】なし