
How to Write Music Notation by Hand: Stems, Beams, Rests and Spacing
A melody you wrote down can be perfectly correct and still hard to read: the stems point every which way, a beam runs across the middle of the bar and the last two notes are squeezed against the barline. Whoever reads it (your theory teacher, a dictation grader or the friend sight-reading your song) has to work out the rhythm before they can follow the music. A handful of placement rules prevents this. Here they are, one symbol at a time, with a check to run before you hand anything in.
What you need before you start
Use a pencil with an eraser, and printed staff paper. Pencil lets you fix a stem or move a bar without starting the page again. Our Manuscript Paper page gives you ten blank staves with a Title and a Composer line: print a few copies.
If your noteheads come out bigger than the space between two staff lines, slow down or use paper with larger staves. Professional music copyists were valued for neatness, speed and accuracy. For homework, aim for accurate and neat; speed comes with practice.
Noteheads: on the line or in the space
A notehead is an oval. Fill it in for a quarter note or anything shorter; leave it open for a half note or a whole note. Its position is its pitch, so it has to be unmistakably in one of two places. A line note has the line running through its middle. A space note fills the space and just touches the lines above and below it. A notehead that hovers halfway between gets read as either.

Line notes, space notes and ledger-line notes. The A below the staff and the C above it each need two ledger lines; every ledger line sits the same distance from the next as the staff lines do.
When a note leaves the staff, give it ledger lines: short lines, a little wider than the notehead, spaced exactly like the staff lines. Draw only the ones the note needs, and draw every one of them, including the ones between the staff and the note. The Ledger Lines handout maps two ledger lines above and below both staves. Once you need four or more, music usually switches clef or adds an octave sign instead.
Stems: which side, which way, how long
Stems follow one rule, the middle-line rule. The middle line of the staff (line 3) divides it:
- Notes below the middle line take a stem going up, attached to the right side of the notehead.
- Notes above the middle line take a stem going down, attached to the left side.
- A note on the middle line may go either way. Down is the usual choice for a note on its own.

The middle-line rule. Right: low notes reach up into the staff, high notes reach down into it. Wrong: the same notes with flipped stems. Bottom: a B on line 3 is correct with its stem either way.
The rule keeps stems inside the staff, where your eye already is. A stem that goes the wrong way reaches out into empty paper. The Stem Rules handout states the same rule and gives you two bars of stemless noteheads to finish.
These rules are for one part on a staff. When two parts share a staff, as in four-part harmony homework, the stems show the part instead: soprano and tenor stems always go up, alto and bass stems always go down, wherever the notes sit. Four-part harmony writes its examples this way.
A normal stem is about an octave long: from the notehead to the line or space of the same letter name an octave away. Since an octave is seven steps and each step is half a staff space, that is about three and a half spaces, a little less than the height of the staff. Notes more than an octave above or below the middle line get longer stems, long enough to reach it.

Stem length, measured on the engraving. E and F get stems of an octave. The low A and the high C sit more than an octave from the middle line, so their stems are lengthened to touch it.
By hand, start the stem at the edge of the notehead and pull one straight vertical line. A short stem makes a quarter note look like a dot with a tail.
Flags and beams: group by the beat
An eighth note on its own carries one flag; a sixteenth carries two. Two or more of them in a row are usually joined by a beam instead, with as many beams as the notes would have flags. Only eighth notes and shorter values can be beamed.
Beams do more than tidy up the flags: they show where each beat begins. The standard practice, as one university theory text puts it, is "to use beaming to show where the beginning of each beat occurs."
One direction for the whole group
All the stems under one beam point the same way. To choose, find the note farthest from the middle line and apply the middle-line rule to that note alone: if it is below the line, every stem in the group goes up; if it is above, every stem goes down. Another way to say it is to average the highest and lowest notes and stem by where that average falls. It is the same rule. If the highest and lowest notes are equally far from the line, either direction is correct; down is the usual choice.

The farthest note decides. In the second group the A sits below the middle line, but G is farther away above it, so all four stems go down. Stemmed the other way, both beams drift far off the staff.
Let the beam slope gently with the notes: down if they go down, up if they go up, flat if the first and last notes are the same.
Beaming in 4/4
In 4/4 each quarter-note beat starts a new group. Two beats may share one beam only where the meter allows it: beats 1 and 2 together, or beats 3 and 4 together. Never join beats 2 and 3, because that beam hides the middle of the bar, the place a reader looks for beat 3.

