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

Level II – Accidentals in the Measure

In the previous lesson we learned that key-signature accidentals form the key signature and set which notes should normally be played as sharps or flats. However, in a composition it may be necessary to change a note at a specific moment without changing the whole key signature. To do that we use accidentals written in the measure. In this lesson you will learn where they are written, which notes they affect, how long their effect lasts, and how to correctly play the sharps, flats, and naturals that appear inside the measures.

What will you learn in this lesson?

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

  • Explain what an accidental written in the measure is.
  • Tell accidentals written in the measure apart from key-signature accidentals.
  • Recognize where an accidental written in the measure is written on the staff.
  • Understand from which moment it begins to apply.
  • Identify which notes stay affected for the rest of the measure.
  • Understand why it normally does not apply to other octaves.
  • Explain what happens when another accidental appears for the same note.
  • Recognize when its effect ends upon reaching a barline.
  • Understand the exception for notes tied across measures.
  • Complete music-reading exercises with accidentals written in the measure.

What are accidentals written in the measure?

The accidentals written in the measure are musical signs written before a specific note to change or restore its pitch during a musical passage.

They are placed immediately to the left of the notehead they affect.

For example, imagine we are reading a melody and we find an F natural. A little later another F appears with a sharp written before it.

That second F should be played as F sharp, because the sign raises its pitch by one half step from F natural.

The sharp does not necessarily have to appear at the beginning of the staff: it can be written anywhere it is necessary to change the pitch of a note.

An accidental written in the measure does not by itself change the key signature of the whole piece. Its effect has a more limited reach.

Basic rule: an accidental written in the measure changes the note before which it appears and, under the usual rules of notation, keeps applying to the later appearances of that same note and octave inside the same measure, as long as another accidental does not replace it.

Which signs can be used as accidentals written in the measure?

In the lesson Musical Accidentals we learned to recognize five main signs.

All of them can appear next to a note to show its pitch:

SignNameEffect relative to the natural note
♯SharpRaises by one half step.
♭FlatLowers by one half step.
♮NaturalRestores the natural pitch.
𝄪Double sharpRaises by two half steps.
𝄫Double flatLowers by two half steps.

It is important to understand that “accidental” is not the name of a separate sign. It is the role an accidental plays when it appears next to a specific note.

For example, the sharp can appear in a key signature or before a specific note. In the first case it works as a key-signature accidental; in the second, as an accidental written in the measure.

Where do you write an accidental written in the measure?

The accidental written in the measure is written immediately to the left of the note that it changes.

Also, the sign is placed at the height of the staff line or space that corresponds to that note.

For example, if we want to write F sharp in the first space of a staff in treble clef, we place the notehead in that space and the sharp to its left.

When we read the score from left to right, we find the accidental first and then the note we must play.

This placement makes it easy to tell an accidental written in the measure apart from the signs that are part of the key signature.

From which moment does it begin to apply?

An accidental written in the measure begins to apply to the note before which it is written.

It does not retroactively change the earlier notes in the same measure.

Imagine a 4/4 measure with no accidentals in the key signature. Its four notes are:

F – G – F♯ – A.

The first F is played as F natural because no sharp has appeared yet.

The third sound, by contrast, must be played as F sharp because the sign appears immediately before that note.

The sharp does not change the pitch of the first F, which has already been played.

Remember: the accidental starts to take effect when it appears in the reading, not from the beginning of the measure.

Does it affect the following notes in the same measure?

Yes. In usual modern music notation, an accidental written in the measure keeps affecting the later appearances of the same note and the same octave inside the measure, as long as no other accidental appears that replaces it.

Let’s study an example with four quarter notes in a 4/4 measure with no accidentals in the key signature:

F♯ – G – F – A.

As written, the first F has a sharp and the second F has no sign.

However, both F notes should be played as F sharp, because they belong to the same octave and are inside the same measure.

The G and the A are not changed by the sharp written before F.

A sharp written in the measure affects the later F notes of the same octave inside the measure A four-four measure in treble clef, with four quarter notes: F sharp, G, F with no written sign, and A. The second F is also played sharp. 𝄞 44 ♯ F♯ G F♯ A The second F keeps the sharp from the first.
The four quarter notes fill a 4/4 measure. The sharp on the first F keeps applying to the second F, even though the sign is not repeated before it. Both notes are in the first space of the staff in treble clef.

