In music notation, a flag is a short curved line attached to the eighth, sixteenth, thirty-second, or sixty-fourth note.

The number of flags used depends on the duration of the note; an eighth note uses one flag, a sixteenth note two flags, and so on. The first flag is drawn at the end of the stem furthest from the note-head and additional flags are attached to the stem progressively closer to the note-head.