The way it is done in class: first write the key signature, then the melodic minor scale, up and down (15 notes). Ascending, the 6th and 7th are raised (with a sharp or a natural, depending on the key signature) and descending those accidentals are undone.
How to use the exercise: Step 1 (key signature): choose Sharp or Flat and click on the staff to place each accidental of the key signature in its order. Step 2 (scale): with the key signature in place, put in the notes of the scale. They inherit the key signature automatically; press ♮ / ♯ / ♭ only when a note needs an accidental of its own. Undo and Clear work in each step. The magnifier shows what you are about to place.
Up and down over the key signature
The melodic minor scale starts from the key signature of the natural minor. Ascending it raises the 6th and 7th (with a sharp or a natural, depending on the key signature) and descending it undoes those raises, returning to natural minor. It is one form of 15 notes that changes direction.
The cancelling naturals
Everything is written within a single measure (UK: bar), so when a note raised on the way up goes back to its natural state on the way down, you have to cancel the accidental with the matching natural (or flat) sign. In A melodic minor you go up with F♯ and G♯ and come down with G♮ and F♮.
| Key | Key signature | Scale |
|---|---|---|
| A melodic minor | none | ↑ A B C D E F♯ G♯ A · ↓ A G♮ F♮ E D C B A |
| D melodic minor | 1♭ (B♭) | ↑ D E F G A B♮ C♯ D · ↓ D C♮ B♭ A G F E D |
Printable worksheet (PDF)
The same exercise on paper, for class: eight melodic minor scales to write with a key signature: first the key signature, then the scale, with only the accidentals that depart from it. With a separate answer sheet, with the answers in red. The melodic minor is written in full, ascending and descending.
It goes from easier to harder: first key signatures with few accidentals in treble clef, then more accidentals and the bass clef.

Download the worksheet (PDF A4) Answers
You may print and photocopy the worksheets freely for the classroom. There are also worksheets of this same type for identifying and writing, and in the scales index you can create custom worksheets, mixing whichever types you like.
Frequently Asked Questions
Practice these scales with the online metronome and check your tuning with the online tuner. You can also try the version with the accidentals written note by note.