Music

Terraria has over eighty music tracks across every version of the game. Each one will play and loop endlessly while the player is in a specific biome or while certain events are taking place. Music is individual to each player, and as such its volume can be lowered or disabled entirely within the settings menu.

The majority of music in Terraria was composed by Scott Lloyd Shelly of Resonance Array.

In the, it is possible to record and play these songs in-game using the Music Box accessory.

In the, each music track can be replaced with a custom MP3 file through the use of resource packs.

Soundtrack
The soundtracks can be listened to and purchased from Steam as a single soundtrack. The first three volumes can be purchased from Bandcamp individually. The first two volumes are also included when the game is bought on GOG.com. Tracks are listed in the order they appear on the soundtrack.

Volume 1
Volume 1 was released on November 1, 2011.

Volume 2
Volume 2 was released on September 28, 2013.

Volume 3
Volume 3 was released on October 7, 2015.

The "Lunar Towers" theme is a copy of the previous album's "Lunar Boss" theme.

Volume 4
Volume 4 was released on Steam on October 13, 2020.

Mobile 1.2 soundtracks
The console soundtrack features a mix of the desktop soundtrack and several additional tracks which are listed below. Although Blake Robinson was commissioned to create the music for the trailers, the in-game music was created by Scott Lloyd Shelly.
 * Title
 * Tutorial
 * Desert
 * Snow
 * Ocean
 * Space
 * Boss 4

Desktop version 1.2 adopted the console version's "Desert" track as is, but introduced its own "Snow" and "Boss 4" themes, using the console tracks instead respectively as "Ice" and "Boss 5". When the console version caught up with version desktop 1.2, it kept its own original "Snow" and "Boss 4" themes as they were, instead swapping the desktop's tracks to the Ice and Boss 5 slots.

Otherworldly Tracks
The soundtrack originally written for the cancelled game Terraria: Otherworld was added to Terraria with the Journey's End update. It features 27 themes. In-game, the Party Girl NPC can be used to switch between normal music and "otherworldy" music after a world with the 05162020 world seed has been visited for the first time. Tracks follow the same naming convention as Terraria's, resulting in some duplicated names (music boxes for these songs disambiguate by being called "Otherworldly Music Box" instead of just "Music Box"), but there are less songs in total: for example there are only two "generic" boss music and a single track for all invasion events. Interestingly, the Wall of Flesh gets a unique theme with this soundtrack, instead of sharing the Boss 2 theme with The Twins. Plantera, the Moon Lord, and the Lunar Events also get unique tracks, as in the regular soundtrack. Most pre-hardmode bosses get the Boss 1 theme; all other hardmode bosses get the Boss 2 theme.

The Terraria: Otherworld soundtrack was released on Steam on June 17, 2020. It was composed by Jeff Broadbent, Jonathan van den Wijngaarden, and James Hannigan, also featuring Jeff Ball on violin, Tina Guo on cello, and Frank Klepacki on guitar. The album version features 26 songs, one fewer than the 27 in-game tracks. The album songs also differ from the in-game songs by being much longer and holding various instrumental enhancements.


 * Wall of Flesh

In-game tracks
The following lists the songs as they are ordered internally for the game.