"Half of My Heart" features more of a pop rock sound than Mayer's previous music. His previous albums explored blues and acoustic rock, especially in his 2006 album Continuum. It also has a carefree, sing-along sound to it.
The lyrics of the song are sung by both Mayer and Swift; Swift sings with Mayer in the chorus and in the song's bridge. The lyrics are about the duo, with half of their hearts saying they should continue to love each other, although the other half says they are not each other's true love, and cannot keep loving each other.
Mayer "tweeted" about wanting to record the song with Swift in March 2009: "Waking up to this song idea that won't leave my head. 3 days straight now. That means it's good enough to finish," he wrote. "It's called 'Half of My Heart' and I want to sing it with Taylor Swift. She would make a killer Stevie Nicks in contrast to my Tom Petty of a song."
In an interview shown on television called John Mayer: On the Record with Fuse (which only aired on the Fuse channel), Mayer's interviewer asked why the singer chose Swift to duet with, since she was only 19 years old, and Mayer was 32. He responded by saying that he was not putting her on the album just to sell more copies for die-hard fans of Taylor Swift that might just get the album for that song.
A new version of the song was made which does not feature Swift. It also features different instrumentation. An alternate edit of this version was set to the music video, and does feature Swift, although the video does not. This version was released as the "Pop Mix" on iTunes and Amazon.
The black acoustic guitar Mayer uses in the official video is a Martin 000-ECHF Belezza Nera.
"Half of My Heart" debuted at 29 on the BillboardHot Adult Top 40 Tracks chart on the issue date of May 8, 2009. This makes John Mayer's 14th appearance on that chart. The song also debuted at #25 on the Billboard Hot 100 upon the release of Mayer's album Battle Studies. It fell off the Hot 100 within two weeks, however upon its release as a single it re-entered the chart at #88 and reached #34.