is considered to be in the public domain if it meets any of the following criteria:
All rights have expired.
The authors have explicitly put a work into the public domain.
There never were copyrights.
If a piece of music does not fall within public domain and is under copyright, then it is unlawful to reproduce, perform, distribute, or create a new version of that music without a proper license under many countries jurisdictions. Under compulsory license laws, some of these actions may in fact be lawful, but the infringing party would then be liable for any royalty the copyright holder may charge for the use of their work.
Background
In the United States, any musical works published in 1924 or earlier, in addition to those voluntarily placed in public domain, exist in the public domain. In most other countries, music generally enters the public domain in a period of fifty to seventy-five years after the composer's death. It is important to note the distinction between "musical works" and "sound recordings", as almost every sound recording is copyrighted until 2022 unless explicitly placed into the public domain by its creators or rights holders, or it is made by an employee or officer of the United States governmentacting in an official capacity. Before the Music Modernization Act, the status of copyright on sound recordings in the United States from before such copyrights were nationalized, in 1972, was somewhat nebulous. The copyrights granted prior to that were considered a state issue and, even if no state law provided for it, some courts established an extra-legal common law copyright, the exact nature of which was inconsistently applied. In the European Union and Canada, sound recordings were copyrighted for fifty years until 2013. On January 1, 2013, the Beatles' single "Love Me Do" entered the public domain. As of November 2013, European sound recordings are now protected for 70 years, which is not retroactive. In 2015, Canada changed the copyright length to 70 years. On February 8, 2016, a court ruled that the children's song "Happy Birthday to You" was in the public domain and Warner/Chappell Music was required to pay $14 million to the song's licensees. In October 2018, president Donald Trump signed the Music Modernization Act, which will bring sound recordings into the public domain either 95 years after they were released or 120 years after they were recorded, whichever comes first. Songs recorded before 1923 will expire on October 11, 2021; recordings made between 1923 and 1946 will be protected for 100 years after release; recordings made between 1947 and 1956 will be protected for 110 years; and all recordings made from 1957 to February 15, 1972 will have their protection terminate on February 15, 2067.
*Mechanical rights — e.g. BIEM members, AR: SADAIC, DE: GEMA, GB: MCPS, US: HFA
**BIEM is the international organisation representing mechanical rights societies. Mechanical rights societies exist in most countries. They license the reproduction of songs. Their members are composers, authors and publishers and their clients are record companies and other users of recorded music. They also license mechanical aspects of the downloading of music via the Internet.