Trap music originated in Atlanta in the early 2000s — named after the trap houses where hustlers operated — and evolved into the most commercially dominant sound in hip-hop. From T.I. to Future to Travis Scott to the melodic wave pioneered by producers like Metro Boomin and Wheezy, trap has branched into a family of subgenres each with its own structural DNA.
If you want to write a trap song that actually sounds like trap — not a generic beat with some 808s — you need to understand the structural rules that define the genre: song architecture, BPM conventions, hi-hat patterns, 808 bass language, flow patterns, and how melodic trap diverged from hard trap.
This guide covers all of it. For context on how genre DNA works across all 30 genres, see our deep dive on what Genre DNA actually means.
The Foundation: What Defines Trap
Before you write a single bar, understand the four defining elements of trap production:
- 808 bass — the Roland TR-808 kick/bass hybrid, tuned to pitch, that carries the low-end melody
- Triplet hi-hats — rapid 1/16th or 1/32nd note rolls that create rhythmic tension and release
- Dark minor tonality — most trap is in minor keys, with melodic lines built on the minor pentatonic or natural minor scale
- Space and silence — unlike boom-bap which fills every bar, trap uses space deliberately. The silence between hits is part of the groove
These four elements are non-negotiable. Remove any one of them and you are in a different genre.
Trap Song Structure: The Architecture
Hard trap and melodic trap share a similar song architecture, though melodic trap compresses the verse lengths and elevates the hook's role significantly.
Standard Trap Structure
- Intro (4–8 bars) — beat establishes the 808 and hi-hat groove. Sometimes a sung or spoken phrase sets atmosphere
- Verse 1 (8–16 bars) — shorter than boom-bap. Establishes the artist's presence and introduces the theme
- Hook / Chorus (8 bars) — the emotional and rhythmic peak. In melodic trap, often sung. In hard trap, rhythmic and chanted
- Verse 2 (8–16 bars) — escalates the narrative or switches the energy
- Hook (8 bars) — repeated, often with a variation or added layer
- Bridge or Outro (4–8 bars) — drops down in energy, 808 carries out
One critical difference from older hip-hop: trap hooks often come first. Streaming algorithms favor front-loaded hooks because listeners skip within the first 30 seconds. If your hook is at the 90-second mark, you have already lost half your potential audience.
BPM and Tempo: Getting the Feel Right
Classic trap sits between 130–145 BPM, but the feel is slower because rappers and producers often operate on the half-time grid. A 140 BPM trap beat has a perceived feel of 70 BPM — giving space for slow, deliberate flow while the hi-hats create urgency above it.
Melodic trap has stretched into slower tempos — 120–130 BPM is common for introspective melodic records. Dark, aggressive trap pushes toward 145–155 BPM. Choose your tempo based on energy intent, not genre convention alone.
808 Bass: The Voice of Trap
The 808 in trap is not a bass guitar or a sub-kick. It is a melodic instrument with its own harmonic language. The 808 slides, sustains, and carries chord tones that define the emotional feel of the song.
Key 808 techniques:
- Portamento / pitch slides — the 808 slides between notes, creating the signature "woo" sound
- Tuned hits — 808s are tuned to the key of the song. An out-of-tune 808 is the most common beginner mistake
- Sustained bass tones — let the 808 ring and decay naturally rather than cutting it short
- Rhythmic placement — the 808 often lands on beat 1 and beat 3, with ghost hits on the "and" of beat 2
For a trap song in the key of C minor, your 808 chord progression might be: Cm – Ab – Eb – Bb (i – VI – III – VII). This four-chord loop is the backbone of hundreds of trap records.
Hi-Hat Patterns: Programming the Energy
Trap hi-hats are not random. They follow patterns that create tension and release across the bar. Three foundational patterns:
- Standard triplet roll — groups of three 1/16th notes that create a rolling, urgent feel. Used on beats 2 and 4 typically
- Gallop pattern — a 1/8th note followed by two 1/16th notes. Creates a driving, forward-moving feel
- Open-closed hi-hat alternation — switching between open (longer) and closed (short) hi-hats creates rhythmic variation without adding new elements
The trap hi-hat pattern should breathe. A full bar of constant 1/32nd rolls gets exhausting. The best trap producers — Metro Boomin, Southside, Pi'erre Bourne — vary the density constantly, creating moments of intensity followed by moments of space.
Writing Trap Lyrics: Flow, Theme, and the Hook
Flow Patterns
Trap lyrics use three primary flow types:
- Triplet flow — popularized by Migos, fits three syllables into the space of two beats. Creates a machine-gun rhythmic effect
- Staccato flow — short, punchy syllables on or just before the beat. Creates a percussive, aggressive feel
- Melodic flow — sung or half-sung delivery in the melodic trap tradition. Pitches the words against the chord progression
Writing the Hook
The trap hook is the most important part of the song. It needs to be:
- Simple and repetitive — one or two central phrases, repeated with variation
- Melodically memorable — even in hard trap, the hook has melodic shape
- Emotionally direct — trap themes include ambition, loyalty, street life, luxury, heartbreak, and paranoia. The hook states the theme plainly
- Rhythmically locked — the hook's syllable pattern should align with the 808 and hi-hat grid
Chord Progressions for Trap
Trap chord progressions favor minor keys and simple, repeating loops. The most effective progressions are 2–4 chords that loop seamlessly:
- i – VI – III – VII (e.g., Am – F – C – G) — dark, cinematic, widely used
- i – VII – VI – VII (e.g., Am – G – F – G) — creates tension and resolution without fully resolving
- i – iv (e.g., Cm – Fm) — minimal two-chord loop. Maximum space for the 808 to breathe
- i – VI (e.g., Am – F) — even more stripped down. Common in SoundCloud and dark trap
Note that trap rarely uses major keys. When it does — typically in melodic or party-oriented records — it creates a deliberate contrast between the bright tonality and dark lyrical themes.
Hard Trap vs. Melodic Trap
The most important structural distinction in modern trap:
| Element | Hard Trap | Melodic Trap |
|---|---|---|
| BPM | 138–150 | 120–138 |
| Hook style | Rhythmic, chanted | Sung, melody-led |
| Verse length | 8–16 bars | 8–12 bars |
| Instrumental density | Sparse, percussive | Melodic layers, strings, pads |
| Key references | Gucci Mane, 21 Savage | Travis Scott, Lil Baby, Rod Wave |
Common Mistakes in Trap Songwriting
- Out-of-tune 808s — the most common and immediately noticeable error. Always tune your 808 to your key
- No variation in hi-hats — constant rolls with no dynamic variation sound amateur. Build in fills, breaks, and changes in density
- Weak or generic hook — if you cannot hum your hook after one listen, it needs work
- Overcrowded verses — trap thrives on space. Fewer, more deliberate words hit harder than dense lyrical passages
- Ignoring dynamics — the best trap songs have quiet moments that make the loud moments hit harder
Write a Trap Song in Seconds
SONIQ's Trap Genre DNA has the 808 patterns, triplet flow structures, and dark minor progressions built in. Generate complete trap lyrics, chord progressions, and a full production brief — in one click.
Try SONIQ Free →Putting It All Together
A strong trap song is built on the intersection of rhythmic precision and emotional directness. The 808 carries the harmonic weight. The hi-hats create urgency. The hook states the theme plainly. The verses expand on it with flow and imagery.
Whether you are building hard trap or melodic trap, the structural rules are consistent: keep it minor, keep it sparse, front-load your hook, and let the 808 breathe. Everything else is style on top of structure.
For more on genre-specific structural rules, see our guide to hip-hop song structure across all subgenres and our breakdown of Genre DNA in music.