Buried treasure spawns in specific ocean biomes, and you find it with a treasure map from a shipwreck or ocean ruin

Buried treasure in Minecraft Java does not appear randomly across the world — it generates only in ocean biomes, and you cannot dig it up without a treasure map. The map itself is the real find. You get it by looting a shipwreck (a sunken ship structure on the ocean floor) or an ocean ruin (small underwater stone structures). Once you have the map, it shows you an X marking the exact spot where the treasure chest waits, usually buried under sand or gravel on the ocean floor.

The treasure chest itself always contains the same items: a heart of the sea (used to craft a conduit for underwater breathing), some gold ingots, and other valuables. But you have to reach the location the map shows you, dig down to find the chest, and open it yourself — the game does not hand you anything.

Key Takeaways

  • Treasure maps drop from shipwrecks and ocean ruins, which spawn only in ocean biomes; you need the map to know where to dig.
  • The map marks an X on the ocean floor, usually under sand or gravel; you must swim down and excavate to reach the chest.
  • Shipwrecks are easier to spot than ocean ruins because they are larger structures; both are found by exploring coastlines and deep ocean.
  • Bring a shovel, a pickaxe, and blocks to build your way back up, because you will be underwater and need to manage air.
  • The heart of the sea from the chest is the most valuable item — it lets you craft a conduit that gives you underwater breathing and night vision.

Finding a shipwreck to get your first map

Shipwrecks are the easiest source of a treasure map because they are large structures made of wood and are visible from above water. Sail or swim along a coastline or across open ocean and look for a tilted wooden ship half-buried in sand or gravel on the seafloor. You do not need to go far — shipwrecks spawn in all ocean biomes, including shallow ones near land.

When you find one, swim down and enter the structure. Loot the chests inside — there are usually two or three. One of them will contain a treasure map (though not every shipwreck has one, so you may need to check several). The map is a paper item with an X drawn on it and a small preview of the terrain around the treasure location.

Shipwrecks often contain other useful items too: food, iron ingots, and sometimes a compass. Take what you find, then open your map to see where the X points.

Using the treasure map to navigate to the chest

When you open the treasure map in your inventory, it shows a zoomed-in view of a small area with an X marking the treasure spot. The map does not show your current location — you have to navigate by comparing the terrain on the map to the terrain around you. Look for distinctive features like islands, shallow reefs, or sand formations that match what the map shows.

Swim or sail toward the X. The map does not update as you move, so you may need to open it several times and adjust your direction. Once you are close, the X should be directly below you on the ocean floor. Mark the spot with a block or a torch so you do not lose it.

If the terrain does not match what you expected, you may have spawned on a different ocean or the map may be pointing to a location far from where you are. In that case, keep exploring — there are many treasure locations in a world, and you can always find another map.

Digging down safely to reach the buried chest

Once you are above the X, you need to dig down through sand, gravel, or stone to reach the chest. Bring a shovel for sand and gravel (it is much faster than a pickaxe) and a pickaxe for stone. Start digging straight down, but leave blocks beneath you so you can climb back up — do not dig out the block you are standing on.

The chest is usually 5 to 15 blocks below the surface, depending on the ocean floor terrain. As you dig, watch your air bar — you are underwater, and it drains quickly. If you feel rushed, stop and swim to the surface to breathe, then come back down. Alternatively, bring a bucket of water and place it above your head as you dig; the water will let you breathe as long as the bucket is there.

When you reach the chest, open it and take the heart of the sea and any other items inside. Then build your way back up using the blocks you left, or swim straight up if you have enough air.

What to bring before you search for treasure

Pack these items before you leave to hunt for a shipwreck or dig for treasure. A shovel (wood or better) digs sand and gravel fast. A pickaxe (stone or better) breaks stone if you hit bedrock or stone layers. A sword helps if you run into drowned zombies near shipwrecks. A stack of blocks (dirt, wood, or stone) lets you build your way back up from underwater. A bucket holds water or lava and can save your life if you get trapped. A torch lights dark areas and marks your path.

Food is essential — bring at least a stack of cooked fish or meat so you can heal if you take damage. A bed is optional but useful; if you die, you can respawn at the bed instead of far away. Finally, bring a map or compass so you can find your way home after you finish.

Ocean ruins as an alternative source of maps

Ocean ruins are smaller structures than shipwrecks — they look like piles of stone bricks and dark oak wood on the ocean floor. They are harder to spot because they blend into the seafloor, but they also contain treasure maps in their chests. If you have explored many shipwrecks and not found a map, ocean ruins are worth checking.

Ocean ruins spawn in all ocean biomes and sometimes in groups. Swim down, open the chests, and look for a map. Like shipwrecks, not every ruin has one, so you may need to loot several. The advantage is that ruins are often closer together than shipwrecks, so you can check multiple ones in one trip.

What to do if you lose your map or the treasure location

If you die and drop your map, or if you forget where the X was pointing, you have two options. First, you can retrace your steps — if you remember roughly where you were, you can swim back to that area and look for landmarks that match the map. Second, you can find another map by looting more shipwrecks or ocean ruins. There is no penalty for getting a second map; the world has many treasure locations, and you can hunt as many as you want.

If you want to mark a treasure location permanently, place a block or a torch at the surface above the chest, or build a small pillar so you can see it from far away. This way, you can come back later with better tools or more inventory space.

Frequently Asked Questions

Can I find buried treasure without a map?

No. Buried treasure chests only appear at the locations marked on treasure maps. You cannot dig randomly on the ocean floor and find them. You must loot a shipwreck or ocean ruin to get a map first.

What is the heart of the sea used for?

The heart of the sea is a crafting ingredient for a conduit, which is a block that gives you underwater breathing, night vision, and haste when you are in water near it. It is the most valuable item in the treasure chest and worth the effort to retrieve.

Do I need a boat to find shipwrecks?

A boat makes travel faster and easier, but you can swim instead. If you swim, bring food to heal and watch your hunger bar. A boat lets you move quickly across open ocean without losing hunger, so it is worth crafting before you search.

What happens if the treasure map points to land instead of ocean?

Some maps point to locations on beaches or shallow water near land. Dig down the same way you would underwater — the chest is still buried under sand or gravel. You will not need to manage air if you are on land, which makes the dig easier.

Can I use the same treasure map twice?

No. Once you open a treasure chest, it stays open and empty. You cannot loot it again. However, you can find new maps and hunt for different treasure locations across your world.