Music Theory — Level II: Rhythm, Meter, and Accidentals

Level II – Key-Signature Accidentals

In the previous lesson we learned that musical accidentals change the pitch of notes using sharps, flats, and other signs. Now we are going to study a special way of using them: key-signature accidentals, or fixed accidentals. These accidentals are written at the beginning of the staff and form the key signature. Unlike the signs placed before a specific note, key-signature accidentals establish which notes should normally be played as sharps or flats throughout the music. You will learn how to recognize them, which notes they affect, and how to correctly read a score that contains them.

What will you learn in this lesson?

By the end of this lesson you will be able to:

  • Explain what key-signature accidentals, or fixed accidentals, are.
  • Identify the key signature on a staff.
  • Recognize where the sharps and the flats of the key signature are placed.
  • Understand why a key-signature accidental affects all octaves of the same note.
  • Know the order in which the sharps and flats appear.
  • Read examples with key signatures of one, two, and three signs.
  • Understand what happens when a score changes key signature.
  • Tell a key-signature accidental apart from an accidental written in the measure.
  • Solve recognition and application exercises.

What are key-signature accidentals?

The key-signature accidentals, also called fixed accidentals, are the sharps or flats that are part of the key signature of a score.

Their function is to indicate that certain notes should normally be played with the corresponding accidental.

Imagine that we are reading a piece of music in which every F should sound as F sharp.

We could write a sharp before every F. However, if that note appears many times, the notation would become unnecessarily repetitive.

To avoid that, we can place a sharp in the key signature.

In this way, the musician knows from the start that the Fs should normally be played as F sharp, even if a sharp does not appear before each one.

The main idea is simple: the key signature establishes a reading rule for certain notes in the score.

This rule remains in effect while the key signature is in force, unless an accidental written next to a note changes it temporarily.

What is the key signature?

The key signature is the set of sharps or flats that appears at the beginning of a staff, after the clef and before the time signature, when it is indicated.

In a new score, the usual order of these elements is:

Clef → Key signature → Time signature → Musical notes.

The clef lets you identify the notes that correspond to the lines and spaces of the staff.

The key signature indicates which notes will normally be altered.

The time signature establishes how the duration of the measures is organized.

They are three different elements, although all of them help you perform the music correctly.

A key signature can contain one sharp, several sharps, one flat, or several flats. There are also scores with no sharps or flats in the key signature.

When a key signature contains no accidentals, the notes are initially played at their natural pitches, unless other signs indicate changes.

Example: a key signature with F sharp

Let’s look at a simple example in treble clef.

We place a sharp in the position corresponding to F, after the clef and before the time signature.

That sign means that, while the key signature is in force, every note named F should normally be played as F sharp.

This does not affect only the F on the fifth line of the staff: it also affects the F in any other octave.

Key signature of F sharp and two F notes in different octaves Treble-clef staff with a sharp on F in the key signature, followed by the 4/4 time signature. A high F appears on the fifth line and a low F in the first space; both are played as F sharp. 𝄞 4 4 F♯ Key signature High F Low F Both are F sharp
The sharp appears only once in the key signature, but it affects every F in the corresponding part of the music, both low and high. The notes in the example illustrate positions on the staff, not a complete rhythmic measure.

In this example, even though neither of the two noteheads has a sharp immediately before it, both represent F sharp.

The key signature allows the notation to be clearer and avoids repeating the same sign unnecessarily.

Do key-signature accidentals affect all octaves?

Yes. This is a fundamental rule.

When a key signature contains F sharp, we are not altering only the F that occupies one particular line.

We are indicating that every F, in any octave, should normally be played as F sharp.

For example, if the key signature contains a sharp on F:

  • A low F is normally played as F sharp.
  • An F located inside the staff is normally played as F sharp.
  • A high F is also normally played as F sharp.

The sign is placed at a specific pitch in the key signature in order to identify the name of the affected note, not to limit its effect to a single octave.

The same happens with flats. If the key signature contains B flat, every B in the different octaves is normally played as B flat.

This rule distinguishes key-signature accidentals from certain rules we will study later for accidentals written in the measure.

How long do key-signature accidentals apply?

