WASHINGTON — Auto plants, clothing makers and plastics factories drove a sharp rebound in U.S. manufacturing in July.

U.S. factory production climbed a seasonally adjusted 0.8 percent last month after a revised estimate showed that output had dipped 0.3 percent in June, the Federal Reserve said Friday.

The gains suggested that manufacturers are adjusting to the obstacles of a stronger dollar, tepid economic growth abroad and lower oil prices, which have led energy companies to slash their orders for equipment and pipelines.

“Industrial production is turning around after weakness in early 2015,” said Stuart Hoffman, chief economist at PNC Financial Services.

Much of the improvement came from motor vehicle output, which surged 10.6 percent in July. Auto sales jumped 5 percent to 1.5 million, with luxury brands such as Acura, Audi, Infiniti, Lincoln and Volvo accounting for double-digit gains.

Output at clothing and leather factories rose 1 percent last month, as did the manufacturing of plastics and rubber products. Some of those gains were offset by reduced output by oil and coal refiners, as well as by a drop in productivity at machinery plants.

Some analysts suggested that the gains in auto production weren’t as impressive as the numbers might indicate. Jesse Hurwitz at Barclays Research noted that auto plants generally close temporarily in July to retool for new model lines and that the shutdown this year was shorter than normal. This would mean that the Fed report exaggerated the gains in motor vehicle output last month and that auto production might dip in August.

The Federal Reserve said overall industrial production – which includes not only the key category of manufacturing but also mining and utility output– rose 0.6 percent. Mining, which includes oil and gas wells, rose 0.2 percent last month but remains down 2 percent over the past 12 months. Utility output, which often fluctuates sharply from month to month depending on weather, fell 1 percent.