Jack in the Box skyrockets after Q2 results beat Street

Rocket in space over Earth

Shares of Jack in the Box rose more than 15 percent Thursday after its second-quarter results beat Wall Street expectations.

The restaurant chain reported diluted earnings per share of 85 cents on revenue of $361 million, helped by higher traffic at its Qdoba Mexican Eats restaurants.

"Operating earnings per share for the second quarter exceeded our expectations and guidance, and resulted primarily from healthy margins and cost controls combined with mark-to-market adjustments and a lower tax rate," Lenny Comma, the company's chairman and CEO, said in a statement.

Despite the stock's surge on Thursday, Jack's shares remain down more than 2 percent in 2016 and nearly 20 percent lower over the past year.

JACK in past 12 monthsSource: FactSet

— Reuters contributed to this report.