Usually just the railing. Treads, stringers, and the stair itself stay where they are. We remove the old railing system and install the new one on the existing stair, which is why a railing swap changes the look of the whole space without a full staircase remodel.