For that reason, when reading a score, we must remember the accidentals written in the measure that have already appeared inside the measure.

The same accidental can affect several notes, even if it is written only before the first one.

What happens if another accidental appears?

An accidental written in the measure can be replaced by another one inside the same measure.

Imagine that we have a 4/4 measure with no accidentals in the key signature and we find these four quarter notes:

F♯ – F – F♮ – F.

The first F has a sharp. Because of that, the second F, even though it has no written sign, is also played sharp.

But the third F has a natural. That sign restores the note’s natural pitch.

As a result, the fourth F will also be natural, because the effect of the natural continues for the rest of the measure, as long as no other accidental appears.

The correct way to play them is:

F sharp – F sharp – F natural – F natural.

This shows that an accidental written in the measure does not necessarily keep its effect until the end of the measure: it can be replaced earlier by another accidental.

We can also change a flat to a sharp, or a double accidental to a single one, by writing the matching sign before the note.

Do accidentals written in the measure affect other octaves?

In usual modern music notation, no.

To understand this rule we should remember what an octave is.

Two notes have the same name when they belong to different registers of the same series of notes. For example, we can find a low F and a higher F.

Between those two F notes there is a distance of one octave: even though they share the same name, they stand for different pitches.

Now imagine that we write a sharp before a high F.

That sign affects the high F and its later appearances inside the same measure, but does not automatically change an F located in another octave.

If we also want to alter the low F, we write the matching accidental before that note when it is needed.

An accidental written in the measure does not automatically affect another octave Two F notes an octave apart, drawn in treble clef. The high F on the fifth line has a sharp; the low F in the first space stays natural. 𝄞 ♯ High F♯ Low natural F The accidental does not pass automatically to another octave.
In treble clef, the F on the fifth line and the F in the first space are an octave apart. The sharp on the high F does not automatically change the low F, under the usual modern convention.

This rule is different from the one we studied in the previous lesson.

Remember the comparison:

  • Key-signature accidentals: they affect every octave of the same note name while the key signature is in effect.
  • Accidentals written in the measure: they normally affect a note in one specific octave, inside the measure.

In some older scores or editorial conventions, different usages can be found. In this lesson we will follow usual modern practice, which is the most useful reference for starting to read current scores.

What happens when the measure ends?

As a general rule, the effect of an accidental written in the measure ends when you reach the barline that separates one measure from the next.

This means that a note changed by an accidental written in the measure is played again, in the next measure, according to what the key signature sets.

If the key signature contains no accidental for that note, it will normally return to its natural pitch.

Let’s study an example.

Imagine that we have a score with no sharps or flats in the key signature.

In the first measure an F with a sharp appears.

In the second measure another F of the same octave appears, but with no sign.

Because the two F notes are in different measures and there is no tie between them, the second F should be played as F natural.

The accidental written in the measure stops applying in the next measure Two four-four measures. In the first measure there are four quarter notes, starting with F sharp. In the second there are four quarter notes, starting with F natural. The key signature has no sharps or flats. 𝄞 44 ♯ Measure 1: F♯ Measure 2: F♮ The barline ends the effect of the sharp written in the measure.
Both measures are complete: each one contains four quarter notes. In the second measure, the F becomes natural again because the key signature does not contain F sharp and there is no tie between the two notes.

Important: the barline cancels the general effect of accidentals written in the measure, but it does not remove the key-signature accidentals.

What happens if the key signature already contains an accidental?

Until now we have mainly used examples with no sharps or flats in the key signature.

But accidentals written in the measure can also appear in scores that have a key signature.

Imagine that the key signature contains F sharp.

In that case, every F should normally be played sharp, unless another accidental indicates something different.

If an F with a natural appears, we should play it as F natural.

The following F notes of the same octave inside that measure will also be natural, as long as no other sign appears that changes them.

When the next measure begins, the previous natural stops applying and the key signature is in force again.

Therefore, if there is no other accidental written in the measure, the F notes will be sharp again.

SituationHow F is played
Key signature with F♯, with no accidentals written in the measureF sharp
F with a natural inside the measureF natural
Next F of the same octave in that measure, with no other signF natural
F of the next measure, with no new accidental and no tieF sharp, according to the key signature

This example shows that key-signature accidentals and accidentals written in the measure can interact, but their effects do not have the same duration.

An important exception: notes tied across measures

