Skip to content
Notation

Accidental (in the bar)

An accidental is a sharp, flat or natural sign that appears before a note in the middle of a piece. It applies only until the end of the bar and only to the exact note position. By contrast the sharps or flats of the key signature come right after the clef and apply to the whole piece.

Signs
sharp ♯, flat ♭, natural ♮, double sharp, double flat
Applies
until the barline, on the same line or in the same space
Counterpart
key signature at the start of the line (applies to the whole piece)
Cancelling
by a natural sign

Key signature or accidental?

On the page Reading music the distinction is made: if sharps or flats come right after the clef, they apply to the whole piece, that is the key. A single sign in the middle of the piece, an accidental, on the other hand applies only until the end of the bar. The exercise page Key Signatures calls mixing up the two one of the most common beginner mistakes.

Key signatureAccidental
Positionafter the clef at the start of the linein the middle of the bar before the note
Appliesto the whole pieceonly until the barline
Meansthe keya single deviation

The page Notation symbols is more precise about the sharp: it applies only to the exact note position, so the same line or space and the same octave, unless it is cancelled by a natural sign. The natural sign cancels a preceding sharp or flat and puts the note back to its original pitch. It acts for the rest of the bar. If in the next bar the same note is to sound again as originally notated, no natural sign is needed any more.

Examples

Guitar

Piano

The most common accidental in minor is the raised seventh degree, in A minor the G♯. The article The leading tone explains the reason. The sign never appears at the start of the line, but always as an accidental in the bar. More under Harmonic minor.

Try it yourself: The training Key Signatures shows you key signatures, in Name the Note you name notes with sharp, flat and double accidentals.

Common mistakes

  • Carrying the sign across the barline: It applies only until the barline.
  • Meaning another octave as well: A sharp before F4 does not affect F5.
  • Confusing key signature and accidental: What is written at the start of the line applies to the whole piece.