Why is it das Hauptgebäude?

Hauptgebäude is a compound noun, and German compounds take the article of their last word: das Gebäude. So it’s das Hauptgebäude.

Sense 1
das

Meaning

[1] Central, particularly important/large building of a number of related buildings

[1] zentrales, besonders wichtiges/großes Gebäude einer Reihe von zusammengehörigen Gebäuden

Examples

[1] "The government district of the capital is clear, and right next to Aleqa's office is the main building of the police" "

[1] „Das Regierungsviertel der Hauptstadt ist übersichtlich, und gleich neben Aleqas Büro liegt das Hauptgebäude der Polizei.“

Declension

1 Singular Plural
Nominativ das Hauptgebäude die Hauptgebäude
Genitiv des Hauptgebäudes der Hauptgebäude
Dativ dem Hauptgebäude den Hauptgebäuden
Akkusativ das Hauptgebäude die Hauptgebäude

Pronunciation

Dictionary entries include material from Wiktionary. Wiktionary