
There are many elements of a song that can make it stick in our memories and cause us to return to listen to it time and time again. Maybe it’s the vocal delivery of the singer or their lyrics, or maybe it’s the infectious dual groove of the drums and bass that hits home. More often than not though, it’s melody that catches our attention.
A well-written melody can be timeless, like Paul McCartney’s “Yesterday” or Harold Arlen’s “Somewhere Over the Rainbow”, and enjoyed by people the world over. Catchy melodies don’t necessarily have to be complex, as proven by nursery rhymes and children’s songs like “Baby Shark” (sorry), or require in-depth music theory knowledge to write. However, that doesn’t make melody writing an easy process, which is why we’ve compiled a list of top tips to help you write better melodies.
If you’ve got a chord progression locked in, but no melody to go with it, one way of finding the right notes is to choose pitches from the chords themselves. On each prominent beat your melody could take one note from the chord being played, for example. One thing to remember is that the root and fifth note of any chord are always the strongest and most distinctive to use.

Working in a DAW brings certain advantages for melody writing, with one being the use of MIDI. Whereas audio displays as a waveform in your DAW, MIDI is represented by notes distributed across the piano roll. By clicking into a MIDI clip, you can take a closer look at melodies, picking apart a phrase by moving the notes around to affect pitch, timing, and duration.
If you’ve got a nice chord sequence but you’re struggling to find a melody that fits over it, try copying your chords to the MIDI track that’s set up for the melody. You can then solo one note for each chord by muting the others with your DAW’s mute tool, or removing them from the MIDI clip entirely. Solo different notes and shift them to different octaves or timings until you find a solid basis for a tune.
A step is the difference in pitch between two consecutive notes of a musical scale. For example, in the scale of F major, F to G is a step. When the interval between any two consecutive notes in a melody is no more than a step this is called stepwise motion. Melodic motions that jump one note in the scale are called skips, and anything above that is called a leap.

In general, it’s a good idea to have about half to two-thirds of your melody made up of steps, and one-third to half made up of skips or leaps. Stepwise motion makes a melody easy to sing along to, as well as supporting rhythmic grooves. Lare melodic leaps, on the other hand, should be saved for dramatic, high-impact moments when you want to excite the listener.
A motif is a short musical idea, not an entire section or movement, but also not just a single note, that repeats throughout a song. A motif can be repeated exactly the same, or also be developed so that it appears in a slightly different form than when the listener heard it first. You’ll hear this a lot in film scores, where the main musical motif is worked into the soundtrack at various moments.
Motifs can be melodic or rhythmic, and if they’re used in vocal parts can even be reflected by clever use of lyrics. Here’s a strategy you can use to develop your own memorable motif:
Try repeating this process three or four times, until you have a group of melodic motifs to choose between. Take a five minute break from what you’re doing and leave the room – the one that you can remember at the end of the break is the one to go with!

