The 23-year-old shortstop/second baseman, who made his major league debut in September, was injured during an offseason workout last week. Dr. James Andrews performed the surgery in Pensacola on Tuesday.
Minor league pitcher Ryne Stanek had surgery to repair his right hip labrum. He is expected to return in mid-summer.
Beckham was the No. 1 pick in the 2008 amateur draft. He hit .276 with four homers and 51 RBIs at Triple-A Durham before appearing in five games with the Rays last season.