Melodifestivalen 2008 was the 47th Melodifestivalen, and the selection process for the 48th song to represent Sweden at the Eurovision Song Contest. A new rule—Lex Agnes—went into effect in 2008 calling for each submitted entry to include a document containing all information relevant to the song. It was named after Agnes Carlsson, who was disqualified from the 2007 competition for publicly revealing details of her song before the deadline.
Melodifestivalen 2008 included 32 songs split up into four semi-finals with eight participants in each. The semi-finals were held between 9 February and 1 March 2008 and at each, the two top placing songs went to the final, while the third and fourth place songs went to the Andra Chansen (Second Chance Round). At the Andra Chansen, held on 8 March 2008, the eight songs paired off in two rounds with the two winners at the end of the night qualifying for the final. The final was held on 15 March 2008 and included the eight songs from the semi-finals along with the two from the Andra Chansen to make ten songs in all. The winner and selected entrant for the Eurovision Song Contest was then chosen by (insert voting process here).