Described is a coating for hard floors, which provides a sanitary finish based on methyl methacrylate and titanium and silicon nanoparticles functionalized with silane groups, which improves the abrasion resistance and avoids damage caused by the UV radiation of said floors.