Spotify has become the first music streaming service to pass 50 million paying customers. It reached the milestone after adding 10 million subscribers in less than six months, staying ahead of its closest rival, Apple Music.

But Spotify – which costs £10 a month in the UK – faces competition from deep-pocketed tech giants Amazon and Google, as well as Apple. It is also yet to reach a new licensing deal with record labels, analysts say.

Mark Mulligan, a music industry analyst at Midia Research, said: “Spotify is the standout success for streaming music globally – no one else comes close in terms of paid subscribers.”

Apple Music had about 20 million subscribers by December 2016, 18 months after launching.

Lagging some distance behind are Deezer and Amazon Music, although the latter is “making up ground fast”, Mr Mulligan said.

The problem for Spotify is that Apple and Amazon have millions to spend on streaming and neither need to make a profit from the service, Mr Mulligan added.

Google has also invested in its streaming service, Google Play Music, by making more songs available offline and using artificial intelligence to draw up better playlists.

Spotify, which may list its shares on the stock market next year, is yet to post a profit despite reporting 80% growth in revenues in its latest annual results.

The company is also still dealing with “tortuous” licensing negotiations with music companies, Mr Mulligan said.

About 80% of Spotify’s cash flow is currently spent on licensing payments to record labels, he said. “If it’s going to IPO [initial public offering], it’s at least got to have a good story about that.”