Writing a Melody Over Chords
A great top-line melody isn't random — it leans on the chords underneath while carving out its own rhythmic identity.
Anchor on chord tones, decorate with the rest
The most reliable starting point is to place chord tones — the root, 3rd, or 5th of whatever chord is sounding — on the strong beats of the bar. Those notes will always sound "in" the harmony. Then fill the gaps between them, usually on weaker beats, with passing tones (stepping through the scale between two chord tones) or neighbor tones (stepping away from a chord tone and immediately back). This single habit — strong beat = chord tone, weak beat = decoration — is behind an enormous amount of singable melody writing.
Let the melody's rhythm talk back to the chords
If your melody plays exactly the same rhythm as the chord changes, it tends to sound stiff — like an announcement rather than a song. Try anticipating a chord change by a half beat, or holding a note over into the next chord, so the melodic rhythm has its own shape instead of just doubling the harmonic rhythm underneath it.
Match phrase length to harmonic rhythm
If your chords change every two bars, a melodic phrase that also resolves roughly every two bars will feel connected to the harmony. Mismatched phrase lengths aren't wrong — they can create productive tension — but matching them is the safer default while you're finding your footing with a new chord progression.
Common questions
How do you write a melody over a chord progression?
Place chord tones (root, 3rd, or 5th) on strong beats, then connect them with passing or neighbor tones on the weaker beats in between.
What's a passing tone?
A non-chord note that fills the gap between two chord tones by moving stepwise, usually on a weak beat, before resolving to the next chord tone.
Should the melody rhythm match the chord rhythm?
Not exactly — a melody that only doubles the chord's rhythm can sound flat. Letting the two interact independently creates more interest.
How long should a melodic phrase be?
As a starting point, match your phrase length to the harmonic rhythm underneath — for example, one phrase per two- or four-bar chord pattern.
Try your melody against real chords
Melody Monkey's Songwriting Studio has a melody piano-roll track that plays right alongside your chords.
Open the free app →Still stuck? Ask Your Personal Music Teacher about Writing a Melody Over Chords →