Both hip-hop acts have seven nominations, including the coveted album of the year and best new artist. "Same Love," Macklemore & Ryan Lewis' original first single which saw a re-release after the success of "Thrift Shop" and "Can't Hold Us," is nominated for song of the year.
"It feels awesome," Macklemore, 30, exclaimed backstage during the Grammys nominations unveiling in Los Angeles. "There is no greater award than the Grammy. To be here tonight and to be nominated is truly mind-blowing."
For album of the year, the Seattle-based rap group's independently-released debut, "The Heist," will battle Lamar's "good kid, m.A.A.d city," Taylor Swift's "Red," Daft Punk's "Random Access Memories" and Sara Bareilles' "The Blessed Unrest," the only album in the group to not reach gold status.
"I never in a billion million years thought I'd be nominated for Album of the Year. ... Best birthday ever. Woah," tweeted Bareilles, who turns 34 on Saturday.
Bareilles, who got a boost this year after Katy Perry's "Roar" had been criticized for sounding like the piano-playing singer's "Brave," will see her song battle Perry's No. 1 hit in the best pop solo performance category. "Roar" is also nominated for song of the year among three other No. 1 hits — Bruno Mars' "Locked Out of Heaven," Lorde's "Royals" and "Just Give Me a Reason" by Pink and Nate Ruess. Macklemore & Lewis' "Same Love" has peaked at No. 11 and is up for the top honor.
The tracks competing for record of the year also mirrored the Billboard charts: "Royals," ''Locked Out of Heaven" and the year's longest-running No. 1 song, Robin Thicke's "Blurred Lines," is up against Daft Punk's "Get Lucky" and Imagine Dragons' "Radioactive," songs that peaked at No. 2 and 3 on the charts, respectively.
Thicke, whose performance closed the Grammy nominations special at the Nokia Theatre, quickly ran off to sing at the Jingle Ball concert event at the Staples Center.
"I just want to say that dreams do come true. Don't ever give up on your dreams," Thicke said onstage, thanking his actress-wife Paula Patton, band and fans. "Sometimes it just takes a little bit longer for some of us."
Pharrell will compete twice for record of the year thanks to his work on "Blurred Lines" and "Get Lucky"; both songs are also nominated for best pop duo/group performance. The producer-rapper-singer, who has seven nominations, is also up for non-classical producer of the year, and he's earned two nods for album of the year for his contributions to albums from Lamar and Daft Punk.
Drake and mastering engineer Bob Ludwig, who worked on Daft Punk's album, both earned five nominations, while Mars, Lorde, Swift and Daft Punk each earned four nominations.
Lorde, the 17-year-old New Zealand native, was surprisingly left out of the best new artist category, where Lamar, Macklemore & Lewis will compete with successful singer-songwriter Ed Sheeran, electronic soul singer James Blake and country singer Kacey Musgraves, who also earned four nominations.
Lorde's "Pure Heroine," released the final day of Grammy eligibility, is nominated for best pop vocal album, pitting her against Timberlake, Thicke, Mars and Lana Del Rey.