Genre guide·8 sections

Ragtime

What Ragtime is, where it came from, how it sounds, and how to identify it.

GAGenre AI music team · Updated August 21, 2026

Ragtime is American piano music that peaked between the late 1890s and the 1910s, built on one rhythmic idea: a strictly regular march bass in the left hand under a persistently syncopated melody in the right. It came out of Black musical communities, it sold mainly as printed sheet music, not as records, and it is one of the direct ancestors of jazz.

This guide covers where ragtime came from, how the syncopation works, why it is written out in full, and which pieces to start with. To hear how a rag reads to a classifier, run a few seconds through our free AI music genre detector.

What Is Ragtime?

Ragtime is defined by a rhythmic collision. The left hand plays a steady oom-pah (bass note on the beat, chord on the offbeat) in a march-like 2/4. The right hand plays a melody whose accents deliberately fall between those beats. The style lives in the tension between the two, and the term "ragged time" describes exactly that.

Two things set it apart from the jazz that followed. Ragtime is composed and notated, not improvised: the sheet music is the work, and Joplin in particular wanted his pieces played as written. And it is formally strict, borrowing the multi-strain structure of the military march. Each strain is usually sixteen bars long and repeated, in layouts such as AABBCCDD or AABBACCC′, with a key change when the trio begins.

Its natural instrument is the piano, though rags were arranged for banjo, brass band and orchestra from the beginning. Scott Joplin, its most important composer, put a note on the sheet music of "Leola" that performers have ignored ever since: "Notice! Don't play this piece fast. It is never right to play 'ragtime' fast."

History & Origins

Ragtime came out of Black communities in the American Midwest and South in the 1890s, combining the syncopations of banjo music, cakewalk dances and minstrel-show repertoire with the harmony and form of European marches and dances. The 1893 World's Columbian Exposition in Chicago was an early public stage for it: the pianist Jessie Pickett played "The Dream" there, and Scott Joplin was among the musicians in town.

Scott Joplin is the central figure. He settled in Sedalia, Missouri, in 1894 and moved to St. Louis in 1901. "Maple Leaf Rag", published by John Stark in 1899, became the best-known rag of the era. How many copies it sold is disputed: older accounts credit it with a million in Joplin's lifetime, while the researcher Edward A. Berlin found that the first print run of 400 took a year to sell and that later sales were steady but modest. "The Entertainer" followed in 1902. Joplin's ambitions ran well past dance music. He wrote a ragtime ballet, The Ragtime Dance, and two operas: A Guest of Honor, whose score is lost, and Treemonisha, which he spent his last years trying to stage.

Around him worked James Scott, Joseph Lamb (the one white composer usually ranked with Joplin and Scott as the "big three" of classic ragtime), Tom Turpin, Eubie Blake and, at the boundary with jazz, Jelly Roll Morton.

The business model explains a lot. Around 1900 the American music industry sold mostly printed paper: songs and piano pieces bought to be played at home on the family piano, plus piano rolls for player pianos. Ragtime's success was counted in copies sold, and composers were paid as writers, not as performers.

In 1917, the year Joplin died and the year the first jazz records were issued, the style was already being displaced by jazz, which took ragtime's syncopation and added improvisation, blues inflection and a swing feel. Ragtime's own descendants continued: stride piano in Harlem through James P. Johnson and Fats Waller, and novelty piano in the 1920s.

The revival came in the 1970s. In November 1970 the musicologist Joshua Rifkin released Scott Joplin: Piano Rags on Nonesuch, treating the rags as concert music; it is reported to have become the label's first million-selling album. Marvin Hamlisch's Joplin adaptations for the film The Sting (1973) followed, and his version of "The Entertainer" reached No. 3 on the Billboard Hot 100 in May 1974. Joplin received a special posthumous Pulitzer Prize in 1976 for his contributions to American music.

Portrait photograph of Scott Joplin, taken in 1907. Joplin wrote "Maple Leaf Rag" and "The Entertainer" and is the central composer of classic ragtime.
Portrait photograph of Scott Joplin, taken in 1907. Joplin wrote "Maple Leaf Rag" and "The Entertainer" and is the central composer of classic ragtime. Unknown author / Wikimedia Commons, Public domain

Key Characteristics & Sound

