Spain's Economy Ministry released its trade data on Thursday. The trade deficit narrowed to €1.79 billion in December from €1.82 billion in November a year ago.
Exports rose at an annual rate of 4.1% in December, while imports climbed 3.7%.
In 2015 as whole, the trade deficit totalled €24.17 billion, down 1.2% from last year. It was the second lowest reading since 1998.
Exports increased 4.3% in 2015, while imports gained 3.7%.