The accidentals of a key signature remain in effect while that key signature remains in force.

This means that their effect normally continues through the different measures of the piece, even if the sharps or flats are not repeated before the notes.

For example, if a piece begins with a key signature that contains F sharp, we will continue to play the Fs normally as sharps in the following measures.

The barline that separates one measure from another does not remove the accidentals of the key signature.

Their effect can be changed in two important ways:

  • By an accidental written in the measure: a sign placed next to a note can temporarily change what the key signature indicates.
  • By a change of key signature: a new key signature establishes another combination of altered notes for the music that follows.

In the next lesson we will study the specific rules for the duration of accidentals written in the measure.

Key signatures with sharps

Key signatures can contain several sharps.

These signs are not placed in just any order: they follow a fixed sequence.

The order of the sharps is:

F – C – G – D – A – E – B.

This order is always used when we add sharps to a conventional key signature.

Number of sharpsAltered notes
1F♯
2F♯, C♯
3F♯, C♯, G♯
4F♯, C♯, G♯, D♯
5F♯, C♯, G♯, D♯, A♯
6F♯, C♯, G♯, D♯, A♯, E♯
7F♯, C♯, G♯, D♯, A♯, E♯, B♯

For example, if a key signature contains three sharps, they will be F, C, and G.

This means that every F, C, and G should normally be played as sharps, regardless of the octave in which they appear.

By contrast, the notes D, E, A, and B will initially keep their natural pitches, unless some additional accidental appears.

For now we do not need to memorize which key each key signature corresponds to. We will study that relationship when we get to keys and scales.

Key signatures with flats

Key signatures with flats follow another fixed order.

The order of the flats is:

B – E – A – D – G – C – F.

Notice that it is the reverse of the order of the sharps.

Number of flatsAltered notes
1B♭
2B♭, E♭
3B♭, E♭, A♭
4B♭, E♭, A♭, D♭
5B♭, E♭, A♭, D♭, G♭
6B♭, E♭, A♭, D♭, G♭, C♭
7B♭, E♭, A♭, D♭, G♭, C♭, F♭

For example, if a key signature contains two flats, the altered notes are B and E.

Therefore, during the music governed by that key signature, every B and E is normally played as B flat and E flat.

The other five natural notes are not changed by that key signature.

Illustration: key signatures of one and two flats

Notice how the first and the second flat of a key signature are written in treble clef.

Key signature of one and two flats in treble clef Two separate staves. The first contains a flat on B, on the third line. The second contains first a flat on B and then one on E, in the fourth space. One flat: B♭ Two flats: B♭ and E♭ 𝄞 𝄞 The sign means B flat First B♭; then E♭ The order of the signs does not change according to the piece.
Example of key signatures of one and two flats in treble clef. The first flat is always B; when a second one appears, it corresponds to E. The signs are placed according to the positions of those notes on the staff.

In the first key signature, only B appears altered.

In the second, B and E are normally played as flats.

The exact vertical position of each sign depends on the clef used. The names of the affected notes and the order of appearance, however, remain the same.

Why do sharps and flats have a fixed order?

Conventional key signatures are built by following a set order of sharps or flats.

This means that we do not freely choose the order of their signs.

For example, if we want to write a key signature of two sharps, we place F sharp and then C sharp.

It would not be correct to write G sharp first and then F sharp to represent a conventional key signature of two sharps.

The same happens with the flats: a conventional key signature of three flats contains B, E, and A, in that order.

Learning these sequences will help you recognize key signatures quickly and, later on, relate them to keys.

Tip: start by memorizing the first three notes of each series:

  • Sharps: F – C – G.
  • Flats: B – E – A.

When you remember them without difficulty, you will be able to gradually extend both series.

What happens when the key signature changes?

A piece of music can begin with one key signature and, later on, present a different one.

This is known as a change of key signature.

For example, imagine that a piece begins with a key signature of one sharp, corresponding to F.

While that key signature is in force, the Fs are normally played as F sharp.

Later on, a new key signature with no sharps or flats may appear. From that change on, the Fs are no longer affected by the sharp of the previous key signature.

