A key signature tells you which note letters are normally sharp or flat throughout a passage, in every octave. Read it after the clef and before playing the notes. Sharps follow F–C–G–D–A–E–B; flats follow the reverse order. A local accidental can override the signature. Major and relative-minor keys share a signature, so the signs alone do not establish the musical tonic.
Key points to remember
- Read the signature before identifying altered pitches.
- A signature affects its note letters in every octave.
- A local accidental can override it within a bar.
- A shared signature does not make major and minor the same key.
What does a key signature change?
A key signature is the group of sharps or flats placed after the clef. It establishes which note letters are normally altered throughout the passage. If the signature contains F-sharp, written Fs are sharpened in every octave unless a local accidental changes them. You do not add a separate sharp beside every F.
A signature is a compact notation instruction, not proof of the tonal centre by itself. A piece can use the same signature for a major key, its relative minor or another context. Read the melody and harmony as well as counting the signs. For an initial exercise, choose a clear major scale and notice the note on which it settles.
Learn the order of sharps and flats
Sharps are added in the order F, C, G, D, A, E, B. Flats are added in the order B, E, A, D, G, C, F. The sequence matters: a two-sharp signature contains F-sharp and C-sharp, not an arbitrary pair of sharpened notes.
Learn a few common signatures by using them. C major has no sharps or flats, G major has F-sharp, D major has F-sharp and C-sharp, and F major has B-flat. Play each scale slowly and check that every letter occurs once. This links the printed signs to a sound rather than making them a purely visual code.
G major: G A B C D E F♯ G. F major: F G A B♭ C D E F.
| Major key | Key-signature notes | Relative minor |
|---|---|---|
| C major | None | A minor |
| G major | F♯ | E minor |
| D major | F♯, C♯ | B minor |
| F major | B♭ | D minor |
| B♭ major | B♭, E♭ | G minor |
How can you identify a major-key signature?
For an ordinary sharp major-key signature, the tonic is one semitone above its last sharp. If the last sharp is C-sharp, the major key is D. For flat signatures with at least two flats, the second-to-last flat gives the major tonic. B-flat and E-flat in the signature indicate B-flat major.
The one-flat signature is the exception to that second-to-last method: it is F major. The no-accidental signature is C major. Treat these shortcuts as a check, then confirm the full scale. They help you read a conventional signature, but they do not replace hearing where a particular passage feels at home.
Find the relative minor without changing the signature
A major key and its relative minor share a key signature. A minor shares C major's empty signature, E minor shares G major's one sharp, and D minor shares F major's one flat. The relative minor tonic is the sixth degree of the major scale.
Minor music may contain extra accidentals, especially a raised seventh used to strengthen the approach to the tonic. An E-minor passage can therefore show D-sharp locally even though D-sharp is not part of its key signature. Avoid changing the signature every time a single note differs; first check whether the change belongs to a local melodic or harmonic pattern.
When does a local accidental override the key?
A natural, sharp or flat beside a note can override the signature. In ordinary modern notation, a local accidental applies to that pitch in the same octave for the rest of the bar, unless another accidental changes it. At the next bar, the key signature normally takes over again.
When reading or editing, check both sources of information. A note placed at F in a G-major score normally sounds F-sharp. A natural beside it requests F-natural for the local context. Copying notes into a new key without reviewing their spelling can create a score that looks plausible but sounds wrong.
Check a melody against its chosen key
Write the scale of your chosen key before making a melody. Circle the letters affected by the signature. Then enter a phrase that uses those notes and read it without playback. Ask whether each altered pitch follows the signature or needs its own accidental.
After a key change or transposition, review note spelling and playback together. Changing a displayed key signature is not always the same operation as moving every pitch. Keep a saved original so that you can compare the two versions and undo a change that did not match your intention.
Try it yourself
Name the notes changed by a two-sharp key signature. Give its usual major and relative-minor keys, then write the first five notes of the major scale.
Show the answer
F and C become F♯ and C♯. The major key is D major and its relative minor is B minor. The first five D-major notes are D, E, F♯, G and A.
Common questions
Do a major key and its relative minor use the same notes?
Their key signatures match, but their tonal centres differ. Minor passages may also raise or otherwise alter notes locally, so the signature is only the starting point.
Does changing a displayed key signature transpose my melody?
Do not assume so. A key setting and a pitch-shifting operation are different. Check the actual note spellings and playback, and keep an original project before changing key.