Synthetic detergents are environmentally damaging and eco-friendly alternatives would help reduce environmental impacts. This study shows a more sustainable detergent, based on cellulose nanospheres obtained from agricultural waste corncob, with strong cleaning performance and low toxicity.