Terraria Wiki

  • Discussions are now available on the Terraria Wiki.
  • Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.


Terraria Wiki

The Ocean is a biome found at both left and right edges of a world, comprising both the easternmost and westernmost 676 feet (338 blocks) of the map[1][2]. It consists of a sandy beach and a large body of water that extends toward the end of the map, with Shell Piles being occasionally generated in clumps. Palm Trees grow on the surface (since 1.2.4), and can be harvested for Palm Wood. Seashells and Starfish are found commonly on the surface and underwater, and can grow over time. Corals also grow on the seabed.

Enemies in the Ocean include Crabs, Pink Jellyfish and Sharks. Squids and Sea Snails rarely appear underwater, Desktop onlyConsole versionOld-gen console versionMobile version and respectively drop Black Ink and Purple Mucus. Critters in the Ocean include Dolphins, Seagulls, Seahorses and Sea Turtles.

Oceans will commonly contain Water Chests with loot pertaining to water.


Water Chest treasures
Unique Drops
From Shark:
From Shark or Orca:
From Crab or Shark:
From Squid:
From any enemy in Hardmode:
For Sale
Any Happy NPC Shop:

NPC happiness []

Loved byn/a
Disliked by
Hated byn/a

For more information, see NPC happiness.


  • Like other enemies with Swimming and Jellyfish AIs, Ocean enemies will only detect and swim toward the player if they are in the water to a depth of at least one tile.
  • If the Ocean has enough "dry" sand, surface Desert enemies may spawn, but the area near the water will not start growing desert plants.
  • Hardmode Corruption/Crimson or Hallow can convert all the sand into Ebonsand/Crimsand or Pearlsand, effectively converting the Ocean into a Corrupted/Crimson or Hallowed Desert biome.
  • Unlike other biomes, the water in the Ocean does not turn red during a Blood Moon. However, after The Labor of Love update, the water in the ocean will turn red during a blood moon.
  • Although the Ocean appears to reach the edge of the world, 3rd party map viewers will show that it actually extends for several blocks more. The Corruption/Crimson or Hallow can spread to the sand via these unseen extra blocks at the sea bed.
  • Sometimes, the sea bed can generate below the surface layer, causing a bit of the underground's background to appear and seaweed to grow on sand.
  • It is not possible to expand the Ocean biome further inland than its natural size.
  • On the PC version PC, Console version Console, Mobile version Mobile, Old Chinese version Old Chinese, tModLoader version tModLoader, and tModLoader 1 tModLoader Legacy versions, the Ocean Day music track will play no matter what time it is, and on the Old-gen console version Old-gen console, Windows Phone version Windows Phone, and 3DSNintendo 3DS version versions, the Ocean Night music track will play no matter what time it is.

Generation variants[]

Ocean cave []

Ocean Cave map view

Map view of an Ocean cave on the left side of the world.

Oceans have a 25*1/4 (25%) chance of generating with a cave, which consists of a water-filled tunnel with a ceiling made of hardened sand beginning at the ocean floor. This tunnel has an additional chance of generating Water Chests, which have equal chances of containing each primary item. It is decorated with long strands of Seaweeds growing from the sand floor.

Florida style []

Florida style ocean map view

Map view of a Florida style ocean (as in the game code) on the right side of a world.

Florida ocean cave

Map view of a Florida style ocean with an ocean cave generated on the left side of the world

The world has a 25*1/4 (25%) chance to generate one of the oceans as Florida style. This variant inverts the slope of the beach, with long beaches becoming steeper near the world edge.


For tips on navigating the Ocean, see Guide:Surviving in the Ocean.
  • Players exploring the Ocean run the risk of drowning if not equipped with the proper accessories. In addition to plenty of healing potions, items and potions that aid breathing, such as the Breathing Reed and Gills Potion, a Magic Mirror for returning home quickly, and Flippers to aid swimming should be brought along. The Grappling Hook or Ivy Whip may also be of some help in returning to the surface for breath. The Neptune's Shell or any of its upgrades removes the need to breathe altogether.
  • Players may drain the Ocean by tunneling down to the Underworld, where water evaporates.
  • Another way of draining the Ocean is by making an air pocket, emptying a Lava Bucket in it and placing a background object (e.g. furniture) in the lava. Allowing water to flow in will cause it to disappear, as the object prevents Obsidian from being generated.
  • When attempting to preserve the Ocean biome from being infected in Hardmode, simply digging a horizontal gap under the seabed is insufficient because world data extends a little past the edge of the world. The gap must be created vertically along the beach of the Ocean to prevent the spread of Corruption/Crimson or Hallow.
  • The Oceans have a lot of space, making them good places for large-scale builds like arenas and farms.
  • While not currently possible to expand the Ocean biome further inland, it is possible to extend the watery area to the inner edge of the naturally spawning beach.




This content is transcluded from Biome backgrounds § Ocean.

Underground layer[]


  • Desktop Ocean enemies can now spawn on biome oceans, this applies to the Sleeping Angler as well.
  • Mobile Added all features and changes from Desktop to


  1. Players cannot come within 41 tiles from the absolute edge of the map. Thus, from a player's perspective, the oceans end roughly 338 tiles (686 feet) from either lateral end, but technically they actually end 380 tiles (760 feet) from either end. Information taken from the PC version PC source code, method BordersMovement() in Terraria.Player.cs. There may be inaccuracies, as the current PC version PC version is
  2. Information taken from the PC version PC source code, method oceanDepths() in Terraria.WorldGen.cs. There may be inaccuracies, as the current PC version PC version is