A method for the manufacturing of nanocellulose. The method includes a first modification of the cellulose material, where the cellulose fibers are treated with an aqueous electrolyte-containing solution of an amphoteric cellulose derivative. The modification is followed by a mechanical treatment. By using this method for manufacturing nanocellulose, clogging of the mechanical apparatus is avoided. Also the nanocellulose is manufactured in accordance with the method and uses of the cellulose.