Locking items in Terraria is a simple but essential feature that prevents you from accidentally dropping, trashing, or quick-stacking important gear and materials. When an item is locked, it stays in its inventory slot no matter how many times you press the quick stack button or try to move it. This guide shows you exactly how to lock items on PC, console, and mobile, and what to do if locking isn’t working.
What You’ll Need
- A character with an inventory (any stage of the game).
- Access to the inventory screen (press Esc on PC, Start/Options on console, or the inventory button on mobile).
- No special items or tools required—locking is a built-in feature.
Step-by-Step
- Open your inventory. Press the inventory key (default Esc on PC, Back/Select on Xbox, Options on PlayStation, or the backpack icon on mobile).
- Locate the item you want to lock. Hover your cursor over the item in your inventory or hotbar.
- Lock the item.
- PC (Mouse & Keyboard): Right-click the item while holding Alt. You’ll see a small lock icon appear on the item’s slot.
- PC (Gamepad): Highlight the item and press the Right Stick (click it in).
- Console (Xbox/PlayStation): Highlight the item and press the Right Stick (click it in).
- Mobile: Tap and hold the item, then select the lock icon from the pop-up menu that appears.
- Verify the lock. A small padlock icon will appear in the corner of the slot. The item is now locked and cannot be quick-stacked, dropped, or trashed.
- Unlock when needed. To unlock, repeat the same action (Alt+Right-click, Right Stick click, or tap and hold on mobile). The padlock icon disappears.
Common Mistakes
- Pressing Alt and left-clicking instead of right-clicking. On PC, the correct combination is Alt + Right-click. Left-click will just pick up the item.
- Using the wrong button on console. Some players press the Left Stick by mistake. It’s the Right Stick click that toggles the lock.
- Expecting locked items to be protected from all inventory operations. Locking only prevents quick-stack, drop, and trash. You can still move the item manually by dragging it.
- Locking the wrong slot. Make sure you highlight the exact item you want to lock, especially when your inventory is full.
Tips
- Lock your most valuable items—like a rare weapon, a stack of platinum coins, or your favorite accessory—so you never accidentally lose them during a boss fight or inventory cleanup.
- Use locking to keep your hotbar organized. Lock your main weapon and healing potions so quick-stack doesn’t move them to a chest.
- Lock items before entering a chest menu. This prevents accidental quick-stack from your inventory to the chest.
- Remember that locked items still take up inventory space. Locking doesn’t increase capacity; it just protects the item.
- On PC, you can also lock items from the equipment menu (accessory slots) using the same Alt+Right-click method.
Troubleshooting
- Lock icon doesn’t appear. Make sure you’re using the correct button combination for your platform. If on PC, check that your keyboard isn’t remapped—go to Settings > Controls to see the current keybind for “Lock/Unlock Item.”
- Item still quick-stacks even when locked. This can happen if you’re using an older version of the game. Locking was introduced in the 1.4.0.1 update (Journey’s End). If you’re on an older version, update the game.
- Locked item is still dropped when you die. Locking does not prevent item loss on death in normal mode. It only prevents manual dropping/trashing. If you want to keep items on death, use a Piggy Bank or Safe.
- Can’t lock items on mobile. The tap-and-hold method may be finicky. Try tapping the item and then tapping the lock icon that appears in the context menu. If that fails, ensure your game is updated.
- Locked items are still moved by the “Sort Inventory” button. Sorting rearranges your inventory regardless of locks. If you want to keep items in place, avoid using sort, or manually reorder after sorting.
Frequently Asked Questions
- Can I lock items in the piggy bank or safe? Yes, you can lock items in any storage container the same way you lock them in your inventory. The lock icon will appear on the item’s slot in the chest UI.
- Does locking prevent me from selling items? No, locking does not prevent selling. You can still sell a locked item to a vendor. If you want to keep it, don’t sell it.
- Can I lock a stack of items partially? No, locking applies to the entire stack in that slot. You cannot lock individual items within a stack.
- What happens if I try to quick-stack a locked item? The locked item will stay in your inventory. Quick-stack will only move unlocked items that match the chest’s contents.
- Is there a way to lock all items at once? No, you must lock each item individually. There is no “lock all” button.
- Does locking work in multiplayer? Yes, locking works the same in single-player and multiplayer. Other players cannot unlock your items, but they also cannot move them if you’re in a co-op world where inventory editing is allowed.
Locking items is one of those small quality-of-life features that saves you from heartbreak. Once you get used to it, you’ll wonder how you ever played without it. Keep your favorite gear safe, and happy exploring!