If you’ve spent any time digging through the Underground or Cavern layers in Terraria, you’ve almost certainly stumbled on a locked golden chest taunting you with rare, unobtainable loot. Most new players spend hours searching for a way to open these, only to realize they need a specific item to get past the lock. Learning how to get gold keys in terraria is one of the most useful early-game skills you can pick up, since the items inside those chests can make boss fights, exploration, and resource gathering way easier for the first 20+ hours of your playthrough. I’ve spent dozens of playthroughs testing different ways to farm these keys, and I’ve narrowed down the most reliable methods that work no matter what stage of the game you’re in.
How to Get Gold Keys in Terraria: Early-Game Methods for New Players
If you haven’t defeated the Wall of Flesh yet and are still working through pre-hardmode content, you don’t need fancy gear or complex farms to get gold keys. All of these methods work with basic iron or gold armor, and you can do them while you’re already mining for ore or exploring for heart crystals. The most reliable early-game options include:
- Killing golden slimes, which have a 100% drop rate for gold keys when defeated. They spawn rarely in the Cavern layer, so keep an eye out for their bright yellow glow and don’t let them run away before you land a hit.
- Looting pots in the Cavern and Underground layers, which have a roughly 1/150 chance to drop a gold key when broken. Don’t skip pots even if you’re in a hurry — I’ve gotten 3 keys in a single mining trip just from smashing every pot I see.
- Killing regular cave enemies, which have a 1/200 base drop rate for gold keys. This rate goes up if you use a Battle Potion or Water Candle to increase enemy spawn rates while you mine.
One common mistake new players make is leaving golden chests unopened when they find them early on. Even if you don’t have a key when you first find the chest, mark its location on your map with a gold pin. You’ll save hours of backtracking later when you finally have a key to open it, and you won’t waste time hunting for new chests once you have extra keys to spare.
Build a Simple AFK Gold Key Farm for Pre-Hardmode
If you need multiple keys, like if you’re playing multiplayer and everyone in your group needs to open their own chests, an AFK farm is way more efficient than running around caves for hours. You don’t need any special materials to build one, and you can set it up in 15 minutes or less while you’re already exploring the Cavern layer.
To build the farm, find a flat, open spot in the Cavern layer at least 200 blocks below the surface. Build a 12x12 box out of basic wood or stone blocks, and line the walls with platforms so enemies can spawn inside but can’t reach you if you stand in the center. Place Water Candles on each wall to boost spawn rates, and equip a basic summon weapon like the Slime Staff or Hornet Staff to auto-kill enemies that spawn. You don’t need any hardmode materials to build this farm, and it works even if you only have basic pre-boss gear.
I built one of these farms on my last multiplayer playthrough when all 4 of my friends needed keys to open the chests we found on our first cave dive, and we got 12 keys in less than 30 minutes of AFK farming. It’s way less tedious than running back and forth through caves, especially if you have other tasks to do while you wait for keys to drop.
Hardmode Gold Key Farming Methods for Faster Drops
Once you beat the Wall of Flesh and enter hardmode, you can get gold keys way faster, even if you don’t need them for golden chests anymore. Gold keys still have uses in hardmode for a handful of crafting recipes, and they’re useful to have on hand if you’re exploring new cave systems you didn’t touch in pre-hardmode.
The fastest hardmode method is fishing for golden crates. Use fishing potions and crate potions to increase your chance of catching high-tier crates, and fish in any Cavern layer body of water. Golden crates have a 1/4 chance to contain a gold key, and you’ll also get other useful resources like ore, potions, and rare accessories while you fish. It’s one of the most low-effort ways to farm keys in hardmode, since you can fish while you watch a show or chat with friends.
If you’re already farming for other resources like life fruits or chlorophyte ore in the Cavern layer, you’ll likely collect extra gold keys without even trying. Hardmode enemies spawn at twice the rate of pre-hardmode enemies, so you’ll get far more key drops as a side effect of other farming runs. I never specifically farm for gold keys in hardmode anymore, since I get so many as a side drop when I’m hunting for other items.
Common Mistakes to Avoid When Farming for Gold Keys
Even with the right methods, it’s easy to waste time or lose out on keys if you’re making simple, avoidable mistakes. I’ve made all of these mistakes myself over the years, so keeping these tips in mind will save you a lot of frustration.
The biggest mistake is wasting keys on duplicate or low-value loot. Golden chests have different loot depending on the biome they spawn in, so a chest in the surface-level Underground layer will have far less valuable items than a chest in the Underground Jungle or Corruption/Crimson Caverns. If you only have one key and find a basic chest near the surface with a weapon you already own, save the key for a rarer chest in a more dangerous biome. You’ll get way more value out of it that way.
Another common mistake is lighting up your entire farm area too much. While you want enough light to prevent dangerous boss spawns, too much light will lower enemy spawn rates drastically, making your farm way less efficient. Leave small dark spots around the edges of your farm to encourage more enemies to spawn, and only light the center area where you stand to stay safe.
Don’t ignore golden slimes just because you’re busy mining or fighting another enemy. Golden slimes run away extremely fast and will despawn if you get too far away, so drop what you’re doing and chase them down as soon as you see their bright yellow glow. I’ve lost at least 10 gold keys over the years because I was too focused on mining a rare ore to chase a golden slime before it disappeared.
At the end of the day, you don’t need complex strategies or endgame gear to get your hands on these useful items. Whether you’re a brand new player just exploring your first cave system or a late-game player farming for extra keys for your friends, there’s a method that fits your playstyle and current progress. Taking the time to learn how to get gold keys in terraria will save you hours of frustration and help you unlock some of the most fun and powerful pre-hardmode items in the game, so you can progress faster and have more fun along the way. Next time you see a locked golden chest taunting you in the caves, you’ll know exactly how to get the key to open it.