German exports increased by 6.3% and imports by 8.3% in 2017, according to provisional data from the Federal Statistical Office (Destatis).
Germany exported goods to the value of €1,279.4 billion and imported goods to the value of €1,034.6 billion in 2017.
Export and import levels were higher than the previous all-time highs recorded in 2016.
The foreign trade balance showed a surplus of €244.9 billion in 2017, down from 2016's all-time high of €248.9 billion.
In 2017, Germany exported goods to the value of €750.0 billion to the Member States of the European Union (EU), while it imported goods to the value of €682.5 billion s from those countries.
Compared with 2016, exports to the EU countries increased by 6.3%, and imports from those countries by 7.9%.
Goods to the value of €471.4 billion (+7.0%) were dispatched to the Euro area countries in 2017, while the value of the goods received from those countries was €459.4 billion (+7.2%).
In 2017, goods to the value of €278.7 billion (+5.1%) were exported to EU countries not belonging to the Euro area, while the value of the goods imported from those countries was €223.1 billion (+9.5%).
Exports of goods to countries outside the European Union (third countries) amounted to €529.4 billion in 2017, while imports from those countries totalled €352.1 billion. Compared with 2016, exports to third countries increased by 6.3% and imports from those countries by 9.1%.
In December 2017, Germany exported goods to the value of €100.9 billion euros (+3.9% compared with December 2016) and imported goods to the value of €82.7 billion (+5.0%). After calendar and seasonal adjustment, exports were up 0.3% and imports 1.4% compared with November 2017.