The invention relates to a microencapsulated composition characterized in that it comprises 0.01 to 98% by weight of saponified Olea europaea and at least one natural repellent selected from a group consisting of tea tree ( Melaleuca alternifolia ) oil, Neem tree oil, Rosemary oil, Bay oil, Eucalyptus oil and Citronella oil or any combination of the aforesaid. Also, the method for obtaining said composition and the use thereof for treating pediculosis will also be an object of protection. One particular embodiment of the invention may additionally comprise a drug for topical treatment of skin disorders.