The amount of time it takes to wean off pumping will always vary for each mom. But it ultimately depends on how often you were pumping and how much milk you were producing on average.
It’s a good idea to start gradually reducing how much time you spend pumping and how often. This can go from a few days to several weeks because it depends on your milk supply and pumping routine.