The rise was bigger than the median market forecast for a 21.9 percent gain but marked the fifth consecutive month that annual export growth slowed.
Exports to Asia, which account for more than half of Japan's total exports, rose 23.8 percent from a year earlier, while shipments to the United States increased 25.9 percent from a year ago.
The trade balance came to a surplus of 804.2 billion yen ($9.56 billion), up 119.9 percent from a year earlier.