Changes of key signature are indicated by writing the signs of the new key signature in the corresponding place in the score.

A double barline may appear to highlight the change, especially when it coincides with an important musical section.

However, the double barline is not required in every change of key signature. The fundamental indication is the writing of the new key signature.

When the change removes previous accidentals, the notation may include canceling naturals. Their presence and arrangement also depend on the editorial conventions used.

For now it is enough to understand that a new key signature replaces the accidental rule of the previous one for the music that follows.

Can a natural change a key-signature accidental?

Yes. Even if a key signature establishes that a note should normally be played sharp or flat, we can use a natural before a specific note to restore its natural pitch.

Imagine a key signature that contains F sharp.

If an F with a natural appears in a measure, that note should be played as F natural.

But this natural does not remove the key signature from the whole piece.

The key signature stays in force, and its accidental will apply again when appropriate, according to the rules of notation.

In the next lesson we will study the accidentals written in the measure and we will learn exactly which notes they affect within the measure.

Remember: an accidental written in the measure can temporarily change what the key signature indicates, but it does not by itself change the key signature of the whole piece.

Difference between key-signature accidentals and accidentals written in the measure

Now we can compare the two types of accidentals.

CharacteristicKey-signature accidentalsAccidentals written in the measure
Usual placementIn the key signature, after the clef.Immediately to the left of a specific note.
FunctionThey establish the notes that are normally altered in the music.They temporarily change the pitch indicated by the key signature or by the previous notation.
OctavesThey affect all octaves of the same note.In ordinary modern notation, they apply to the octave indicated.
Duration of their effectAs long as the key signature remains in force.Generally until the end of the measure, according to the rules of application.
ExampleF sharp written in the key signature.F natural written before a note.

In this lesson the most important thing is to recognize where each type is written and to understand that they do not stay in effect for the same length of music.

The details about the duration of accidentals written in the measure and the exceptions in how they are written will be explained in the next lesson.

How to read a score with a key signature

When you begin to read a score, you can follow this procedure:

  1. Look at the clef. Identify whether you are reading in treble clef, bass clef, or another clef you know.
  2. Find the key signature. Check whether sharps or flats appear after the clef.
  3. Identify the altered note names. For example, if there are two sharps, remember that they will be F and C.
  4. Read the notes. Apply the accidentals of the key signature to all octaves of those note names.
  5. See whether there are signs next to the notes. If a natural, a sharp, or another accidental written in the measure appears, you will have to apply their particular rules.

This procedure avoids a common mistake: starting to play the notes without first having observed the accidentals that appear at the beginning of the staff.

Practice activity: learn to recognize key signatures

You can practice using a sheet of staff paper or simply by answering out loud.

  1. A key signature with one sharp: identify which note is altered. The answer is F.
  2. Two sharps: add the next sign in the conventional order. Now the altered notes are F and C.
  3. Three sharps: add G. Check that you remember the sequence F – C – G.
  4. One flat: identify B as the first altered note.
  5. Two flats: add E. The sequence is B – E.
  6. Three flats: add A. Repeat the sequence B – E – A.
  7. Application: imagine a score with two flats. Say out loud how you would play a low B, a high E, and a G natural.

In the last exercise, B and E are normally played as flats, while G keeps its natural pitch, unless another accidental indicates otherwise.

Common mistakes when studying key-signature accidentals

  • Believing that the key signature affects only the octave where the sign is written: key-signature accidentals apply to all octaves of the same note name.
  • Thinking that the key signature stops applying at the end of each measure: it stays in force through the measures.
  • Repeating a sharp before every affected note: it is generally not necessary because the key signature already indicates the accidental.
  • Placing sharps and flats in an arbitrary order: conventional key signatures follow fixed sequences.
  • Believing that a natural removes the whole key signature: an accidental written in the measure does not by itself replace the key signature.
  • Confusing the key signature with the time signature: the first affects pitches and the second affects rhythmic organization.
  • Assuming that a change of key signature always needs a double barline: it can be used, but it is not an absolute requirement.
  • Thinking that two sharps can be two notes chosen freely: in a conventional key signature they correspond to F and C.
  • Forgetting to check the key signature before reading the notes: this can cause pitch errors throughout the whole performance.