Eight eighth notes in 4/4. The same notes, the same sound: the right version shows the middle of the bar; the wrong one hides it under a beam.
Beaming & Grouping: Show the Beat sets out these rules. The handout also points out that printed music sometimes joins more beats than this; these rules are the safe way to write your own.
Sixteenths follow the same groups with a second beam. Four sixteenths on one beat share both beams. When a beat mixes an eighth and two sixteenths, the main beam joins the whole beat and the second beam covers only the sixteenths. A lone sixteenth, as after a dotted eighth, gets a short second beam that points into its own beat, never into the next.

Where each beat begins in 4/4, 3/4 and 6/8. Each box is an eighth note; a beat starts at every dark-edged box, and so should a new beam group.
3/4 and 6/8: the same six eighths
A bar of 3/4 and a bar of 6/8 both hold six eighth notes. The difference is the beat. In 3/4 there are three quarter-note beats, so eighths go in twos; a whole bar of six eighths may also share one beam. In 6/8 there are two dotted-quarter beats, so eighths go in threes. Beam a 3/4 bar in threes and it looks like 6/8; beam a 6/8 bar in twos and it looks like 3/4.

Six identical eighth notes. Only the beams and the time signature change, and with them where the reader feels the beats.
Simple vs compound: 3/4 or 6/8? gives you eight bars with the time signature missing; you tell 3/4 from 6/8 by how the notes are grouped. Beam the rhythm has you fix bars that are beamed wrong without changing how they sound.
Rests, dots and ties: let every beat show
Rests follow the same principle as beams. The whole rest hangs under line 4, and it fills any completely silent bar, whatever the time signature, placed in the middle of the bar. The half rest sits on top of the middle line. In 4/4 a half rest may start on beat 1 or beat 3, never on beat 2: a silence over beats 2 and 3 is written as two quarter rests, so that beat 3 starts with its own symbol. The Rest Family handout shows all five rests side by side.
A note or rest that starts off the beat should end by the next beat. A quarter rest that starts on the "and" of beat 1 runs over beat 2 and hides it; two eighth rests show it.

Rests that show the beat. Top: two quarter rests, not a half rest on beat 2. Bottom: two eighth rests, not a quarter rest that starts halfway through beat 1.
Ties do the same job for notes. A tie joins two notes of the same pitch into one longer sound, and you use it mainly to hold a note across a barline, or across a beat inside the bar so that the beat stays visible. Notes never straddle a barline; that job always belongs to the tie. In 4/4, a half note that starts on beat 2 hides beat 3: write it as two quarter notes tied across the middle of the bar. In 6/8, only a note that starts the bar may cross its middle; anything else is split with a tie at count 4, where the second beat starts. With one part on the staff, draw the tie curve on the side opposite the stems.

Top: a tie keeps the second beat (count 4) visible in 6/8. Bottom: a line note puts its dot in the space above; a space note keeps the dot in its own space.
A dot adds half the note's value: in 4/4, a dotted quarter lasts one and a half beats (a quarter plus an eighth). Put the dot to the right of the notehead and always in a space. If the note sits in a space, the dot goes in that same space; if it sits on a line, the dot goes in the space just above. A dotted rest takes its dot in the third space.
Before you rewrite anything, count it. Write the Counts has you write the counts under every note and then clap them, and Complete the measure asks for the one missing note or rest in each bar of 2/4, 3/4, 4/4 and 6/8. Our guide on how to count rhythm covers the counting itself.
One honest exception: some syncopated figures are so familiar that editions print them without ties. The beaming handout names quarter, half, quarter in 4/4, and Puget Sound's theory text accepts common syncopations written untied because the tied version needs more symbols to read. In homework, follow your teacher's preference; when in doubt, show the beat.
Accidentals, key signatures and time signatures
Every line of music starts the same way: the clef, then the key signature, both on every line. The time signature follows them once, at the start of the piece, and again only where the meter changes. Draw the treble clef so its curl circles line 2, the G line, and set the bass clef's two dots on either side of line 4, the F line.
Write the key signature's sharps or flats in their fixed order, F C G D A E B for sharps and the reverse for flats, each on its own line or space and close together, in the standard shape: in treble clef the first sharp sits on the top line F and the first flat on the middle line B; copy the rest from the key signatures chart. Write the key signatures is the drill for this, and our key signatures guide explains the order.
An accidental goes immediately to the left of its notehead, on exactly the same line or space. A sharp drawn half a space too high names a different note. It lasts until the barline, for every later note on that same line or space, unless another accidental (usually a natural) cancels it. A tie carries an altered pitch across the barline, usually without repeating its accidental. If the same letter comes back in another octave, write the accidental again.

