Some notes sound the same but are spelled differently. On guitar there is no physical difference between a sharp and a flat — only theoretical context determines the choice of name.
In equal temperament, which most modern instruments use, the octave is divided into 12 equal semitones. Each semitone can have two names: one as a sharp (raising the previous note), another as a flat (lowering the next note). For example, the pitch between C and D can be called either C-sharp (C#) or D-flat (Db). On guitar, both names refer to the same fret.
The choice between sharp and flat spelling is determined by the key. Sharp keys (G major, D major, A major and beyond) use sharp note names. Flat keys (F major, Bb major, Eb major) use flat names. This rule keeps notation orderly: each staff line represents exactly one note.
For guitarists, understanding enharmonics is especially useful when transposing chords, reading sheet music, and communicating with keyboard or wind players. For example, if a pianist says "Db major," a guitarist should understand it's the same chord as C# major. All enharmonic chord pairs on this page link to the corresponding chord pages with diagrams and theory.
Enharmonic equivalence also relates to intervals: an augmented fourth and a diminished fifth are the same sonic distance (tritone) but different theoretical names. Similarly, understanding keys helps you choose the correct chord spelling for a given harmonic context.