Rights and licensing for game music
Who owns the music in a game depends on what the developer and the composer agree in writing. The usual options are a non-exclusive licence, an exclusive licence and a full assignment of the rights (a buyout). When I compose for a game, the client receives an exclusive licence for commercial use.
Three types of agreement
Foxi Music's 2026 guide for game developers describes these models:
Non-exclusive licence
You pay to use the music, but other developers can license the same track for their games. It's the standard model for music libraries and royalty-free platforms.
Exclusive licence
Only you have the right to use the music. The price reflects that exclusivity, and the guide notes that these deals are uncommon at indie level.
Full assignment (work for hire or buyout)
The studio keeps all rights to the music created for the project. The guide calls it the cleanest ownership position and also the most expensive route.
Foxi Music: Understanding music licensing for game developers (2026)
What Spanish law requires
This guide takes Spanish law as its reference, because I work from Spain. The Spanish Intellectual Property Act (Ley de Propiedad Intelectual) sets three rules worth knowing before you sign:
In writing
Every assignment of rights must be made in writing (article 45).
Term and territory
If the contract doesn't state a term, the assignment is limited to five years; if it doesn't state a territory, it is limited to the country where it was signed (article 43). That is why both should be written down.
Exclusivity, stated expressly
Exclusivity has to be agreed expressly. An exclusive assignee can exploit the work to the exclusion of everyone else, including the author, within the agreed scope (article 48).
Spanish Intellectual Property Act, articles 43 to 50 (in Spanish)
How I work: what the client receives
An exclusive licence for commercial use of the music composed for your project: the music for your project is only for your project.
The uses, the territory and the duration are set in writing in each quote, so none of them is left to the default rules above.
What I keep
The right to show the music on my website, social media and portfolio as a sample of my work, from the project's release. Because exclusivity excludes everyone, the author included, within the agreed scope, this reservation is left outside the exclusivity in writing in the quote.
Releasing the soundtrack on streaming platforms
It's common to release a game's soundtrack separately, on Steam as a soundtrack DLC, or on Spotify or Bandcamp. Who can do it, and how any income is shared, should not be assumed: it is agreed in writing in the quote.
Content ID and streamers
Content ID is YouTube's system for automatically detecting registered music in videos. Foxi Music's guide points out that music is one of the most common sources of Content ID claims, and that a licence for in-game use doesn't automatically cover a streamer's broadcast.
If you want players to stream and upload videos of your game without claims, say so from the start so the licence covers it.
Composer credit
How the composer is credited (in the game's credits, on the store page, on the soundtrack release) is another point to put in writing. It is also how other studios find the composer's work.
This is not legal advice
This guide explains general concepts and how I work; it is not legal advice. The legal framework cited is Spain's, and the rules differ in other countries. For a specific contract, or if your studio is outside Spain, consult a lawyer.