Clef, key signature, time signature, in that order. The natural sits on the middle line with its B. In the chord, the sharp and the natural stand in two columns so they do not touch.
In a chord, accidentals that would overlap move left into a second column, as in bar 2. Keep each one level with its own notehead. Accidentals on the staff trains the reading side: which notes are still sharp or flat later in the bar.
Spacing and barlines
Horizontal space is part of the rhythm. Engravers mark the beat not only with flags and beams but also with the space between notes: longer notes get more room, shorter notes less. The growth is not proportional. A half note gets more room than a quarter note, but not twice as much.

Spacing by duration. Left: spaced by duration, as notation software engraves it. Right: the same symbols respaced to show the mistake: the half note gets no more room than the quarter, and the last beat is squeezed against the barline.
A common handwritten spacing mistake is the one on the right: you start a bar with generous gaps, run out of room and squeeze the last beat against the barline. Sketch the beats lightly first. In 4/4, mark where beat 3 falls, roughly halfway along the bar, then fill each half.
Barlines run straight down from the top line to the bottom line of the staff, and every full bar must add up to exactly the time signature. The usual exception is a pickup: a short first bar that leads into beat 1, often balanced by a short last bar, as in Pickup Notes. A thin line followed by a thick one ends the piece. Add the Barlines has you restore erased barlines in 4/4 and 3/4 by adding up the note values.
Check before you hand it in
Run these eight checks on every bar, in order.

Eight checks for a page of handwritten music. Count first: a bar with the wrong total cannot be fixed by tidier writing.
- Count every bar against the time signature (only a pickup and the last bar that balances it may be short).
- Order: clef and key signature on every line; time signature at the start and changes.
- Noteheads clearly on a line or in a space.
- Stems by the middle-line rule (by part when two parts share a staff), about an octave long.
- Beams by the beat, one stem direction per group.
- Rests and ties that show every beat.
- Accidentals level with their noteheads.
- Spacing by duration, with room before the barline.
For far more detail, Elaine Gould's Behind Bars (Faber Music, first published in 2011) covers notation conventions at length; its publisher calls it "the go-to, definitive guide for music notation." A shorter edition, Behind Bars: General Conventions, followed in 2023.
Free worksheets for this lesson
- Manuscript Paper — ten blank staves with Title and Composer lines
- Stem Rules — the middle-line rule and two bars of noteheads to stem yourself
- Four-part harmony — four voices on two staves, stems by part, and the first part-writing rules
- Beaming & Grouping: Show the Beat — beams, rests and ties that show the beat in 3/4, 6/8, 4/4 and with sixteenths, plus one stem direction per beam
- Beam the rhythm — judge, regroup and rewrite bars so every beat shows
- Simple vs compound: 3/4 or 6/8? — the same six eighths grouped two ways
- Ledger Lines — notes above and below both staves, with C anchors
- The Rest Family — all five rests and where each one sits
- Write the Counts — counts under every note, then clap
- Complete the measure — the one missing note or rest in each bar
- Add the Barlines — restore erased barlines in 4/4 and 3/4
- Pickup Notes — the short first bar that leads into beat 1
- Accidentals on the staff — which notes are still sharp or flat later in the bar
- Write the key signatures — twelve signatures in the right order after the clef
- Key Signatures: Major & Minor — all fifteen signatures, in both clefs
Keep writing
Neat notation is a habit: write a few bars every day and run the checklist until you no longer need it. Our guide to reading sheet music and the musical symbols glossary cover the rest of the page, and time signatures explained goes further into meter. If you sketch ideas in a DAW first, from piano roll to staff notation shows how the two views match, and a brief history of music notation explains where the staff came from.
A Tissimo music theory teacher can look over your dictation or composition homework in a live lesson and show you, bar by bar, where the beat is hiding.
Sources
- Stem (music) — Wikipedia
- Beam (music) — Wikipedia
- Common Rhythmic Notation Errors — University of Puget Sound
- Dots and Ties — University of Puget Sound
- Major Key Signatures — University of Puget Sound
- Music engraving — Wikipedia
- Dotted note — Wikipedia
- Ledger line — Wikipedia
- Tie (music) — Wikipedia
- Accidental (music) — Wikipedia
- Horizontal spacing overview — LilyPond Notation Reference
- New Behind Bars: General Conventions published — Faber Music
Read this article online: https://tissimo.co/articles/how-to-write-music-notation-by-hand-stems-beams-and-spacing

Comments