G-flat major
| Relative key | E-flat minor | 
|---|---|
| Parallel key | G-flat minor →enharmonic: F-sharp minor | 
| Dominant key | D-flat major | 
| Subdominant key | C-flat major | 
| Enharmonic key | F-sharp major | 
| Component pitches | |
| G♭, A♭, B♭, C♭, D♭, E♭, F | |
G-flat major is a major scale based on G♭, consisting of the pitches G♭, A♭, B♭, C♭, D♭, E♭, and F. Its key signature has six flats.
Its relative minor is E-flat minor (or enharmonically D-sharp minor). Its parallel minor, G-flat minor, is usually replaced by F-sharp minor, since G-flat minor's two double-flats make it generally impractical to use. Its direct enharmonic equivalent, F-sharp major, contains six sharps.
The G-flat major scale is:
Changes needed for the melodic and harmonic versions of the scale are written in with accidentals as necessary. The G-flat harmonic major and melodic major scales are: