"Midnight Sun" is a song by Swedish singer and songwriter Zara Larsson from her fifth studio album of the same name (2025). It was released as the album's second single on 13 June 2025 through Sommer House and Epic Records. Described as an electropop and hyperpop track, the song was written by Helena Gao, MNEK and Larsson. The song peaked at number four in Sweden, becoming her twentieth top ten entry in her home country. Elsewhere, it reached the top 20 in the United Kingdom and the Netherlands, and the top 40 in Australia, Canada, Ireland, New Zealand, Norway and the United States.
At the 68th Annual Grammy Awards, the song was nominated for Best Dance Pop Recording, becoming Larsson's first Grammy nomination. A remix version of the song featuring American singer Muni Long was released on 14 November 2025.
Larsson described the concept behind the album as inspired by her Swedish roots, particularly the feeling of a summer that never ends. She stated, "I really am proud of my Swedish pop heritage, so I wanted to write about a Swedish summer where the sun never goes down. I wanted the whole album to feel like it's a summer night and it never ends. And it doesn't matter if it's December: the summer night will be there for you. It's waiting for you, it will come back for you, and you will come back for it". The song was recorded at Muzo Studios.
"Midnight Sun" blends elements of drum and bass, house, trance, and EDM, characterized by energetic breakbeats, atmospheric synths, and expansive pop production. Stereoboard described the song as a "sunny electro-pop track", while Neil Z. Yeung of AllMusic called the song "euphoric hyperpop". Rolling Stone described the song as "teetering between ebullient and delirious", highlighting its dynamic instrumentation and Larsson's vibrant vocal performance.