Songwriting

How to Write a Melody Over a Chord Progression

By · 7 min read

How to write a melody over chords on an acoustic guitar

You’ve got a chord progression you love, and now you need a tune that floats on top of it. That’s where a lot of songwriters get stuck. In this guide I’ll show you how to write a melody over chords using a few simple rules that work in any style. It’s part of our main guide on how to write a song for beginners, which covers the whole process from idea to demo.

To write a melody that fits a chord progression, land the important notes, usually on beats one and three, on chord tones (the root, third or fifth of the chord being played). Move between them mostly by step, add a few leaps for interest, repeat short rhythmic ideas, and shape each phrase so it rises and falls.

If you don’t have a progression yet, grab one from our list of chord progressions for different moods.

The Core Idea: Chord Tones and Passing Notes

Every chord is made of three main notes. In the key of G:

ChordRootThirdFifth
GGBD
CCEG
DDF#A
EmEGB
AmACE

When a G chord is playing, the notes G, B and D will always sound “right.” Those are chord tones. Other notes from the G major scale (A, C, E, F#) can sound great too, but they work best as passing notes that move between chord tones, or on weaker beats.

That’s the whole secret. Put chord tones where the ear notices (strong beats, long notes, the ends of phrases), and use other scale notes to connect them. Our guide to how guitar chords work explains where these notes come from.

🎸 Free download

Not sure which guitar is right for you?

Get the free Guitar Gear Cheat Sheet: match your style, budget and hands to the right guitar in 2 minutes. You’ll also get my 30-Day Practice Plan as a bonus.

Send My Cheat Sheet →

Step-by-Step: Write a Melody Over Chords

  1. Loop your progression. Play or program four chords, one bar each, and let it repeat. Our free Songwriter Suite can play it back for you at any tempo.
  2. Hum freely for two minutes. Don’t judge. Record it on your phone.
  3. Find the target notes. For each chord, pick one chord tone to land on at the start of the bar.
  4. Connect the targets by step. Fill the gaps with neighboring scale notes. Stepwise motion is easy to sing.
  5. Add one leap. A jump of a fourth, fifth or sixth on an important word adds emotion. Follow a big leap with a step in the opposite direction.
  6. Repeat a rhythm. Use the same rhythm for the first two phrases, then change the third. Repetition with a small change is what makes melodies memorable.
  7. Shape the phrase. Give each line a high point and let it come back down, often resolving to the root of the key at the end of a section.
StepGoalQuick check
Loop chordsHear the harmonyCan you hum along?
Free humFind raw ideasDid you record it?
Target notesLock to the chordsStrong beats on chord tones?
Step motionMake it singableMostly small moves?
One leapAdd emotionLeap on a key word?
Repeat rhythmMake it catchyTwo phrases match?
ShapeGive it directionClear high point?

How to Write a Melody for Lyrics?

If your lyrics came first, let the words tell you the rhythm.

Speak the line out loud, naturally. Exaggerate it a little. Notice which syllables you stress and where your voice rises and falls. That’s a rough melody already.

Put stressed syllables on strong beats. “Ev-ery MOR-ning” should land with MOR on a downbeat. Misplaced stresses sound awkward even if the notes are nice.

Match the emotion to the range. Low, close-together notes feel intimate. High notes and wider leaps feel urgent or joyful. Save the highest note for the most important word, usually in the chorus.

Keep syllables and notes in balance. One syllable per note is easy to understand. Stretching a syllable over several notes (a melisma) adds emotion but use it sparingly.

Lift the chorus. Make the chorus melody start higher or use longer notes than the verse. See how to write a catchy chorus for more on this.

For help writing the words themselves, read how to write song lyrics.

How to Write a Melody on Guitar?

Guitarists can find melodies right on the fretboard.

  • Use the top notes of your chords. The highest note of each chord shape is a ready-made melody. Change chord voicings to make the top note move by step.
  • Play the major scale over the progression. Play the G major scale (G, A, B, C, D, E, F#) slowly over a G–C–D–Em loop and noodle until a phrase sticks.
  • Use the pentatonic scale. The G major pentatonic (G, A, B, D, E) has no “wrong” notes over most progressions in G. It’s a safe place to start.
  • Sing what you play. Play a phrase, then sing it back. If you can’t sing it, simplify it.
  • Record riffs. Some of the best vocal melodies start as guitar riffs. Our list of guitar riffs for beginners shows how short, repeated ideas work.

Once you’ve got a melody, our guide on how to write a song on guitar shows how to turn it into a full song.

A Worked Example in G

Let’s write a short melody over G – D – Em – C, one bar per chord.

Bar 1 (G): Start on B, the third of G. Step up to C, then land back on B. The third gives a warm, open sound.

Bar 2 (D): Step up to D, but hold A, the fifth of the D chord, as the long note. That small rise creates interest.

Bar 3 (Em): Leap up to E, the root of Em, on the most important word of the line. This is the emotional high point.

Bar 4 (C): Fall by step, E, D, C, and rest on G or E, both notes of the C chord. The phrase feels finished but leaves room for the next one.

Now repeat the same rhythm for the second phrase, but change the last bar so it ends on G, the home note. You’ve got an eight-bar verse melody: question, then answer.

Try singing it with any lyric, even nonsense words. Then change one thing, like starting the second phrase higher, and listen to how the mood shifts. That’s how melodies grow, one small decision at a time.

Test Your Melody

Before you move on, sing your melody without the chords. Does it still hold together on its own? Can someone else hum it back after two listens? Does the highest note fall on a word that matters? If you answer yes to all three, you’ve got a melody worth keeping. If not, go back to the step-by-step list and adjust the target notes or the rhythm.

Melody Shapes That Work

ShapeWhat it doesGood for
Arch (rises then falls)Feels complete and naturalVerses and choruses
Rising lineBuilds energy and tensionPre-choruses
Falling lineFeels resolved or sadEnding a section
Repeated note, then leapGrabs attentionHooks
Call and responseCreates a conversationChoruses, worship songs

Common Melody Mistakes

Every note is a chord tone. It sounds like an arpeggio, not a tune. Add passing notes.

Too many leaps. Jumpy melodies are hard to sing. Mostly steps, a few leaps.

No repetition. If no phrase repeats, listeners can’t hold on. Repeat a rhythm or a short motif.

The verse and chorus sit in the same range. Move the chorus up to give it lift.

Too wide a range. Most singers are comfortable within about an octave and a half. Stay inside it, especially for songs others will sing.

Frequently Asked Questions

Should I write the melody or chords first?

Either works. Chords first makes it easy to find notes that fit. Melody first can lead to more original tunes, and then you choose chords that support it. Try both and see which suits you.

What notes fit over a chord?

The chord’s own notes, its root, third and fifth, always fit. Other notes from the key’s scale work as passing notes, especially on weak beats or short notes.

How do I make a melody catchy?

Repeat a short rhythm or motif, keep most moves small, put one memorable leap on the hook word, and make the chorus higher or longer than the verse.

How long should a melody phrase be?

Most song phrases are two or four bars long. Pairs of phrases often work like a question and an answer, with the second one ending on a more settled note.

Can I write a melody without knowing music theory?

Yes. Hum over your chords, record it, and keep what sounds good. Theory just helps you understand why some notes work, so you can fix the ones that don’t.

Sources and Further Reading