The present invention provides a topical administration of a composition containing hydroxypropyl chitosan as the only active ingredient, in particular a nail topical composition consisting essentially of a) hydroxypropyl chitosan, b) water, c) at least a lower alkanol. By administration, it is directed to a method of treating onychomycosis.本発明は、唯一の活性成分としてヒドロキシプロピルキトサンを含有する組成物を局所投与すること、特に、a)ヒドロキシプロピルキトサン、b)水、c)少なくとも低級アルカノールより本質的に成る爪局所組成物を投与することにより、爪真菌症を治療する方法を指向する。