A two-step surface treatment combining ascorbic acid with a polymer shell keeps niobium carbide MXene nanosheets stable and non-toxic in biological media.