Why Shazam misses some songs
Shazam matches the exact recording it hears, so it can miss a song for reasons that have nothing to do with the song being rare.
A live performance, a cover, a remix or a sped-up version is a different recording, so it may not match. Loud rooms and people talking hide the sound it needs. And a song that is very new, unreleased or only released locally may not be in its catalogue at all.
Shazam doesn't work with humming
Because it matches recordings, Shazam needs the real song playing. If the music has stopped and you only remember the tune, use a tool that searches by humming instead, such as the Google app, the SoundHound app or HumFinder.
Give it a better chance
Move closer to the speaker and wait for a part with less talking, then let it listen for longer.
If the song is playing on your iPhone, the Music Recognition button in Control Center can identify it even with headphones in, so you don't need to play it out loud.
Shazam alternatives to try
SoundHound recognizes recordings like Shazam, and can also search by singing or humming.
The Google app can listen to a song playing near you, and its Search a song button finds songs by humming. On many recent Android phones, Circle to Search has a music button that does both: it listens to a song playing on the phone or nearby, and you can also hum to it.
HumFinder works in any browser, on a phone or a computer, with nothing to install. It can listen to music playing near you or search by humming, and you can play each result to check it. Its catalogue is small and mostly independent music for now.
SoundHound vs Shazam
Both identify songs from a recording, and both know a very large number of popular songs. Shazam is owned by Apple and built into iPhones through Control Center. SoundHound's difference is that it can also find a song from your singing or humming. If one fails on a recording, it is worth trying the other, since their catalogues differ.
If it's a song a DJ played
DJs often play edits and tracks that aren't released yet, which no app can identify. Look for the set's track list on the event's pages, on sites such as 1001Tracklists, or ask the DJ directly.
When no app knows it
If you remember any words, search for them in quotation marks with the word lyrics. Otherwise, people on r/NameThatSong and r/tipofmytongue on Reddit are good at naming songs from a short recording or a description. On HumFinder, you can choose to post your hum on the Unsolved hums page, so other people can listen and suggest the song.
Shazam on a computer
Shazam also works on Mac, through the music recognition in Control Center or the menu bar, and in Chrome through the Shazam extension, which can name a song playing in a browser tab. On Windows, the extension in Chrome is the easiest way. Or play the music out loud and use the app on your phone.
Check your Shazam history
If you think Shazam once found the song, open your Shazam library. It keeps every song you identified, with the date. On iPhone, songs found with the Control Center button can also appear there, and in the Control Center history itself.
Is it a sample?
Many songs are built on a sample of an older record. If Shazam names a song you don't recognise, it may have heard the sample, or the other way round. Sites such as WhoSampled list what each song samples and who sampled it, which often explains a confusing result.
Songs that are hard for every app
Some music is hard to identify whatever app you use. Classical recordings are one example: the same symphony exists in hundreds of recordings, and an app may name the piece but the wrong orchestra. For classical music, the piece is usually what you want, so check the composer and title and then pick a recording you like.
Music made for a venue, a game or a shop playlist may never have been released to the public, and DJ sets often mix two tracks at once. Field recordings, a friend's band and songs only released on a local radio station are rarely in any catalogue. For these, people are a better bet than apps: ask the venue, the DJ or the people who were there.
Questions people ask
Can Shazam identify a song from humming? No. It matches recordings only. Use a tool that searches by melody, such as the Google app, SoundHound or HumFinder.
Why does Shazam find a song on one try and not the next? Each try hears a different moment, with different noise. Try again during a louder part with less talking.