Disclosed is a method for the manufacturing of nanocellulose. The method includes a first modification of the cellulose material, where the cellulose fibres 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 disclosed is nanocellulose manufactured in accordance with said method and uses of said cellulose.