The invention relates to a nail varnish composition containing at least one film-forming agent based on nitrocellulose and/or a cellulose derivative, a plasticiser and a solvent, characterised in that it comprises at least 6% of a film-forming agent based on nitrocellulose and/or a cellulose derivative, and a polyphenylsilsesquioxane resin, with the aim of improving the shine of the varnish after the application thereof to the nails, said polyphenylsilsesquioxane resin being a non-aminated molecule and having a glass transition temperature Tg higher than 30°C.