Guides

    How to write a rap song

    To write a rap song, pick a beat and count it in bars of four beats, decide what the song is about, write a hook that repeats, then write verses of about 16 bars where lines end on rhymes and the flow fits the beat. Read every line over the beat and rewrite anything you have to rush.

    Updated

    Written by The Melodara Team — working songwriters and producers in Los Angeles and New York. How we write and check: our editorial standards.

    1. Start with the beat

    Rap is written to a beat, so choose one before you write. Most beats are in 4/4: four beats make a bar, and a verse is usually counted in bars. Tempo changes how the words sit. Slower beats (roughly 70 to 95 BPM) leave room for longer lines and heavier lines; faster beats push you towards shorter, tighter phrases. If you have a beat as an audio file, the BPM and key finder estimates its tempo and key in your browser; check the result by tapping along.

    2. Decide what the song is about

    Strong rap verses are specific: names, places, numbers, the exact moment. Choose one subject and one angle, such as the day you moved out or why you are still doing this, and let every verse come back to it.

    3. Write the hook

    The hook (chorus) is the part people repeat. Keep it short, rhythmic and easy to say. Write it to the same beat as your verses, and make sure it states the idea of the song so the verses can build the case for it.

    4. Build verses in bars

    A common verse length is 16 bars, but 8 or 12 also work. Treat a line as one or two bars and place the important word, usually the rhyme, on the strong beat at the end. Write the last word of each line first if that helps: choose the rhyme words, then write toward them.

    • Count out loud: "one and two and three and four and" for each bar.
    • Keep lines in the same position in a verse similar in length.
    • Leave a little air at the end of a line; not every bar needs to be full.

    5. Rhyme beyond the last word

    Rap uses more kinds of rhyme than the end-of-line rhyme in most songs. Internal rhyme puts rhymes inside the line. Multisyllabic rhyme matches several syllables at once ("generation" with "separation"). Near rhyme matches the vowel sound without matching exactly, which sounds natural and avoids forced words. The rhyme dictionary lists perfect and near rhymes by syllable count, and the rhyme scheme finder shows which lines of your verse rhyme with each other.

    6. Find your flow

    Flow is how your syllables fall across the beat. Say a line to the beat and notice where it feels heavy or rushed. Count syllables with the syllable counter when a line will not fit, then cut words or choose shorter ones. Vary the pattern between lines so the verse does not sound mechanical.

    7. Practise freestyling to loosen up

    Freestyle practice builds the habit of finding rhymes fast. Use the freestyle word generator to get random words, set a 30 or 60 second timer, and try to use each word in a line that rhymes with the last. Keep the lines you like and rewrite them when you are not on the clock.

    8. Edit and record

    Rewrite any line you have to rush or that you would not say in real life. Cut filler. Record a rough take over the beat and listen for lines that fall off the beat or crowd the next one. Then adjust and record again.

    Frequently asked questions

    How many bars should a rap verse be?
    Sixteen bars is the most common length, but 8 and 12 are also used. Choose the length the idea needs; a tighter verse usually beats a padded one.
    Do rap lyrics have to rhyme?
    Rhyme is a core part of most rap, but it does not have to be perfect or only at the end of a line. Near rhymes, internal rhymes and multisyllabic rhymes all work.
    What BPM is rap?
    There is no single tempo. Many boom-bap beats sit roughly between 80 and 100 BPM, and many trap beats are written around 130 to 170 BPM but are felt at half that speed. Use the tempo of your beat and write to it.
    How do I rap on beat?
    Count the bars out loud, say each line to the beat, and place the key word of the line on a strong beat. If a line does not fit, shorten it or move the stress, rather than speeding up to cram words in.
    How do I get better at freestyling?
    Practise with random words and a timer, read your own lines back, and build a stock of rhyme families you can reach for. Speed comes from repetition.
    Can AI write a rap for me?
    AI can suggest rhymes and alternative lines, but a rap in your own voice comes from your choices. Using suggestions as options you can keep or rewrite works better than accepting a finished verse.

    Write it in melodara

    A writing studio with rhyme suggestions, syllable counts, chords and voice memos on each line, plus an AI co-writer that suggests single lines when you ask. Free plan: 3 songs.

    See how it works