WASHINGTON  The U.S. trade deficit unexpectedly fell in June as exports advanced to an all-time high, offsetting another big surge in oil imports. The Commerce Department reported Tuesday the trade imbalance dropped to $56.8 billion in June, down by 4.1% from a revised May deficit of $59.2 billion. It's the smallest deficit in three months and much better than the $61.5 billion deficit Wall Street had been expecting. Exports of goods and services rose to a record of $164.4 billion, helped by the dollar's declines earlier in the year, which have made U.S. goods cheaper on overseas markets. Imports also rose to a record of $221.2 billion, up 1.8% from the May level. But the increase was driven by a 14.6% surge in petroleum imports, which hit an all-time high of $44.5 billion as crude oil prices jumped to record levels. The country's goods trade deficit outside of petroleum shrank to the lowest level since February 2003. Demand for a variety of consumer products from clothing to televisions and furniture has weakened, reflecting the sharp economic slowdown in the United States. Through the first half of this year, the trade deficit is running at an annual rate of $702.8 billion, up only slightly from last year's deficit of $700.3 billion. The 2007 deficit was down 7% from 2006, marking the first annual improvement after five straight years of record deficits. The Bush administration points to the falling deficits as evidence that the president's trade policies are working to open overseas markets to U.S. products. But critics say the deficits still remain far above the levels in effect when Bush took office. They also contend that the string of record deficits contributed to the loss of more than 3 million manufacturing jobs since 2001 as many companies moved production to low-wage countries. The deficit in June, after adjusting for inflation, was the lowest monthly imbalance since December 2001, a month when the country was struggling to emerge from a recession. Many economists believe the 2008 slowdown will ultimately be ruled a recession, too, although the gross domestic product has yet to post back-to-back negative quarters, a traditional definition of a downturn. The GDP expanded at an annual rate of 1.9% in the April-June quarter but it would have been negative during that period had it not been for a sizable improvement in the trade balance, reflecting the drop in demand for imports and surging export sales. Economists are worried that the big lift from exports could fade in coming months if economic growth in Europe and Japan, two big overseas markets for American goods, falters. The politically sensitive deficit with China rose to $21.4 billion in June, the largest monthly imbalance since a record $25.9 billion deficit with China last October. The deficit is likely to rise further in coming months. The Chinese reported Monday that their surplus with the world rose to the highest level in eight months in July. Its surpluses with the United States and the 27-nation European Union expanded. Critics accuse China of unfair trade practices such as artificially depressing the value of its currency to boost the competitiveness of Chinese products. The Bush administration, led by Treasury Secretary Henry Paulson, has been prodding China to move more quickly to allow its currency to rise against the dollar and head off Democratic moves in Congress to impose penalty tariffs on Chinese goods over the currency issue. The record level of U.S. exports in June reflected big increases in sales of farm products such as soybeans, corn and wheat and gains in exports of manufactured goods. Sales of aircraft engines, electric generators and computer chips all posted big gains. U.S. exports to Mexico, the European Union and South and Central America all hit records in June. America's deficit with OPEC set a record in June as the average price of imported crude oil climbed to a record of $117.13 per barrel. Oil prices, which hit a record on the spot market of $147.27 in early July, have fallen by about 20% since that time, raising hopes that the oil portion of the trade deficit will start to narrow in coming months. Copyright 2008 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Guidelines: You share in the USA TODAY community, so please keep your comments smart and civil. Don't attack other readers personally, and keep your language decent. Use the "Report Abuse" button to make a difference. You share in the USA TODAY community, so please keep your comments smart and civil. Don't attack other readers personally, and keep your language decent. Use the "Report Abuse" button to make a difference. Read more