The German economy shrank 0.3% in Q4 2023 compared to the previous year, putting Europe's largest economy on the brink of technical recession. However, as GDP stagnated in Q2 and Q3, Germany was able to avoid another technical recession (two successive quarters of contraction). The economy shrank due to persistent inflation, high energy prices and weak foreign demand.