The invention relates to a cosmetic composition based on hyaluronic acid, which includes nanofibres comprising hyaluronic acid or a pharmaceutically acceptable salt thereof and at least one carrier polymer, preferably polyethylene oxid, polyvinyl alcohol. Further, it discloses the method of production of said composition which is carried out by means of electrostatic spinning of the mixture in water.