What identifies a ragtime piece:

  • Syncopated right hand: melodic accents falling between the beats, most often as a short–long–short figure across the bar.
  • March bass in the left hand: alternating bass note and chord, absolutely steady, no swing.
  • Metre: 2/4, occasionally 4/4, with the feel of a march.
  • Tempo: a moderate march pace; the scores give no metronome figure that defines the style. Joplin's note on "Leola" warns against playing fast; recorded performances range from stately to frantic.
  • Multi-strain form: usually four sixteen-bar strains, each repeated, with a key change at the trio.
  • Diatonic harmony with chromatic passing chords and diminished sevenths, drawn from European practice; blue notes are rare.
  • No improvisation: the printed score is the piece.
  • Straight eighths: rags are notated without swing, though many modern players swing them anyway.

Where it sits among its relatives:

Ragtime compared with adjacent styles
TraitRagtimeEarly JazzStride PianoBlues
Period1895–19181917–19301919–19401900 onward
ImprovisationNoneCentralCentralCentral
Rhythm feelStraight, marchSwungSwungShuffle or straight
Left handSteady oom-pahBand supplies bassLeaping tenthsRepetitive figure
FormRepeated 16-bar strains32-bar and 12-barSong forms12-bar
Reference workMaple Leaf RagDippermouth BluesCarolina ShoutCross Road Blues

Instruments, Notation & Recording

Most ragtime predates recorded sound as a mass medium, so the technical context looks unusual today:

  • Upright piano: the domestic instrument the whole trade was built around.
  • Printed sheet music as the main product. Publishers such as John Stark played the role record labels would later play, and cover art did the marketing.
  • Piano rolls: perforated paper for player pianos, and the closest thing to a recording of a rag performance from the period. Some rolls were edited or hand-punched, so they are not always literal documents.
  • Banjo, brass band and orchestral arrangements: rags circulated well beyond the piano.
  • Acoustic recordings after 1900, mostly of band arrangements, because early recording horns captured ensembles better than a lone upright.
  • Modern performance practice split between the concert approach (measured tempo, exact notation, following Rifkin) and the honky-tonk approach, fast and loose, which is how most people have heard ragtime.
Cover of the first edition of "Maple Leaf Rag", 1899. Ragtime reached its public mainly as printed sheet music like this, played at home on the piano.
Cover of the first edition of "Maple Leaf Rag", 1899. Ragtime reached its public mainly as printed sheet music like this, played at home on the piano. Scott Joplin / Wikimedia Commons, Public domain

Related Styles & Descendants

The family around it:

  • Cakewalk: the syncopated dance form that immediately preceded and fed into ragtime.
  • Classic ragtime: the notated Missouri school of Joplin, Scott and Lamb.
  • Stride piano: the Harlem successor, with a wider, leaping left hand and improvisation; James P. Johnson, Fats Waller.
  • Novelty piano: the fast, virtuosic commercial branch of the 1920s; Zez Confrey.
  • Ragtime song: the vocal Tin Pan Alley version that borrowed the name loosely.
  • Jazz: the direct descendant, which added improvisation, blues and swing.
  • Swing and bebop: the later jazz traditions that grew from that turn.

Key Composers & Pieces

Where to start:

  • Scott Joplin: "Maple Leaf Rag" (1899), "The Entertainer" (1902), "Solace" (1909).
  • James Scott: "Frog Legs Rag" (1906), his first hit and, among John Stark's titles, second in sales only to "Maple Leaf Rag".
  • Joseph Lamb: "American Beauty Rag" (1913).
  • Tom Turpin: "Harlem Rag" (1897), generally cited as the first published rag by an African-American composer.
  • Eubie Blake: "Charleston Rag", which Blake said he wrote in 1899; he deposited it for copyright in 1917.
  • Jelly Roll Morton: "King Porter Stomp", which Morton dated to 1906 and first recorded in 1923, ragtime turning into jazz.
  • Zez Confrey: "Kitten on the Keys" (1921), the novelty branch.
  • Joshua Rifkin: Scott Joplin: Piano Rags (1970), the recording that started the revival.
  • Marvin Hamlisch: The Sting soundtrack (1973).
  • Scott Joplin: Treemonisha (1911), first fully staged in Atlanta in 1972.

