Skip to content
Music Theory

Closely Related Keys

Two keys are closely related (also called neighboring keys) when they share almost all of their notes. That makes the move from one to the other, a modulation, sound completely natural. After the relationship between a major key and its relative minor, it is the closest kind of key relationship there is.

The test is based on the key signature: two keys are closely related if their key signatures differ by at most one accidental. In other words, adding or removing a single sharp (or flat) in the first key signature gives you the second one.

This small difference means the two keys share six of their seven notes, so the sound moves on almost without notice. The ear does not hear a jump. It simply feels that the color of the music has changed slightly.

You can see this relationship at a glance on the circle of fifths. The closely related keys are the ones next to a key on the circle, plus the relative minor (or major) of each.

Key signature rule:

  • Same key signature → relative keys (the closest relationship of all).
  • Difference of 1 accidental → keys a fifth apart, which are closely related.
  • Difference of 2 or more accidentals → distant keys.

Every key, major or minor, has exactly five closely related keys. To find them, move one step each way on the circle of fifths and also take the relative of each resulting key:

  1. Its relative (major ↔ minor): same key signature.
  2. The key a fifth above (the dominant key, one more sharp or one fewer flat).
  3. The relative of that dominant key.
  4. The key a fifth below (the subdominant key, one more flat or one fewer sharp).
  5. The relative of that subdominant key.

Example: the closely related keys of C major

C major has no sharps or flats. Applying the five steps above:

Related key Key signature Relationship to C major
A minorNo accidentalsRelative minor (same key signature)
G major1 sharp (F♯)Dominant (one more sharp)
E minor1 sharp (F♯)Relative of G major
F major1 flat (B♭)Subdominant (one more flat)
D minor1 flat (B♭)Relative of F major

Example: the closely related keys of A minor

A minor also has no accidentals in its key signature. Its five related keys are:

Related key Key signature Relationship to A minor
C majorNo accidentalsRelative major (same key signature)
E minor1 sharp (F♯)Minor dominant (one more sharp)
G major1 sharp (F♯)Relative of E minor
D minor1 flat (B♭)Minor subdominant (one more flat)
F major1 flat (B♭)Relative of D minor

The related keys of C major and those of A minor are exactly the same five keys. This is unavoidable: because the two keys are relatives, they share a key signature and so they share a neighborhood.

Why are closely related keys important?

Key closeness is the foundation of diatonic modulation, the most common and least jarring way to change key within a piece. When a piece modulates to a closely related key, the listener hears the change as an opening-up or a shift of color, not as a break.

Composers return to closely related keys again and again for several reasons:

  • Melodic flow: because the keys share six of seven notes, melodies can carry on almost unchanged.
  • Pivot chords: some chords belong to both keys at once and act as a bridge from one to the other, so the change does not sound abrupt.
  • Controlled contrast: modulating to the dominant (a fifth above) gives a feeling of lift and tension. Modulating to the subdominant (a fifth below) gives a feeling of relaxation and darkening.

Closely related keys and the circle of fifths

The circle of fifths is the most useful picture for understanding key closeness. Each key sits right between its two neighbors a fifth away (one with a sharp more, one with a flat more). The keys farthest apart on the circle are the most distant from each other harmonically.

In practice, the keys closely related to any key are the key itself and its two immediate neighbors on the circle of fifths, plus the three corresponding relatives.

Visual summary for C major:

F major — C major — G major
D minor — A minor — E minor

The three keys in the top row are the major keys. The three in the bottom row are their relative minors. Together they form the six keys of the neighborhood (five related keys plus the home key).

To practice, try the interactive exercises on closely related keys.

To see exactly which accidentals each key has, and which keys differ by only one, read keys and key signatures.

Frequently Asked Questions

How many closely related keys does a key have?
Every key, major or minor, has exactly five closely related keys: its relative, the key a fifth above (the dominant) with its relative, and the key a fifth below (the subdominant) with its relative.
What does it mean to modulate to a closely related key?
To modulate is to change key within a piece of music. Modulating to a closely related key is the smoothest and most natural kind of modulation, because the two keys share six of their seven notes and the ear barely notices the transition.
How do closely related keys differ from distant keys?
Closely related keys differ by only one accidental in their key signatures and share almost all their notes. Distant keys differ by two or more accidentals, so a modulation to them sounds more abrupt and dramatic.
What are the closely related keys of C major?
The five closely related keys of C major are A minor (its relative, same key signature), G major (the dominant, 1 sharp) and E minor (the relative of G major), and F major (the subdominant, 1 flat) and D minor (the relative of F major). Each shares at least six of the seven notes of C major.
How do you modulate to a closely related key?
The most common technique is the pivot chord: a chord that belongs to both keys at once and acts as a bridge between them. For example, D minor is the ii chord in C major and the vi chord in F major, so it can be used to modulate from one to the other without a jolt.