San Francisco 49ers defensive lineman Justin Smith will undergo triceps surgery shortly after the Super Bowl.