The Ministry of Finance released its trade data for Japan on the late Wednesday evening. Japan's trade deficit turned into a surplus of ¥115.5 billion in October from a deficit of ¥114.5 billion in September.
Analysts had expected a deficit of ¥292 billion.
Exports rose 7.6% year-on-year in October, while imports dropped 13.4%.
Exports to Asia declined by 3.6% year-on-year, exports to the United States increased by 6.3%, exports to China fell by 3.6%, while exports to the European Union were up 5.6%.
Imports from Asia decreased 4.7% year-on-year, imports from the United States jumped 1.0%, while imports from China slid 5.2%.