Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The number of Americans filing for unemployment benefits jumped to a more than two-year high last week amid a surge in applications in hurricane-ravaged Texas, but the underlying trend remained consistent with a strong labor market.

The surge in claims reported by the Labor Department on Thursday offered an early glimpse of Hurricane Harvey's impact on the economy. The storm unleashed unprecedented flooding in Houston, disrupting oil, natural gas and petrochemical production and forcing a temporary closure of refineries.

As Texas tries to recover from the late August storm, Florida is bracing for Hurricane Irma, which is expected to make landfall over the weekend.

Economists say Harvey could put a dent in third-quarter gross domestic product and hold back job growth in September. But they expect any lost output to be recouped in the fourth quarter and payroll growth to rebound in October.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Back-to-Back Disasters

"The near-term economic impact of what increasingly appears to be two severe natural disasters in close proximity to one another will be a clear negative," said Jim Baird, chief investment officer at Plante Moran Financial Advisors in Kalamazoo, Michigan. "Having said that, the national economy appears to remain on track."

Initial claims for state unemployment benefits surged 62,000 to a seasonally adjusted 298,000 for the week ended Sept. 2, the highest level since April 2015, the Labor Department said. The weekly increase was the largest since November 2012. A Labor Department official said last week's data had been impacted by Hurricane Harvey.

Related: How Big Brands Handle Double Whammy Storms

Unadjusted claims for Texas surged 51,637 last week as some people found themselves temporarily unemployed. That accounted for 95.6 percent of the increase in unadjusted claims last week.

Economists had forecast claims rising to 241,000 in the latest week. Claims could stay elevated for the next few weeks.

Despite last week's jump, claims remained below 300,000, a threshold associated with a robust labor market, for the 131st straight week. That is the longest such stretch since 1970, when the labor market was smaller.

The four-week moving average of claims, considered a better measure of labor market trends as it irons out week-to-week volatility, increased by 13,500 to 250,250 last week, still suggesting the labor market continues to strengthen.

Harvey's Long-Term Impact

There are concerns, however, that disruptions from the flooding in Houston could hurt job growth in September. Employment in Houston is a little over 3 million.

"If employment were to decline by just 5 percent, that would mean a job loss of 150,000," said Michelle Girard, chief economist at NatWest Markets in Stamford, Connecticut. "We do not rule out the possibility of a negative payroll print in September, especially given the potential for further damage from Hurricane Irma."