With the World Cup in full swing, I've come across the words "Flagge" and "Fahne" quite a bit. These words are seemingly synonymous, but that might not be the case.
Take a quick look at the following entries from Duden
Fahne: meist rechteckiges, an einer Seite an einer Stange befestigtes Tuch, das die Farben, das Zeichen eines Landes, eines Vereins, einer Gemeinschaft o. Ä. zeigt und als Symbol o. Ä. für etwas gilt
Flagge: an einer Leine befestigte Fahne als Hoheits- oder Ehrenzeichen eines Staates, als Erkennungszeichen und Verständigungsmittel [im Seewesen für Schiffe], die an einem Flaggenmast, -stock o. Ä. gehisst oder befestigt wird
These definitions don't really help me at all. The way the entry for "Flagge" uses the word "Fahne" just adds to the confusion.
Perhaps "Flagge" is reserved for official use only? It seems that all Flaggen are Fahnen, but not all Fahnen are Flaggen.