Disco originated from the dance floors of the 1940s and 1950s, evolving from venues that replaced live bands with recorded music, particularly in clubs across Europe and the United States. By the 1960s and early 1970s, it matured into a distinct musical culture rooted in African-American and Latin music—incorporating genres like soul, funk, and rhythm and blues—and fueled by the inclusive, high-energy atmosphere of underground scenes like New York’s The Loft.

The genre reached its mainstream zenith in the late 1970s, largely driven by the massive success of the film Saturday Night Fever and the iconic sound of artists like the Bee Gees and Donna Summer. While disco faced a sharp, often controversial decline at the start of the 1980s, its influence proved enduring; its innovative use of synthesizers, drum machines, and extended remixes laid the foundational blueprint for modern electronic dance music, including house and techno.

1940s–1960s: First discotheques Disco was mostly developed from music that was popular on the dance floor in clubs that started playing records instead of having a live band. The first discotheques mostly played swing music. Later on, uptempo rhythm and blues became popular in American clubs and northern soul and glam rock records in the UK. In the early 1940s, nightclubs in Paris resorted to playing jazz records during the Nazi occupation.

Régine Zylberberg claimed to have started the first discotheque and to have been the first club DJ in 1953 in the "Whisky à Go-Go" in Paris. She installed a dance floor with colored lights and two turntables so she could play records without having a gap in the music. In October 1959, the owner of the Scotch Club in Aachen, West Germany chose to install a record player for the opening night instead of hiring a live band. The patrons were unimpressed until a young reporter, who happened to be covering the opening of the club, impulsively took control of the record player and introduced the records that he chose to play. Klaus Quirini later claimed to thus have been the world's first nightclub DJ.

1960s–1974: Precursors and early disco music During the 1960s, discotheque dancing became a European trend that was enthusiastically picked up by the American press. At this time, when the discotheque culture from Europe became popular in the United States, several music genres with danceable rhythms rose to popularity and evolved into different sub-genres: rhythm and blues (originated in the 1940s), soul (late 1950s and 1960s), funk (mid-1960s) and go-go (mid-1960s and 1970s; more than "disco", the word "go-go" originally indicated a music club). Musical genres that were primarily performed by African-American musicians would influence much of early disco.

Also during the 1960s, the Motown record label developed its own approach, described as having "1) simply structured songs with sophisticated melodies and chord changes, 2) a relentless four-beat drum pattern, 3) a gospel use of background voices, vaguely derived from the style of the Impressions, 4) a regular and sophisticated use of both horns and strings, 5) lead singers who were halfway between pop and gospel music, 6) a group of accompanying musicians who were among the most dextrous, knowledgeable, and brilliant in all of popular music (Motown bassists have long been the envy of white rock bassists) and 7) a trebly style of mixing that relied heavily on electronic limiting and equalizing (boosting the high range frequencies) to give the overall product a distinctive sound, particularly effective for broadcast over AM radio." Motown had many hits with disco elements by acts like Eddie Kendricks ("Girl You Need a Change of Mind" in 1972, "Keep on Truckin'" in 1973, "Boogie Down" in 1974).

At the end of the 1960s, musicians, and audiences from the Black, Italian, and Latino communities adopted several traits from the hippie and psychedelia subcultures. They included using music venues with a loud, overwhelming sound, free-form dancing, trippy lighting, colorful costumes, and the use of hallucinogenic drugs.Disco Double Take: New York Parties Like It's 1975 . Village Voice.com. Retrieved on August 9, 2009.(1998) "The Cambridge History of American Music", , , p.372: "Initially, disco musicians and audiences alike belonged to marginalized communities: women, gay, black, and Latinos"(2002) "Traces of the Spirit: The Religious Dimensions of Popular Music", , , p.117: "New York City was the primary center of disco, and the original audience was primarily gay African Americans and Latinos." In addition, the perceived positivity, lack of irony, and earnestness of the hippies informed proto-disco music like MFSB's album Love Is the Message."But the pre-Saturday Night Fever dance underground was actually sweetly earnest and irony-free in its hippie-dippie positivity, as evinced by anthems like MFSB's Love Is the Message." – Village Voice, July 10, 2001. Partly through the success of Jimi Hendrix, psychedelic elements that were popular in rock music of the late 1960s found their way into soul and early funk music and formed the subgenre psychedelic soul. Examples can be found in the music of the Chambers Brothers, George Clinton with his Parliament-Funkadelic collective, Sly and the Family Stone, and the productions of Norman Whitfield with The Temptations.