The importance of rhythm in melody writing shouldn’t be overlooked. Rhythmic interest makes things less predictable and is also a useful tool for directing the energy of a track.
Simple melodies can instantly be made memorable by spicing up the rhythm of the phrase with syncopation. Syncopation is the placement of rhythmic stresses or accents on non-important beats, where they normally wouldn't occur. It's a common feature of jazz, blues and hip hop music, although you’re likely to hear it in pretty much everything that’s around today.
Another way you can liven up a melody is by altering the placement of the notes so that they are slightly less rhythmically predictable. You don’t have to have melody notes landing right on the first beat of the bar, for instance. You could bring your melody in an eight-note ahead of the bar for a “pushing” feel (this might require you to move the other elements of the track forward too.

Tip: If you’re finding it difficult to come up with interesting rhythms, try loading a sample into Loopcloud and using the Pattern function in the sample Editor. Click + Add Samples… and then select a file from your computer’s storage. You can then choose a pattern from the Pattern dropdown menu, from a range of instrument and genre options.
To jazz up your melodies, decorate them with musical ornaments, or notes that are added to embellish the main notes. Ornaments are common in classical music, where they function as a way of creating space for musical expression and showcasing a player’s virtuosity. However, they can be used in a much more simple sense to build upon a foundational melody.
Try adding super-short grace notes at the start of, just before or even in the middle of a longer note. Another ornament you could add to a melody is a trill; a quickly alternating pair of notes. Usually, a trill alternates between a semitone or whole step from the base note, so that it gives the impression of rapid fluttering.

If you have a MIDI keyboard, experiment with its pitch and modulation wheel to add extra ornamentation to notes while you’re recording. The pitch wheel can be used to add pitch bend, which can be either subtle or dramatic, and the modulation wheel is generally assigned to vibrato or a similar effect.
Sometimes to write a good melody you need to try methods of composition that are entirely different to your usual ways. One useful trick for beating writer’s block requires you to forget about melody altogether, and instead focus on trying to come up with a rhythmic phrase that complements the music you’ve already got.
Choose a note that’s in key with your song and program a rhythm that works within the context of the track using only that note. Once you’ve landed on something that you like, go through the phrase and move each note up or down to create a melody. Remember, you don’t have to move notes if you don’t want to – repetition is often a good basis for melody writing.

Fine-tune your melody by making adjustments to note length or removing notes entirely. After you’ve settled on a melody, you can add variation by repeating the phrase with different notes immediately after.
A lot of producers prefer using analog equipment or actual instruments for their melody-writing sessions, rather than drawing in MIDI clips or other on-screen processes. This is in part due to the increased feel you get while jamming on a physical instrument, which is why it can be very helpful to switch back and forth from different hardware if you can.

Playing an instrument or programming an analog synthesizer takes skill and dexterity, but you don’t need to be Jacob Collier to get results. Often, unexpected gold can come in the form of happy accidents or mistakes you make while applying yourself to an instrument. Skill level will determine the upper ceiling of what you can achieve, but the way you arrange the furniture in the room below will be unique to you.
If you’re spending ages in the box and the melodies aren’t coming, try switching to hardware and seeing what comes. Rotate through whatever instruments or equipment you have available to you, regardless of your skill level. Each one will force you to do different things, which will lead you down new creative avenues.
Repetition is one of the best ways to write powerful melodies but getting it right isn't always as simple as it seems; too much repetition can make a phrase feel lazy or overly-predictable, too little and a phrase can feel hectic and hard to follow. The sweet spot for utilizing repetition is often found by creating small changes within your repeats.
Start by writing a short phrase that you like, then repeat it until you have a nice amount of repetition, for example four or eight bars. Now you have a repeating phrase, change up the repetitions with subtle variations. You could change the first note or the highest note, shift the rhythm slightly, change the note intervals or change the length of one of your notes. This will help your listener recognise the idea while still feeling like the melody is going somewhere.

This technique can be really powerful for building up a listener's expectations and then going somewhere else with your melody - making it not just a powerful melody tip, but one of the best ways to keep listeners engaged!
An exciting sound like a rich trumpet, thick synth patch or a vocal laden with reverb and delay can easily trick you into thinking a melody is stronger than it really is. One of the best ways to check if a melody really holds up, is to strip all the production away and focus simply on the melody itself.

Credit: fabrikasimf
By singing your melody back to yourself or playing it on a basic synth patch you're truly putting your melody to the test; stripping away all the production that leaves nothing but the melody will allow you to focus on what really matters. Ask yourself during this exercise, does the melody still feel memorable when it's exposed in this way? Can you still hum it after leaving the room for a few minutes? Can someone else catch onto it and sing it back within a few listens?
If your answer to those questions is yes, you’re probably onto something great. Otherwise, keep refining your notes, rhythm and articulation.
Obviously some melodies are meant to be simple or to support another instrument, but with many modern genres relying heavily on sound design, complex rhythms or the innate versatility of the voice to create a good track, stripping back to just the melody will ensure that you get the melody to a level where it stands the test of time, or better yet becomes the focal point of your track.
Ever been writing a melody that just feels stale? Many modern music production tools make the act of writing in a specific scale or mode exceptionally easy, but the reality is that interesting melodies often involve creating intentional dissonance.
Not every note in your melody must come from the chord underneath it or perhaps not even the scale you're working in. This is one of the biggest tools that jazz musicians use for creating interesting, powerful and expressive melodies. On a similar note to repetition and variation, using accidental notes to create tension before resolving that tension is a similarly powerful technique for defying musical expectations and keeping the listener engaged.
The key with using accidentals is control; tension works best when your listeners feel that the tension has somewhere to go next. Notes outside your chord can sound colourful, emotional, jazzy or unresolved depending on the context of your melody. Try landing briefly on an accidental note, and then resolve that tension by moving a half or whole step to a nearby chord tone.

Credit: olga brajnovic
If you want melodies that support your harmony in an exciting way, utilise passing tones - non-chord notes that bridge the gap between two chords by temporarily introducing dissonance before resolving into the next chord. If you want even more jazzy melodies, utilise accidental notes that lie outside of your key centre altogether, creating greater dissonance whilst providing opportunities for more unexpected resolutions.
Creating a conversational feel is a great way to make more powerful melodies. Splitting one melody into two connected phrases, often represented by different instruments to create a tonal separation is a structure commonly used in blues, gospel and dance music because it can give listeners something easy to follow along with.
Your “call” should be a short melodic phrase, often one that repeats itself or lands on an unresolved note. Your “response” should then finish that phrase or perhaps even mirror the call itself. The response is often the area with space for variation where you can play around with different resolutions to the same repeated call.
A great example of call and response is the conversation between the walking bass and piano/trumpet in Miles Davis’ “So What”.
This technique works really well when a melody feels static or your instrumentation feels too fixed. Instead of writing a single line of music for any one instrument, break it down into small phrases with space in between them. The gaps give the listener time to absorb the call, while the response keeps the melodic idea moving forward and offers some kind of tonal difference to keep the listener interested.
A really great melody is as much about the gaps between the notes as it is about the notes you do play. Silence can be viewed as negative space in music, where empty space on a canvas offers room for the main features of a work of art to breathe. Silence between notes can make the next note feel so much more satisfying when it finally arrives.
If you have a melody that feels too busy, try deleting some notes instead of rearranging or cramming. There’s something magical about wind instruments as well as the voice, and what often defines those melodies is not the tone of the instrument or singer, it's the intentional space left for breathing between notes, allowing the listener to properly absorb the idea and creating an indisputable human feel.
A repeated pause can sometimes become a part of the rhythm itself, but sometimes the most memorable moment is the note everyone is waiting for. A great example of this is Whitney Houston’s “I Will Always Love You” where the melodic tension and silent gap before the final chorus makes it a truly memorable moment and a perfect enhancement to an already great melody.