The team announced the move to part ways with the 34-year-old Dumervil on Friday. The 49ers also said they tendered a one-year contract to exclusive-rights free-agent running back Raheem Mostert and picked up the 2018 contract option for linebacker Dekoda Watson.
Dumervil led the 49ers with 6.5 sacks last season and has 105.5 in an 11-year career that also included stints in Denver and Baltimore.
Mostert played 11 games last season and finished with six carries for 30 yards while adding a team-high eight special-teams tackles.
Watson had four defensive tackles and six tackles on special teams in 14 games last season.