There is a situation in which the effect of an accidental written in the measure can continue past a barline.

It happens when an altered note is joined to another of the same pitch by a tie or tie.

Remember that a tie joins two notes of the same pitch so that they are played as one prolonged sound, adding their durations.

Imagine that we write an F sharp at the end of a measure and tie it to another F placed at the beginning of the next one.

Even if a barline appears between the two notes, the second must keep the pitch of F sharp because it is part of the same prolonged sound.

The tied note is not played as a new F natural: it continues the sound that began in the previous measure.

Watch out: this prolongation does not mean that the sharp automatically applies to all the other F notes in the new measure.

If another independent F appears after the tie ends, it should be played according to the key signature and the accidentals that apply in that new measure.

For example, if the key signature contains no accidentals, that new independent F will be natural, unless a sharp appears written before it.

This exception lets you understand why the rule “the barline ends accidentals written in the measure” should not be applied mechanically to tied notes.

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

Now that we know both kinds of accidentals, we can compare them directly.

FeatureKey-signature accidentalsAccidentals written in the measure
LocationIn the key signature.Immediately to the left of a note.
ReachEvery octave of the same name.Normally, the same note and octave.
DurationWhile the key signature is in effect.Generally until the end of the measure, except for replacement or special situations.
BarlineDoes not cancel its effect.Normally ends its effect.
ExampleF♯ written after the clef.F♮ written before a note.

The main difference is that the key signature sets a general rule for reading the music, while accidentals written in the measure let you change it at certain moments.

What are cautionary accidentals?

Sometimes we find in a score an accidental that, under the rules we have just studied, would not be strictly necessary.

For example, after a measure where an F sharp written in the measure appears, the composer or editor may write a natural before an F in the next measure as a reminder that it should now be played as F natural.

That natural can be a cautionary accidental.

Its purpose is to avoid reading mistakes, especially when an earlier accidental could cause doubt.

In the next lesson, Cautionary Accidentals, we will learn how to recognize these signs and in which situations it is useful to write them.

Practical activity: identify which accidental you should apply

Let’s practice with some examples. You can use a keyboard or answer mentally.

  1. First case: imagine a measure with no accidentals in the key signature that contains F sharp, G, and another F of the same octave. Play the second F as sharp.
  2. Second case: add a natural before the last F. It should now be played as F natural.
  3. Third case: go on to the next measure without changing the key signature. The first F of that new measure will be natural if there is no other indication.
  4. Fourth case: imagine a key signature with F sharp. A natural before F lets you play that note as natural.
  5. Fifth case: start another measure while keeping that key signature. The F becomes sharp again if there is no other accidental written in the measure and no tie that indicates otherwise.
  6. Sixth case: write an F sharp in one octave and an F natural in another octave of the same measure. Check that the accidental written in the measure does not have to change both pitches.

The goal is to learn to follow the path of the notes in order, identifying the key signature, the accidentals written in the measure, and the barlines.

Common mistakes when studying accidentals written in the measure

  • Believing that an accidental written in the measure changes the whole piece: its effect is local and it does not permanently replace the key signature.
  • Thinking that it affects only the note immediately after it: it normally keeps applying to its repetitions in the same octave during the measure.
  • Forgetting that it starts to take effect from the moment it appears: the earlier notes do not change retroactively.
  • Extending it automatically to every octave: in usual modern notation it affects the octave indicated.
  • Believing that a barline cancels the key signature: it normally cancels the accidentals written in the measure, but not the key-signature ones.
  • Forgetting that another accidental can replace it: a later natural, sharp, or flat can change the pitch.
  • Applying the barline’s cancellation to a tied note: a tie can prolong the altered pitch into the next measure.
  • Confusing a cautionary accidental with a new change: some signs are repeated only to avoid doubts when reading.
  • Forgetting to check the key signature when going on to the next measure: if the accidental written in the measure stops applying, the key signature is in force again.
  • Confusing the position of the sign with the time signature: accidentals change pitches, not the duration of the measures.

Exercises on accidentals written in the measure

