|Relative key||E minor|
|Parallel key||G minor|
|Dominant key||D major|
|G, A, B, C, D, E, F♯|
The G major scale is:
For orchestral works in G major, the timpani are typically set to G and D, a fifth apart, rather than a fourth apart as for most other keys.
Of Domenico Scarlatti's 555 keyboard sonatas, G major is the home key for 69, or about 12.4%, sonatas.
In the music of Johann Sebastian Bach, "G major is often a key of 6
8 chain rhythms", according to Alfred Einstein, although Bach also used the key for some 4
4-based works, including his third and fourth Brandenburg Concertos. Pianist Jeremy Denk observes that the Goldberg Variations are 80 minutes in G major.
Twelve of Joseph Haydn's 104 Symphonies are in G major. Likewise, one of Haydn's most famous piano trios, No. 39 (with the Gypsy Rondo), and one of his last two complete published string quartets (Op. 77, No. 1), are in G major.
In addition, G major is the home key of Mozart's Eine kleine Nachtmusik, serving as the tonic for three of its four movements (the exception being the second movement, titled Romanze which is in the subdominant key). However, almost none of his large-scale works such as his symphonies or concertos are in this key; exceptions are the Piano Concerto No. 17, Flute Concerto No. 1 and his String Quartet No. 14, along with some examples among his juvenilia.
G major is the key stipulated by Queen Elizabeth II to be used for "God Save the Queen" in Canada. The music to the American national anthem, "The Star-Spangled Banner", was originally written in G major. Though it is now usually sung in A♭ or B♭ major, some people, most notably humorist and commentator Garrison Keillor, are campaigning to return the song to its original key; they argue that the song is already very difficult to sing on account of its range (one and a half octaves), and the modern standard key makes it still more difficult. The anthem "God Defend New Zealand" ("Aotearoa") was originally composed by John Joseph Woods in A♭ major, but after becoming New Zealand's national anthem in 1977 was rearranged into G major to better suit general and massed singing. According to Spotify, G Major is the most common key of music on the streaming service (closely followed by C Major).