Carolina announced Friday that Ginn signed a one-year deal.
Carolina coach Ron Rivera says Ginn is "an explosive player who could help us both on offense and in the return game."
The 5-foot-11, 180-pound Ginn played six seasons in the NFL as a receiver and return specialist, the last three with the 49ers. In 2012, Ginn played in 13 games and averaged 10.2 yards per return and 23 yards per kickoff return. He caught just two passes for 1 yard.
Ginn entered the NFL in 2007 as the ninth overall pick in the first round with the Miami Dolphins. He played three seasons with the Dolphins before being traded to the 49ers in 2010.