Solve the following exercises before checking the solutions. Unless something else is stated, assume that the notes belong to the same octave, that there are no key-signature changes, and that there are no ties between them.

  1. Definition: what is an accidental written in the measure?
  2. Location: where is it normally written?
  3. Comparison: what is the difference between a key-signature accidental and one written in the measure?
  4. Start of the effect: does an accidental written in the measure also change the earlier notes of the same measure?
  5. Same measure: in a measure with no accidentals in the key signature, F♯, G, and F with no sign appear. How is the last F played?
  6. Another sign: in a measure, F♯, F with no sign, F♮, and F with no sign appear. How are the four notes played?
  7. Another octave: a high F has a sharp written in the measure. Does a low F in the same measure automatically become sharp?
  8. Barline: an F sharp written in the measure appears in the first measure. The second measure begins with F with no sign, and the key signature is empty. How is it played?
  9. Key signature: if the key signature contains F sharp, how is an F with no sign normally played?
  10. Natural: with that same key signature, an F with a natural appears. What pitch does it indicate?
  11. Repetition: after that F with a natural, another F of the same octave and the same measure appears, with no sign. How is it played?
  12. Next measure: when another measure begins, with the same key signature of F sharp, an F with no sign appears. What pitch applies?
  13. Tie: an F sharp written in the measure is tied to another F placed at the beginning of the next measure. What pitch does the tied note keep?
  14. After the tie: if another independent F appears in that second measure, with no accidentals in the key signature and no new signs, how is it played?
  15. Duration: does an accidental written in the measure change the rhythmic value of a quarter note?
  16. Caution: why can a natural appear that would not be strictly necessary?
  17. Recognition: is a sharp written after the clef, as part of the key signature, an accidental written in the measure?
  18. Application: which three elements should you check to decide how to play a note that appears with no accidental immediately before it?

Explained solutions

  1. It is a sign that changes or restores the pitch of a specific note. It is written next to the note and has a limited reach within the music.
  2. Immediately to the left of the notehead. Its vertical position matches the pitch it changes.
  3. The key-signature one belongs to the key signature; the one written in the measure appears next to a note. Also, their rules of application and duration are different.
  4. No. The accidental begins to apply when it appears and does not change the earlier notes.
  5. F sharp. The first sharp keeps applying to the next F of the same octave inside the measure.
  6. F sharp, F sharp, F natural, and F natural. The natural replaces the sharp starting from the third note.
  7. No. In usual modern notation, the accidental written in the measure does not automatically extend to another octave.
  8. F natural. The barline normally ends the effect of the sharp written in the measure, and the key signature contains no accidentals.
  9. F sharp. That is the pitch set by the key signature.
  10. F natural. The natural temporarily changes the pitch indicated by the key signature.
  11. F natural. The natural keeps applying to the F of the same octave during that measure.
  12. F sharp. The natural from the previous measure stops applying and the key signature is in force again.
  13. F sharp. The tie prolongs the same altered pitch across the barline.
  14. F natural. The new F is not part of the tied prolongation and goes back to following the key signature, which in this example contains no accidentals.
  15. No. A quarter note keeps its duration; the accidental only changes the pitch of the note.
  16. To avoid mistakes or doubts when reading. It is a possible cautionary accidental.
  17. No. If it is part of the key signature, it is a key-signature accidental.
  18. The key signature, the earlier accidentals written in the measure in the same measure, and the barlines. We should also observe the ties and whether the notes belong to the same octave.

Summary: what you should remember about accidentals written in the measure

  • The accidentals written in the measure are written immediately to the left of a note.
  • They begin to apply to the note where they appear, not to the earlier ones.
  • They normally affect the later appearances of the same note and octave inside the measure.
  • Their effect can be replaced by another accidental written in the measure.
  • As a general rule, they stop applying when the next measure begins.
  • In the new measure the key signature is in force again, unless there is another indication.
  • A note tied from the previous measure keeps the same altered pitch during the prolongation.
  • Key-signature accidentals affect every octave of the same name; accidentals written in the measure normally do not.
  • Accidentals do not change the duration of note values.
  • Cautionary accidentals help avoid mistakes in playing and will be studied in the next lesson.

You now know how to recognize and apply accidentals written in the measure in a score. You understand from when they take effect, which notes they change, and when they stop having an effect. You also know how they relate to the key signature and why a tie can keep an altered note across a barline.

Continue learning music theory

If you need to review how the key signature works and the notes it changes, go back to the previous lesson: Key-Signature Accidentals.

Now continue with the next lesson of Level II: Cautionary Accidentals. You will learn why some signs are written as reminders to make music reading easier and to avoid confusion.