Exercises on key-signature accidentals

Solve these exercises using the rules of the conventional key signatures we have studied. Then consult the solutions.

  1. What are key-signature accidentals, or fixed accidentals?
  2. What is the set of key-signature accidentals written at the beginning of the staff called?
  3. Where is the key signature normally placed?
  4. Which note is altered in a key signature with one sharp?
  5. Which notes are altered in a key signature with two sharps?
  6. Which notes are altered in a key signature with three sharps?
  7. Write the complete order of the sharps.
  8. Which note is altered in a key signature with one flat?
  9. Which notes are altered in a key signature with two flats?
  10. Which notes are altered in a key signature with three flats?
  11. Write the complete order of the flats.
  12. If the key signature contains F sharp, should a low F be played as a sharp?
  13. Does the key signature stop having an effect when a barline appears?
  14. If a key signature has two flats, how are the notes B and E normally played?
  15. If there are three sharps in the key signature, how is a D with no accidental written in the measure normally played?
  16. If a key signature contains F sharp and an F with a natural appears, what pitch does that natural indicate?
  17. Does that natural remove the key signature from the rest of the piece?
  18. Is it required to use a double barline every time the key signature changes?
  19. What is the main difference between a key-signature accidental and an accidental written in the measure?
  20. What should you look at before you start reading the notes of a score?

Explained solutions

  1. They are the sharps or flats that are part of the key signature. They indicate which notes should normally be played altered.
  2. Key signature. It is the set of signs placed after the clef.
  3. After the clef and before the time signature, when it appears. That is the usual arrangement at the beginning of the staff.
  4. F sharp. It is the first sign in the order of sharps.
  5. F sharp and C sharp. They are the first two sharps of the conventional order.
  6. F sharp, C sharp, and G sharp. They are the first three signs of the sequence.
  7. F – C – G – D – A – E – B. This is the fixed order of the sharps.
  8. B flat. It is the first sign in the order of the flats.
  9. B flat and E flat. They are the first two flats.
  10. B flat, E flat, and A flat. They are the first three signs.
  11. B – E – A – D – G – C – F. It is the fixed order of the flats.
  12. Yes. The key signature affects all octaves of the same note name.
  13. No. A barline does not cancel the key-signature accidentals.
  14. B flat and E flat. The key signature affects those notes in any octave.
  15. D natural. A key signature of three sharps alters F, C, and G, not D.
  16. F natural. The natural restores the natural pitch of that note.
  17. No. The key signature stays in force; the natural lasts only as long as an accidental written in the measure.
  18. No. A double barline can accompany the change, but it is not required in every case.
  19. The key-signature accidental belongs to the key signature and applies to the whole passage; the accidental written in the measure is written next to a note and applies for a shorter stretch.
  20. The clef and the key signature. That way you will be able to correctly identify the notes and the accidentals that correspond to them.

Summary: what you should remember about key-signature accidentals

  • The key-signature accidentals, or fixed accidentals, are the sharps and flats that are part of the key signature.
  • The key signature is normally written after the clef and before the time signature.
  • Its accidentals affect all octaves of the corresponding notes.
  • The key signature stays in force through the measures as long as it is not replaced by another one.
  • The order of the sharps is F – C – G – D – A – E – B.
  • The order of the flats is B – E – A – D – G – C – F.
  • A key signature of two sharps contains F♯ and C♯.
  • A key signature of two flats contains B♭ and E♭.
  • Accidentals written in the measure can temporarily change what the key signature indicates.
  • A new key signature replaces the previous one, but the change does not always require a double barline.

You now know how to locate a key signature, recognize its signs, and apply its accidentals to the notes of a score. In the next lesson you will learn to interpret accidentals written in the measure, which allow you to temporarily change the pitches established by the key signature.

Continue learning music theory

If you need to review the meaning of the signs that change the pitch of notes, go back to the previous lesson: Musical accidentals.

Now that you know what the key signature is and how key-signature accidentals work, you can continue with the next lesson: Accidentals written in the measure. You will learn how the notes are changed temporarily and how long the effect of these signs lasts within a measure.