A group of sharp or flat symbols placed after the clef at the start of a staff or where the signature changes. It sets the default alterations of note letters across octaves unless overridden locally, and can suggest—but does not uniquely determine—the key.
What does key signature mean?
A key signature sets the default sharp or flat forms of note-letter names on a staff. In conventional notation it appears after the clef and, at the beginning, before the time signature. Its alterations apply across octaves: a signature containing F-sharp makes each F sharp unless a local accidental or a changed signature indicates otherwise. The default continues across bar lines.
Standard signatures add sharps in the order F–C–G–D–A–E–B, or flats in the reverse order B–E–A–D–G–C–F. A signature commonly supports a major key and its relative minor, but modal music and other practices can use the same notation. Determining the actual tonal center still requires the music itself.
Examples related to key signature
Two sharps specify F-sharp and C-sharp. The signature is shared by D major and B minor.
One flat specifies B-flat. A locally written B-natural overrides that default according to the usual accidental rules; the signature’s B-flat default returns when the local accidental no longer applies.
Uses and contexts
Staff notation, score reading, transposition and identification of a passage’s default pitch spelling.
Common confusions and distinctions
The signature does not prohibit other notes. Minor-key leading tones are often supplied by local accidentals. A signature with no sharps or flats can accompany C major, A minor, a mode or music without either tonal center. Key signatures set pitch spelling; they do not specify tempo or meter.