Anderson was drafted with the 37th pick in the 7th round (254th overall) by the San Francisco 49ers of the National Football League (NFL). The 49ers also drafted his college teammate Mike Davis in the 4th round. Along with Davis, the 49ers also signed college teammate quarterback Dylan Thompson as an undrafted rookie and wide receiver Bruce Ellington was drafted in the 4th round in the 2014 NFL Draft. All 4 of these players played together in the 2012-2013 season. On May 11, 2015, Anderson signed his rookie contract. Anderson caught his first touchdown in a preseason game against the San Diego Chargers on September 3, 2015. On August 28, 2016, the 49ers released Anderson along with offensive lineman Erik Pears.