The honors music for a person, office or rank is music played on formal or ceremonial occasions in the presence of the person, office-holder, or rank-holder, especially by a military band. The head of state in many countries is honored with a prescribed piece of music; in some countries the national anthem serves this purpose, while others have a separate royal, presidential, or, historically, imperial anthem. Other officials may also have anthems, such as the vice-regal salute in several Commonwealth realms for the governor-general, governor, or lieutenant governor. Ruffles and flourishes may be played instead of, or preceding, honors music.
Current honors music 
Countries where the national anthem is also the royal anthem include Malaysia, the Netherlands, New Zealand, Norfolk Island, Spain, and the United Kingdom. The Jamaican National Anthem is played for the Governor-General of Jamaica.
Instances of honors music other than the relevant national anthem include the following:
|Australia||Monarch||"God Save the Queen"|
|Other Royal Family members||"God Save the Queen"||First six bars only.|
|Governor-general, governors||Vice-regal salute||The first and last four bars of "Advance Australia Fair", the national anthem.|
|Brazil||President||"Continências ao Presidente da República"||Introduction and final chords of the Brazilian National Anthem. Only applicable at military ceremonies.|
|Canada||Monarch, consort||"God Save the Queen"||For a pipe band, "Mallorca" is played instead.|
|Other Royal Family members||The first six bars of "God Save the Queen".||For a pipe band, "Mallorca" is played instead.|
|Governor general, lieutenant governors||"Salute to the Governor General/Lieutenant Governor", commonly called the Vice Regal Salute||The first six bars of "God Save The Queen" immediately followed by the first four and last four bars of "O Canada", the national anthem. For a pipe band, a combination of "Mallorca" and "O Canada" is played instead.|
|Czech Republic||President||"Fanfares from Libuše (opera)"||Fanfares are from Overture of the opera|
|Denmark||Monarch||"Kong Christian stod ved højen mast"||"King Christian stood by the lofty mast"|
|Finland||Commander-in-Chief of the Finnish Defence Forces (normally the President)||"Porilaisten marssi"||"March of the people from Pori"|
|Haiti||President||"Chant Nationale"||"National Song". Poem by Oswald Durand, set to music by Occide Jeanty in 1893 to serve as a national anthem; replaced by "La Dessalinienne" in 1904.|
|Ireland||President||"Presidential Salute"||The first four and last five bars of "Amhrán na bhFiann", the national anthem|
|Taoiseach||"Amhrán Dóchais"||"Song of Hope". Words by Osborn Bergin, to a traditional air arranged by Aloys Fleischmann.|
|Luxembourg||Monarch||"De Wilhelmus"||A variant of "Het Wilhelmus", the national and royal anthem of the Netherlands|
|Malaysia||Raja Permaisuri Agong; Yang di-Pertua Negeri||Abridged version of the National Anthem||Consisting of first and last sections. Played before the relevant state's anthem if the salute is for the Yang di-Pertua Negeri.|
|State monarchs||Short version of "Negaraku" (the national anthem)||Consisting of last section. Played after the relevant state's anthem. Only may be played if the state monarch present representing the King.|
|Netherlands||Members of the Royal House; Governor of the Netherlands Antilles and Governor of Aruba||"Het Wilhelmus"||The national anthem.|
|Various officials not entitled to "Het Wilhelmus".[fn 1]||"De Jonge Prins van Friesland" ||Ministers used the national anthem till Queen Beatrix objected in 1986.|
|New Zealand||Monarch||"God Save the Queen"||Also one of two national anthems, the other being "God Defend New Zealand"|
|Governor General||"Salute to the Governor General"||The first six bars of "God Save the Queen" The anthem may also be played in full.|
|Norway||Monarch||"Kongesangen"||"The King's Song"; an adaptation of "God Save the Queen" and set to the same tune.|
|Philippines||President||"Mabuhay"||The word mabuhay means "long live". The music is by Tito Cruz, Jr.|
|Singapore||President||"Abridged version of Majulah Singapura"||First six bars only.|
|Spain||Monarch||"La Marcha Real"|
|Prince of Asturias||Short version of "La Marcha Real"||Played without the repeated bars.|
|Sweden||Monarch||"Kungssången"||"The King's Song"|
|Thailand||Monarch, crown prince||"Phleng Sansoen Phra Barami"||"The song of glorifying His Majesty's prestige". Former national anthem, still played before shows in cinemas and theatres. "Sadudee Maharacha" (สดุดีมหาราชา "Hymn to the Great King") is often played afterwards when the King and Queen are present.|
|Senior royalty||"Maha Chai"||"Grand Victory." It may be also used for the Prime Minister in very formal situations.|
|Lesser royalty||"Maha Roek"||"Grand Auspice". It may be also used for provincial governors in very formal situations.|
|United States||President||"Hail to the Chief"|
|Vice President||"Hail Columbia"|
|Various officials[fn 2]||"Honors March 1"||32-bar medley of "Stars and Stripes Forever"|
|Army officers ranked major general and higher||"General's March"||"Honors March 2"|
|Navy officers ranked rear admiral and higher||"Admiral's March"||"Honors March 3"|
|Air Force, Marine Corps, and Coast Guard officers ranked major general and higher||"Flag Officer's March"||"Honors March 4"|
Historical anthems 
|Kingdom of Afghanistan||Monarch||"Shahe ghajur-o-mehrabane ma" ("Our Brave and Dear King")||Used from 1943 until the abolition of the monarchy in 1973.|
|Principality of Albania/Albanian Kingdom||Monarch||"Himni i Flamurit"
("Hymn to the Flag")
|The royal anthem until the abolition of the monarchy in 1943, now the national anthem.|
|Austrian Empire/Austria-Hungary||Monarch||"Gott erhalte Franz den Kaiser"
("God Save Emperor Francis")
|Used with updated words for later Emperors until the abolition of the monarchy in 1918.|
|Kingdom of Bavaria||Monarch||"Königsstrophe"
|An earlier version of the current state anthem glorifying the King.|
|Empire of Brazil||Monarch||"Hino da Independência"
("Hymn of Independence")
|Used between 1822 and 1831. The current national anthem was used for the rest of the empire's existence.|
|Kingdom of Bulgaria||Monarch||"Anthem of His Majesty the Tsar"||Royal anthem until 1944.|
|Empire of China (Qing dynasty)||Monarch|
|Empire of China (1915–1916)||Emperor Yuan Shikai||"Zhong guo xiong li yu zhou jian"
("中國雄立宇宙間"; "China Heroically Stands in the Universe")
|Ethiopian Empire||House of Solomon||"Ityopp'ya Hoy"
("Ethiopia be happy")
|Kingdom of Egypt||Muhammad Ali Dynasty||"Salam Affandina"
("Royal Anthem of Egypt")
|Kingdom of France (c.1590-1789 & 1815-1848)||King of France and Navarre||"Marche Henri IV"
("Henry IV March")
|"Vive la France, Vive le roi Henri" until 1789, "Vive le princes, et le bon roi Louis" after 1815|
|Kingdom of France (1791–1792)||King of France and Navarre||"La Nation, la Loi, le Roi"
("The Nation, the Law, the King")
|First French Empire (1804–1815)||Napoleon I, Napoleon II||"Chant du Départ"
("Song of the Departure")
|"Chant du Départ" until 1815,|
|Second French Empire (1852–1870)||Napoleon III||"Partant pour la Syrie"
("Departing for Syria")
|Kingdom of Greece||Monarch||"Ὕμνος εἰς τὴν Ἐλευθερίαν"
("Hymn to Liberty")
|The royal anthem until the abolition of the monarchy in 1974, now the national anthem.|
|Kingdom of Hawaii||Monarch|
|Iran (Qajar)||Shah||"Salamati-ye Shah"
("Health of the Shah")
|Iran (Pahlavi)||Shah||"Sorood-e Shahanshahi Iran"
("Imperial Salute of Iran")
|Kingdom of Iraq||Monarch||"Es Salam al-Malaky"
("The Royal Salute")
|Kingdom of Italy||Monarch||"Marcia Reale d'Ordinanza"
("Royal March of Ordinance")
|No official words. Used until the abolition of the monarchy in 1946.|
|Korean Empire||Monarch||"Daehan Jeguk Aegukga"
("대한 제국 애국가"; "Patriotic Song of the Korean Empire")
|Kingdom of Laos||Monarch||"Pheng Xat Lao"||An earlier version of the current national anthem.|
|Kingdom of Libya||King Idris||"Libya, Libya, Libya"||This anthem was readopted by the National Transitional Council in 2011, as the national anthem, with the verse glorifying King Idris omitted.|
|Kingdom of Madagascar||Monarch||"Andriamanitra ô"
|Glorifies the Malagasy sovereign.|
|Principality of Montenegro/Kingdom of Montenegro||Monarch||"Ubavoj nam Crnoj Gori"
("To our Beautiful Montenegro")
|Glorifies the Prince/King.|
|Kingdom of Nepal||Monarch||"Rastriya Gaan"
("May Glory Crown our Illustrious Sovereign")
|Used between 1962 and 2006.|
|Kingdom of Portugal||Monarch||"O Hino da Carta"
("Hymn to the Charter")
|Used from 1834 until the abolition of the monarchy in 1910.|
|Prussia/German Empire||King of Prussia/German Emperor||"Heil dir im Siegerkranz"
("Hail to Thee in Victor's Crown")
|Kingdom of Romania||Monarch||"Trăiască Regele"
("Long Live the King")
|Russian Empire||Monarch||"Боже, Царя храни"
("God Save The Tsar!")
|The national anthem until the abolition of monarchy—still used by some descendants of white émigrés.|
|Principality of Serbia/Kingdom of Serbia||Monarch||"Bože pravde"
("Lord of Justice")
|An earlier version of the current national anthem glorifying the Prince/King.|
|Sweden||Gustav III||"Gustafs skål"
("Toast to Gustaf")
|Kingdom of Tunisia||Monarch||"Salam al-Bey"
|Empire of Vietnam||Monarch||"Đăng đàn cung"
("Melody on the Ascent to the Esplanade")
|Kingdom of Yemen||Monarch||"Salam al-Malaky"
|No official words.|
|Kingdom of Yugoslavia||Monarch||"National Anthem of the Kingdom of Yugoslavia"|
|Sultanate of Zanzibar||Monarch||"March for the Sultan of Zanzibar"||No words.|
- Members of the Dutch Cabinet, Netherlands Antilles Cabinet, or Aruba Cabinet; senior Dutch military officers; Secretaries General of NATO, of the UN, and of the EU Council; EU foreign and security High Representative. (In the absence of persons entitled to the anthem).
- State governors, chief justice, Speaker of the United States House of Representatives, President pro tempore of the United States Senate, chairmen of committees of Congress, Cabinet members, Department of Defense officials ranked assistant secretary or higher, senior diplomats, brigadier generals
- "Act 390: National Anthem Act 1968; Incorporating all amendments up to 1 January 2006" (PDF). Malaysia: Commissioner of Law Revision. 2006. Retrieved 2 October 2011.
- "DP 20-10, Ceremonieel & Protocol; Hoofdstuk 8 Muzikaal eerbetoon". Ministeriële & Defensie Publicaties (in Dutch). Netherlands: Ministry of Defence. §§2,5,10. Retrieved 23 October 2011.
- "National Anthem". Jamaica: King's House. Retrieved 2012-02-25.
- "16.3 Australian national anthem". Protocol Guidelines. Department of Foreign Affairs and Trade (Australia). Retrieved 2009-03-11.
- Law No 5700 of 1 September 1971 Cap.3 Sec.II Art.24.V
- "Honours and salutes: Musical salute". Ceremonial and Canadian Symbols Promotion. Canadian Heritage. 2008-12-11. Retrieved 2009-03-11.
- Victor, A.J. "Haitian Patriotic Songs". ayitihistory.com. Retrieved 2009-03-11.
- "National Anthem". Department of the Taoiseach. Retrieved 2009-03-11.
- Ruth Fleischmann, ed. (2000). Aloys Fleischmann (1910–1992): A Life for Music in Ireland Remembered by Contemporaries. Cork: Mercier Press. pp. 11–17. ISBN 1-85635-328-1.
- Hoedeman, Jan; Theo Koelé (5 June 2004). "Beatrix: 'Het Wilhelmus is van mij'". De Volkskrant (in Dutch). Retrieved 23 October 2011.
- "Protocol for using New Zealand's National Anthems". Ministry for Culture and Heritage (New Zealand). Retrieved 2009-03-11.
- "Instructions for Playing the Anthem". Encyclopaedia of New Zealand. Ministry for Culture and Heritage (New Zealand). 1966. "If the first six bars only are used, as for a salute to the Governor-General as the Queen's representative, the anthem is to be played “fortissimo” at M.M. 60 crotchets."
- Quezon, Manuel L. (2004-06-24). "The Long view". Philippine Daily Inquirer. Retrieved 2009-03-11.
- Quezon, Manuel (2008-08-01). "Obsession with appearances". Cebu Daily News. Retrieved 2009-03-11.
- Guidelines for playing and singing national anthems Part IV of the Singapore Arms and Flag and National Anthem Rules
- Rutnin, Mattani Mojdara (1993). Dance, drama, and theatre in Thailand: the process of development and modernization. Tokyo: Centre for East Asian Cultural Studies for Unesco, the Toyo Bunko. p. 132. ISBN 978-4-89656-107-4. Retrieved 7 March 2012.
- "A collection of Thai anthems" (in Thai). Thailand: Office of Public Relations. Archived from the original on 25 June 2006. Retrieved 7 March 2012.; "A collection of Thai anthems". Thailand: Office of Public Relations. Archived from the original on 24 June 2006. Retrieved 7 March 2012.
- "Army Regulation 600–25: Salutes, Honors, and Visits of Courtesy". U.S. Department of the Army. 2004-09-24. pp. 5–6; Table 2–1. Retrieved 2009-03-11.