Music Theory7 min read

How to Write a Melody Over Chords (Step by Step)

How to write a melody over chords: put chord tones on strong beats, connect them with passing tones, and target the right note at every chord change.

To write a melody over chords, put chord tones on the strong beats (beats 1 and 3), connect them with scale notes on the weak beats, and aim for a specific chord tone at the moment each chord changes. That is the entire core technique: strong beats agree with the harmony, weak beats create motion, and chord changes get targeted. Everything else in melody writing is taste layered on top of this skeleton.

Know your chord tones first

Write out the notes of each chord in your progression before touching the melody. Take C, Am, F, G in C major: C is C, E, G; Am is A, C, E; F is F, A, C; G is G, B, D. These 12 slots are your safe notes. Any of them, played while its chord sounds, will sound consonant. This 2-minute prep step is what separates deliberate melody writing from hunting and pecking. If your DAW lets you color or ghost the chord track behind the melody lane, turn that on: seeing the chord tones while you write removes most of the guesswork before it starts.

Chord tones on strong beats

Beats 1 and 3 are the strong beats of a 4/4 bar. Whatever note your melody plays there gets heard as "the melody's opinion of the chord," so make it a chord tone. Over the C chord, land on C, E, or G on beat 1. Over Am, land on A, C, or E. Prefer the 3rd of the chord (E over C, C over Am) when you want color, because the 3rd is the note that defines whether a chord is major or minor.

Passing tones on weak beats

Now connect those anchors. The scale notes between chord tones (D, F, A, B in C major, depending on context) are passing tones: they sound great on weak beats and offbeats because they create motion toward the next anchor. Going from E down to C over a C chord? Put D between them on the "and". The rule: dissonance in motion sounds like intention, dissonance that sits on a strong beat sounds like a mistake.

Target notes at chord changes

The moment a chord changes is the highest-attention moment in the bar, so do not leave it to luck. Pick the note you will land on when the new chord arrives, then write the approach into it. The strongest targets are notes that changed: moving from C to Am, the note A is new, so landing on A announces the change. Moving from F to G, land on B or D. Approach targets by step from above or below and the melody will sound inevitable rather than random.

The root-doubling trap

The most common beginner mistake is writing a melody that sits on the root of every chord: C over C, A over Am, F over F. It is never wrong, but it is redundant, because the bass is already playing those roots. The melody adds nothing the listener is not already hearing, and the track feels hollow and thin in the middle. Fix: favor 3rds and 5ths on your strong beats, and touch the root only when you want a phrase to feel fully resolved, usually at the end of a section. A quick audit for existing melodies: count how many strong beats land on the root. More than half means the line is doubling the bass, and moving even two of those notes to the 3rd will open the track up immediately.

A concrete 10-minute workflow

  • Loop the progression and list each chord's tones.
  • Place one chord tone on beat 1 of every bar, favoring 3rds.
  • Sing or tap a rhythm, then fill weak beats with passing tones.
  • At every chord change, check the landing note: is it a chord tone of the NEW chord?
  • Delete 20 percent of the notes. Space is phrasing.

Tempo and key context matter too: a melody that works at 140 BPM trap density will feel frantic over a 90 BPM ballad. For genre-by-genre reference points, see the best key and BPM for every genre.

Practice over progressions worth practicing on

This technique only clicks with reps over real harmony, and writing your own practice progressions defeats the purpose. FFUNK MIDI packs give you composer-written progressions (Gold and Platinum credits, 100 percent human-made) to write over, with Key Sync transposing every download into your working key. Fair warning: a great progression will not write the melody for you, it just makes your good notes easier to find. Start the 7-day free trial (card required, cancel anytime), or take a free account for a spin with 5 credits a month.

Get 5 free MIDI credits every month

Create a free account and download composer-written chords and melodies, in your key, every month. No subscription needed.

Create free account

Fresh from the catalog

Try FFUNK free

5 free credits every month.

Start sketching in-key progressions today. Keep every file you download. Go monthly when you want more.

Try now5 free credits every month