German hotels and guest houses recorded a total of 394.1 million overnight stays in 2011, compared to 380.3 million the previous year, the federal office of statistics said.
The number of overnight stays by tourists from abroad rose by six percent to 63.8 million, rising twice as fast as domestic visitors.
The Dutch and Swiss were the most frequent foreign visitors to Germany. Although the number of Spanish tourists increased last year, visits from other crisis-hit European countries such as Greece, Italy and Portugal decreased.
Germany cemented its position as the second most visited European country after Spain. Visits by Chinese, Indian and Brazilian tourists all saw double-digit gains.
However, overnight stays by domestic tourists far outweighed foreign visitors, with 330.3 million Germans choosing to stay in their home country.