The long instrumental introductions and detailed orchestration found in psychedelic soul tracks by the Temptations are also considered as cinematic soul. In the early 1970s, Curtis Mayfield and Isaac Hayes scored hits with cinematic soul songs that were actually composed for movie soundtracks: "Superfly" (1972) and "Theme from Shaft" (1971). The latter is sometimes regarded as an early disco song. From the mid-1960s to early 1970s, Philadelphia soul developed as a sub-genre that also had lavish percussion, lush string orchestra arrangements, and expensive record production processes. In the early 1970s, the Philadelphia soul productions by Gamble and Huff evolved from the simpler arrangements of the late-1960s into a style featuring lush strings, thumping basslines, and sliding hi-hat rhythms. These elements would become typical for disco music and are found in several of the hits they produced in the early 1970s: "Love Train" by the O'Jays (with MFSB as the backup band) was released in 1972 and topped the Billboard Hot 100 in March 1973 "The Love I Lost" by Harold Melvin & the Blue Notes (1973) "Now That We Found Love" by the O'Jays (1973), later a hit for Third World in 1978 "TSOP (The Sound of Philadelphia)" by MFSB, which consisted of the instrumental accompaniment to the theme for Soul Train (with some vocal embellishments by The Three Degrees retained) and was a #1 hit on the Billboard Hot 100 in 1974

Other early disco tracks that helped shape disco and became popular on the dance floors of (underground) discotheque clubs and parties include: "Jungle Fever" by The Chakachas was first released in Belgium in 1971 and later released in the U.S. in 1972, where it reached #8 on the Billboard Hot 100 that same year "Soul Makossa" by Manu Dibango was first released in France in 1972; it was picked up by the underground disco scene in New York and subsequently got a proper release in the U.S., reaching #35 on the Hot 100 in 1973 "The Night" by the Four Seasons was released in 1972, but was not immediately popular; it appealed to the Northern soul scene and became a hit in the UK in 1975 "Love's Theme" by the Love Unlimited Orchestra, conducted by Barry White, an instrumental song originally featured on Under the Influence of... Love Unlimited in July 1973 from which it was culled as a single in November of that year; subsequently, the conductor included it on his own debut album "Sound Your Funky Horn" by KC and the Sunshine BandKC and the Sunshine Band allmusic.com Retrieved 29 December 2023 in 1974 "Rock Your Baby" by George McCrae in 1974 "Do It ('Til You're Satisfied)" by B.T. Express in 1974 "Boogie Down" by Eddie Kendricks in 1974 "If You Talk In Your Sleep" by Elvis Presley in 1974.

Early disco was dominated by record producers and labels such as Salsoul Records (Ken, Stanley, and Joseph Cayre), West End Records (Mel Cheren), Casablanca (Neil Bogart), and Prelude (Marvin Schlachter). The genre was also shaped by Tom Moulton, who wanted to extend the enjoyment of dance songs — thus creating the extended mix or "remix", going from a three-minute 45 rpm single to the much longer 12" record. Other influential DJs and remixers who helped to establish what became known as the "disco sound" included David Mancuso, Nicky Siano, Shep Pettibone, Larry Levan, Walter Gibbons, and Chicago-based Frankie Knuckles. Frankie Knuckles was not only an important disco DJ; he also helped to develop house music in the 1980s.

Disco hit the television airwaves as part of the music/dance variety show Soul Train in 1971 hosted by Don Cornelius, then Marty Angelo's Disco Step-by-Step Television Show in 1975, Steve Marcus's Disco Magic/Disco 77, Eddie Rivera's Soap Factory, and Merv Griffin's Dance Fever, hosted by Deney Terrio, who is credited with teaching actor John Travolta to dance for his role in the film Saturday Night Fever (1977), as well as DANCE, based out of Columbia, South Carolina.

In 1974, New York City's WPIX-FM premiered the first disco radio show.

Early disco culture in the United States In the 1970s, the key counterculture of the 1960s, the hippie movement, was fading away. The economic prosperity of the previous decade had declined, and unemployment, inflation, and crime rates had soared. Political issues like the backlash from the Civil Rights Movement culminating in the form of race riots, the Vietnam War, the assassinations of Dr. Martin Luther King Jr. and John F. Kennedy, and the Watergate scandal, left many feeling disillusioned and hopeless. The start of the '70s was marked by a shift in the consciousness of the American people: the rise of the feminist movement, identity politics, gangs, etc. very much shaped this era. Disco music and disco dancing provided an escape from negative social and economic issues. Yet, Bench Ansfield argues that disco also reflected those social currents: for instance, in the genre's frequent reference to fire and heat during a decade when American cities were burning down en masse.

In Beautiful Things in Popular Culture, Simon Frith highlights the sociability of disco and its roots in 1960s counterculture. "The driving force of the New York underground dance scene in which disco was forged was not simply that city's complex ethnic and sexual culture but also a 1960s notion of community, pleasure and generosity that can only be described as hippie", he says. "The best disco music contained within it a remarkably powerful sense of collective euphoria."Alan McKee, Beautiful Things in Popular Culture. John Wiley & Sons, April 15, 2008, p.196 The non-partnered dance style of disco music allowed people of all races and sexual orientations to enjoy the dancefloor atmosphere.

The explosion of disco is often claimed to be found in the private dance parties held by New York City DJ David Mancuso's home that became known as The Loft, an invitation-only non-commercial underground club that inspired many others. He organized the first major party in his Manhattan home on Valentine's Day 1970 with the name "Love Saves The Day". After some months the parties became weekly events and Mancuso continued to give regular parties into the 1990s. Mancuso required that the music played had to be soulful, rhythmic, and impart words of hope, redemption, or pride.