When you encounter a symbol beside a note that wasn't announced at the beginning of the piece, you're looking at an accidental. These markings appear constantly in piano music, and understanding them separates readers from guessers. This guide breaks down each type, shows how they behave on the keyboard, and clarifies the often-confused difference between accidentals and key signatures.
The Five Accidentals You Need to Know
Music uses five accidental symbols, each changing a note in a specific way:
- Sharp (#) – Raises a note by one half step. D becomes D#.
- Flat (♭) – Lowers a note by one half step. D becomes D♭.
- Natural (♮) – Cancels a previously indicated sharp or flat.
- Double sharp (## or 𝄪) – Raises a note by one whole step. D becomes D##.
- Double flat (♭♭) – Lowers a note by one whole step. D becomes D♭♭.
The first three appear constantly in beginner through advanced repertoire. Double accidentals show up less often but show up in specific situations, particularly in music with many chromatic passages.
Sharps and Flats: The Black Key Misconception
A common beginner assumption: sharps always mean "play the black key to the right," and flats always mean "play the black key to the left." This works for most cases, but it breaks down in several important spots.
Consider E#. E# sits on the same key as F. On the piano, E and F are adjacent white keys with no black key between them. Raising E by a half step lands you on F—meaning E# and F are enharmonic equivalents, two names for the same pitch. The same logic applies to F♭ (equals E), B♭ (equals A#), and C♭ (equals B).
This matters because reading music requires recognizing the letter name the composer chose. A passage written in E# major follows different rules than one written in F major, even though they occupy the same keys on the piano. Train your eyes to read the symbol, not guess from position alone.
Naturals, however, do always correspond to white keys. When a natural symbol appears, you play the unaltered white key, regardless of context.
How Accidentals Behave Within a Measure
An accidental affects only the specific note it accompanies, and its effect lasts a limited time:
- The accidental applies to that note for the rest of the measure.
- If the same note appears again in the same measure, it carries the accidental unless another symbol overrides it.
- A new accidental on the same note mid-measure cancels the previous one.
- At the next measure, the key signature takes over again.
Example: A D# appears in measure 3. That note remains sharp for the remainder of measure 3. If D-natural appears later in measure 3, the natural overrides the sharp for that specific note. When measure 4 begins, the original key signature rules resume.
This "measure-long" duration surprises many beginners who expect an accidental to apply only to the single note written. The rule is consistent once you know it, but it catches readers who guess rather than study the full measure.
Accidentals and Key Signatures Are Not the Same Thing
The opening of every piece displays a key signature—a pattern of sharps or flats that establishes the tonal center. C major and A minor have no sharps or flats. G major has one sharp. F major has one flat.
Accidentals are different. They appear mid-piece to momentarily modify notes outside the established key. Composers introduce them for several reasons:
- Chromatic passing tones between scale degrees
- Chord changes that require notes outside the main key
- Melodic decoration using half-step neighbors
- Modal mixture borrowing from parallel keys
A piece in C major might feature a B♭ in measure 12 without changing the key signature. That flat exists only within that moment, then disappears when the harmony returns to C major territory.
Key Takeaways
- The five accidentals are sharp (half-step up), flat (half-step down), natural (cancels), double sharp (whole step up), and double flat (whole step down).
- Sharps and flats don't always land on black keys—E# sits on the F key, and C♭ sits on the B key.
- Naturals always correspond to white keys.
- An accidental stays active for the remainder of the measure unless another accidental overrides it on the same note.
- Accidentals differ from key signatures: key signatures set the tonal center, while accidentals create temporary deviations.
Practice Applying Accidentals Consistently
When reading a new piece, scan for accidentals before playing. Note which notes they modify and how long they apply. This habit prevents the common mistake of applying an accidental to a single note when it should carry through the measure. With deliberate practice, recognizing and executing accidentals becomes automatic, freeing your attention for phrasing and dynamics.
Accidentals are symbols. They follow rules. Learn the rules, apply them consistently, and they stop being obstacles and start being tools.

