"Amar pelos dois" was written and produced by Luísa Sobral, Salvador Sobral's sister. "Amar pelos dois" is a bossa-nova inspired
jazz song with a length of three minutes and five seconds (3:05) that moves at a
tempo of 92 beats per minute.
 The song is written in
triple metre. It has minimalistic
instrumentation consisting of
strings arrangements, done by Portuguese composer Luís Figueiredo, and
background vocals. Salvador Sobral stated that "Amar pelos dois" is "influenced by those old songs from the
Great American Songbook, and it also has a touch of the beautiful
bossa nova melodies".
 Lyrically, the song is about a lost love and the continued attempts to get her back.
 Sobral described it as "a love song. A sad one".