Three pieces for the arc: "Maple Leaf Rag" for the breakthrough, "Solace" for how much range Joplin had, "King Porter Stomp" for the moment ragtime became jazz.

Sheet music cover of Tom Turpin's "Harlem Rag", in the 1899 edition revised and arranged by W. H. Tyers and published by Jos. W. Stern & Co. in New York. Turpin first published the piece in 1897.
Sheet music cover of Tom Turpin's "Harlem Rag", in the 1899 edition revised and arranged by W. H. Tyers and published by Jos. W. Stern & Co. in New York. Turpin first published the piece in 1897. Tom Turpin / Wikimedia Commons, Public domain
Ragtime composer Joseph Lamb, photographed around 1915. Lamb is usually ranked with Scott Joplin and James Scott among the three leading composers of classic ragtime.
Ragtime composer Joseph Lamb, photographed around 1915. Lamb is usually ranked with Scott Joplin and James Scott among the three leading composers of classic ragtime. Unknown author / Wikimedia Commons, Public domain

How AI Detects Ragtime

A solo rag has a recognisable texture: a piano with a very regular low register (bass note and chord alternating, beat after beat) and high-register attacks that keep landing off the beat. Played well and recorded cleanly, that pattern is easy to hear even in a short clip.

The complications are historical. Original-era recordings and piano rolls carry heavy noise, limited bandwidth and unstable pitch, which can swamp the musical detail, and the boundary with early jazz and stride is blurry, since the difference lies in improvisation and swing feel, not in the instrument. Genre AI has no ragtime label, so the answer will be a neighbouring family such as jazz or classical, and only rarely blues; the note below explains why. Test a rag in the Genre AI music genre detector.

What our detector hears

Genre AI's production taxonomy has no Ragtime class, and the word is not among the text prompts of any label. Two coarse families are the likely winners. Under Classical, a solo piano rag may resolve to Classical Period, whose prompts include "classical piano", or to Gilded Age, whose prompts include "vintage" and "vintage jazz" and whose name matches ragtime's own era. Under Jazz, the nearest fine labels are Big Band / Swing and Easy Listening. Both coarse labels have fine subgenres, so whichever ranks higher among the top five decides the answer, and the alternatives shown are sibling labels within that family only: a Classical answer may list another period, a Jazz answer another jazz style. Blues has no fine labels of its own and is unlikely to be the answer. A performance that swings the eighths will probably lean further toward Jazz than a straight, measured one.

Frequently Asked Questions

What is ragtime?

Ragtime is composed American piano music that flourished from the late 1890s to the 1910s, built on a steady march-like bass in the left hand and a syncopated melody in the right. It is fully notated, not improvised, and organised into multi-strain forms borrowed from the military march.

What is the difference between ragtime and jazz?

Ragtime is written down and played as composed, with straight eighth notes and no swing. Jazz, which grew out of it in the 1910s, is built on improvisation, blues inflection and a swung rhythmic feel. The overlap is real: Jelly Roll Morton worked on both sides of the line.

Who was Scott Joplin?

The most important ragtime composer, based in Sedalia and then St. Louis, Missouri, from the 1890s. 'Maple Leaf Rag' (1899) became the best-known rag of its time, though claims that it sold a million copies in his lifetime are disputed. 'The Entertainer' (1902) became his most famous piece after the film The Sting. He received a special posthumous Pulitzer Prize in 1976.

How fast should ragtime be played?

At a moderate march pace. Joplin's note on the sheet music of 'Leola' reads: 'Don't play this piece fast. It is never right to play ragtime fast.' Many later performers, especially in the honky-tonk style, have ignored that advice.

What is the structure of a rag?

Usually four sixteen-bar strains, each repeated, in layouts such as AABBCCDD or AABBACCC′, with a key change at the trio section. It is the multi-strain form of the military march, which is where ragtime borrowed it from.

Why did ragtime become popular again in the 1970s?

Two things: Joshua Rifkin's 1970 Nonesuch album Scott Joplin: Piano Rags, which presented the rags as concert music and sold far beyond expectations, and Marvin Hamlisch's Joplin adaptations for The Sting (1973), which took 'The Entertainer' to No. 3 on the Billboard Hot 100 in 1974.

Sources

Identify the genre of any track in seconds

Try the free AI genre detector →
Ragtime Music: History, Sound & Key Composers — Genre AI