It was released in 2008 as the lead single from Gaga's debut studio album, The Fame.
"Just Dance" also has influences of R&B and lyrically speaks about being intoxicated at a club.
In Ireland, the song debuted at number eleven, and after one week it peaked the chart.
Across Europe, "Just Dance" reached the top ten in Austria, Denmark, Finland, Germany, Norway, Sweden, Switzerland and the top twenty of Belgium (Flanders and Wallonia) and France.
The song was produced by RedOne and co-written by RedOne, Gaga and Akon, while also featuring label-mate Colby O'Donis.
The song topped the charts in the United States, Australia, Canada, the Republic of Ireland, the Netherlands and the United Kingdom, as well as reaching the top ten in many other countries.
In the United States, "Just Dance" was a sleeper hit, spending almost five months on the Billboard Hot 100 before finally reaching the summit of the chart in January 2009, after being released in April 2008.
The single is among the best-selling singles of all time, having sold over 10 million copies.
The music video of the song portrayed Lady Gaga appearing in a party where she plays the song, prompting party-goers to start dancing in enjoyment.
Gaga compared her experience of shooting the video with being on a Martin Scorsese set.
Evan Sawdey of PopMatters said that "Just Dance" is an intensely catchy single and is an excellent indicator of what the album was all about.
Ben Hogwood of musicOMH praised the song saying, "You won't get many more catchy party odes than the chart topping Just Dance this year, a polished gem set to lodge in your head for the next few weeks."
Freedom lu Lac of The Washington Post described the song to be "filled with mindlessly frothy synth-pop that matches low-grade dance grooves with GaGa's icy, almost disembodied vocals about dancing bliss".
Lynn Saxberg from the Ottawa Citizen, while reviewing Gaga's The Fame Ball Tour, called the song a perfect sing-along club anthem.
Sal Cinquemani from Slant Magazine wrote that the song resembles the "desperate train wreck you're likely to encounter getting wasted at any dive on the L.E.S. at four in the morning" as is emphasized by the lyrics.
Talia Kranes from BBC called the song irresistible and said that "the catchiness of her songs is sure to cement her place in the list of pop idols".
In the United States, "Just Dance" was initially a club hit after its release, peaking at number two on both the Hot Dance Airplay and Hot Dance Club Play charts during the summer of 2008.
The song entered the Billboard Hot 100 chart at number 76 on August 16, 2008. After five months, it gradually rose to number two on the Hot 100, after selling 419,000 in downloads on January 10, 2009. The next week, the song reached number one on the Hot 100.
The single took a total of 22 weeks to hit the top spot, which is the longest climb to number one since Creed's "With Arms Wide Open" took 27 weeks before finally reaching number one in November 2000.
"Just Dance" was performed by Gaga in a number of live appearances including all of her concert tours, where she usually plays on a key-tar during the song.
In 2009, the song received a Grammy nomination in the Best Dance Recording category but lost to electronic duo Daft Punk for their song "Harder, Better, Faster, Stronger (Alive 2007)".
In an interview with Contactmusic.com Gaga explained that "Just Dance" is a happy record and is supposed to be appreciated by people going through rough times like losing jobs and homes etc.
In March 2010, the song was released as downloadable content for the music-based video-game series Rock Band.
The song combines synths of clipped marching beats, soaring electronics and contains mild R&B-infused beats.
The song is written in the key of C minor and is set at a moderate dance tempo of 119 beats per minute.
Matthew Chisling of AllMusic described the song as "a powerhouse of dance waves and infectiously produced beats".
Alexis Petridis of The Guardian called it a "beguilingly compulsive tale of pulling a drug-induced whitey, with a combination of clipped marching beats, sawing electronics and mild R&B flavor that bears a vague resemblance to Nelly Furtado's 'Maneater'".
Ben Norman of About.com said that the song "opens the album like a Valkyrie leading the charge riding triumphant ahead of her army. If you don't know this song, use your browser. I won't waste time explaining what it sounds like."
Bill Lamb from About.com called the song tame but catchy enough for Gaga to be noticed by mainstream.
The song entered the Billboard Hot 100 chart at number 76 on August 16, 2008. After five months, it gradually rose to number two on the Hot 100, after selling 419,000 in downloads on January 10, 2009.
The next week, the song reached number one on the Hot 100. The single took a total of 22 weeks to hit the top spot, which is the longest climb to number one since Creed's "With Arms Wide Open" took 27 weeks before finally reaching number one in November 2000.
The song also reached the top of the Mainstream Top 40 chart, becoming Gaga's first number-one song.
"Just Dance" spent a total of 49 weeks on the Hot 100 and on May 29, 2015, the single was certified eight times platinum by the Recording Industry Association of America (RIAA) for shipment of eight million copies.
It was the second song to reach the six-million mark in paid downloads, following "I Gotta Feeling" by the Black Eyed Peas.
As of April 2016, "Just Dance" has sold 7,100,000 digital downloads in the United States and is the ninth best-selling digital single of all time in the United States.
In Canada, the song debuted at number 97 on the Canadian Hot 100 for the issue dated June 7, 2008. It reached the top of the chart on August 23, 2008, and was present there for five consecutive weeks.
The song was certified six times platinum by the Canadian Recording Industry Association (CRIA) in June 2009, for sales of 240,000 copies in paid digital downloads.
The track debuted at number 34 on the ARIA Singles Chart on July 21, 2008, and moved up to number 17 the next week. On September 15, 2008, the track reached the top of the chart.
"Just Dance" was certified three times platinum by the Australian Recording Industry Association (ARIA) for shipment of 210,000 copies.
The song was credited as the longest charting single in ARIA history, spending over 81 weeks in the top 100.
"Just Dance" debuted on the New Zealand charts at number 19, and reached a peak of number three.
It has been certified platinum by the Recording Industry Association of New Zealand (RIANZ) for shipment of 15,000 copies of the single.
In the United Kingdom, "Just Dance" debuted at number three on the UK Singles Chart, on January 4, 2009. It rose to number one the next week with total sales of 65,764 copies, and remained at the top for three weeks.
In an interview with Daily Mail, Gaga explained her feelings on reaching number-one in the United Kingdom saying, "It's been a long running dream to have a big hit in the UK - my fans there are so sexy and the people are so innovative and free in how they think about pop culture and music. I was in my apartment in Los Angeles getting ready to go to dance rehearsal when they called and told me, and I just cried."
According to the British Phonographic Industry (BPI) the song was certified platinum, and in July 2016 it became Gaga's third song to pass one million combined sales in the United Kingdom based on streaming.
By January 2017, it had been streamed 6.3 million times in the nation according to the Official Charts Company, and has sold 961,000 copies as of September 2017.
Bill Lamb from About.com called the song tame but catchy enough for Gaga to be noticed by mainstream. He also added that "'Just Dance' has strong energy and features Lady GaGa's striking voice, but it ultimately adds up to rather bland dance-pop."