Karl Martin Sandberg (born 26 February 1971), known professionally as Max Martin, is a Swedish record producer and songwriter. He rose to prominence in the late 1990s with songwriting credits on a string of hit singles, such as Britney Spears's "...Baby One More Time" (1998), the Backstreet Boys' "I Want It That Way" (1999), Celine Dion's "That's the Way It Is" (1999), and NSYNC's "It's Gonna Be Me" (2000).
Martin has written or co-written 30 Billboard Hot 100 number-one singles; 28 of which he has produced or co-produced, an all-time record for the chart as of June 2026. His credits include Katy Perry's "I Kissed a Girl" (2008) and "Roar" (2013), Maroon 5's "One More Night" (2012), Taylor Swift's "Shake It Off", "Blank Space" (2014) and "The Fate of Ophelia" (2025), Ariana Grande's "Yes, And?", "We Can't Be Friends (Wait for Your Love)" (2024) and "Hate That I Made You Love Me" (2026), Ed Sheeran and Justin Bieber's "I Don't Care" (2019) and The Weeknd's "Blinding Lights" (2019) and "Save Your Tears" (2020). "Blinding Lights" is the best performing song of all time according to the chart. Martin has written the second-most number-one singles on the chart, behind only Paul McCartney (32), having surpassed John Lennon (26) with his 27th number one in March 2024. Many of Martin's hits were used in the 2019 jukebox musical & Juliet.
In early 2013, The Hollywood Reporter tallied his singles sales at over 135 million copies. According to Variety, his net worth was approximately $260 million in 2017; the previous year, his corporate entity generated revenue of $54 million with a profit of $19 million. Martin has won the ASCAP Songwriter of the Year award a record 11 times. He has also won five Grammy Awards, including Producer of the Year, and nominations for an Academy Award and two Golden Globe Awards.
Sandberg was born and grew up in Stenhamra, Ekerö Municipality, Stockholm County. His mother was a middle school teacher and his father was a police officer. As a child, Martin was a student of Sweden's public music-education scheme, and once said he had "public music education to thank for everything".
As a teenager he sang in a variety of bands before joining a glam-style metal band called It's Alive in 1985 as their singer and frontman. It's Alive was formed by Peter Kahm and ex-Lazy members Per Aldeheim and Kim Björkgren on guitars, and John Rosth who had been a member of Lineout. Martin eventually dropped out of high school to pursue a career in music with his band under the nickname "Martin White". In 1988 It's Alive participated in Rock-SM (English: Swedish Rock Championship), a nationwide battle of the bands, and had a residency at a nightclub in Cyprus. The band got a breakthrough in 1991, as Dave Constable of Megarock Records offered them to make a demo record. The later debut album was originally pressed in 1,000 copies and later on given away as a free cover tape in the UK by the Metal Forces magazine.
The decision to focus on a music career paid off as they landed a record deal on producer Denniz Pop's label Cheiron Records, a BMG affiliate. After recording their second album Earthquake Visions, they released three singles in conjunction with the record and toured through Europe in 1994 supporting Kingdom Come. Earthquake Visions eventually sold a disappointing 30,000 copies, despite being released in as many as 30 countries. More importantly though, Martin also began collaborating on songs with Denniz Pop. Recognizing a talent for writing pop songs in the young rocker, Denniz Pop renamed his new protégé Max Martin and eventually became Martin's mentor.
Working with Cheiron and Denniz PoP
In 1993, Martin was hired by Cheiron Studios and spent some time learning the basics, before the first production collaboration between PoP and Martin: the Rednex song "Wish You Were Here" in 1994. When Martin produced the intro to E-Type's song "This Is the Way", E-Type and PoP credited it to the made up producer alias "Max Martin", thus inventing his artist name. Martin was informed after-the-fact, when the printed records came back. They both worked on Ace of Base's second album, The Bridge (1995), shortly thereafter, as well as on albums by 3T, Army of Lovers and Leila K. To date, The Bridge has sold more than six million copies worldwide, including one million in the United States. When Martin eventually left his band It's Alive in late 1995, he was replaced by Anders Hansson.
In 1995, Cheiron Studios was hired by Zomba to work on Backstreet Boys' self-titled debut album Backstreet Boys (1996). Zomba became the main working partner since the success in 1995. Martin took part in the production of "Quit Playing Games (with My Heart)" (1996), co-written with Herbie Crichlow, a single which quickly went platinum and climbed to No. 2 on the Billboard Hot 100, as well as the singles "As Long As You Love Me" (1997) and "Everybody (Backstreet's Back)" (1997). The album was not released in the U.S. until 1997, but was released overseas and caught on all across Europe, eventually selling around 8 million copies worldwide. This led to the Backstreet Boys being relaunched in their home country later on, this time more successfully. Later that year, Martin co-wrote and co-produced Robyn's hits "Show Me Love" and "Do You Know (What It Takes)" which ended up on the Billboard Hot 100 top 10.
In 1998, Cheiron Productions worked on albums by Five and Jessica Folcker. Jessica Folcker had first been hired as a backing singer for tracks with Ace of Base and Dr. Alban, and her debut album Jessica became an instant hit with singles like "Tell Me What You Like" and "How Will I Know Who You Are" which both sold platinum. After Denniz PoP died of cancer that same summer, Martin took over as director of Cheiron Studios. He soon started working with writer/producer Rami Yacoub, who continued to be his partner for many years. Martin also wrote two songs with Bryan Adams during this time, "Cloud Number Nine" and "Before The Night Is Over".
In late 1999, Celine Dion released "That's the Way It Is", a song co-written by Max Martin to promote her greatest hits album All the Way... A Decade of Song. The song became a hit, going to number 1 on the adult contemporary charts in the United States and Canada, and reaching top 10 all over the world. Since the song was released in November 1999, it has cycled 500,000 times on almost 1400 radio stations across Canada and the U.S.
In 2003 Martin co-wrote and produced three songs for Dion's album One Heart. One of them, called "Faith", was released in 2003 as a promotional single in Canada and reached number 4 on the Quebec Airplay Chart and number 37 on the Canadian Adult Contemporary Chart.
Martin, Andreas Carlsson, and Rami Yacoub wrote Westlife's song "I Need You" for the first Westlife album Westlife (1999). Martin, Nick Jarl, Steve Mac, and Patric Jonsson wrote Westlife's song "You Make Me Feel" for their second album Coast to Coast (2000). Max Martin, Rami Yacoub, and Andreas Carlsson also wrote one of Westlife's hits, "When You're Looking Like That", for their second album Coast to Coast (2000).
Martin wrote, co-wrote, and co-produced 7 out of the 12 songs on the Backstreet Boys' third album Millennium (1999), including all the singles. "I Want It That Way", a hit song Martin co-wrote with Andreas Carlsson and co-produced with Kristian Lundin, became the group's biggest single to date and it is still popular today, being voted No. 10 in the MTV/Rolling Stone list of the "100 Greatest Pop Songs". 100 Greatest Songs of the '90s, a VH1 special, ranked the song at number 3, making it the highest ranked boy-band single and pop song. Millennium sold over 1.1 million units in its first week in the United States, setting a record for most albums sold in its debut week (that record was later beaten by NSYNC's 2000 album No Strings Attached), and was the best-selling album in the world.
When working on her own solo album, to be released in 2001 on Stockholm Records, Lisa Miskovsky wrote the lyrics for the Backstreet Boys' hit single "Shape of My Heart" with Max Martin and Rami. The song, originally written for Miskovsky's own album, was passed on to the Backstreet Boys by Max Martin when Miskovsky decided that it did not fit her style. The song became the first single off the group's fourth album Black & Blue (2000). In the first week of release, "Shape of My Heart" immediately jumped into the Top Five in Sweden, Norway, Canada, Germany and another 15 countries. Black & Blue, containing several songs produced and written by Martin, sold 1.6 million units in its first week in America. Martin again received ASCAP's award "Songwriter of the Year" both in 2000 and 2001. In April 2013 the Backstreet Boys member Brian Littrell invited Martin to collaborate on their single "In A World Like This". The single peaked at No.6 in the Oricon chart and performed well in the rest of the world. Martin collaborated on the Never Gone songs "Climbing the Walls", "Just Want You to Know", "Siberia" and "I Still...". Martin wanted the album to be more of a contemporary, alternative pop album with a little R&B. The resulting album had a more organic music style with more live instruments, and was a departure from the Backstreet Boys' earlier work.