Herbalife shares vacillated Thursday in extended hours trading after the company reported quarterly earnings that significantly beat analysts' expectations.

The weight loss and nutrition products firm posted fourth-quarter adjusted earnings per share of $1.41 on revenue of $1.13 billion. Analysts had expected Herbalife to report earnings of about $1.22 a share on $1.16 billion in revenue, according to a consensus estimate from Thomson Reuters.