Japan's exports rose 3.1 percent in October from the same period last year, recovering from September's 43-month low.
The rise exceeded expectations of economists polled by Reuters for a 2.2 percent rise, reversing the 1.7 percent decline in September.
Government data showed that Japanese exports increased further to the Middle East, recording a rise of 35.4 percent, compared to the same period last year.
Imports to Asia's second-largest economy in terms of gross domestic product rose 0.4 percent, beating expectations for a 0.3 percent decline, according to a Reuters poll. Japan's trade deficit widened to 461.2 billion yen ($2.98 billion), beating the Reuters poll's forecast of 360.4 billion yen and compared with September's revised figure of 294.1 billion yen.