Zelda: Ocarina of Time (Switch 2) Guide: How to Win the Treasure Chest Shop Game Every Time and Get the Piece of Heart

Open exclusively after nightfall in Hyrule Castle Town Market, the Treasure Chest Shop (also known as the Treasure Chest Contest) remains one of the most punishing mini-games in The Legend of Zelda: Ocarina of Time on Nintendo Switch 2. While entry only costs 10 Rupees, blindly guessing which chest holds the key across five consecutive rooms comes down to brutal mathematical odds. Here is the foolproof method to clear every room without losing a single Rupee and claim the Piece of Heart on your very first run.
1. Treasure Chest Shop Location, Night Hours, and True Odds
The Treasure Chest Shop is located in the southwest corner of Hyrule Castle Town Market, right next to the Back Alley entrance. Its front door remains locked throughout the day and only opens at night between 6:00 PM and 6:00 AM while playing as Young Link. Since you already need to explore the Market after dark for this mini-game, it pairs naturally with our guide to finding Richard the dog at night in Hyrule Castle Town Market for a Piece of Heart just a few steps away.
The rules designed by Nintendo rely on a pure 50/50 random roll inside each of the first five rooms. Paying 10 Rupees to the bald shopkeeper behind the counter grants you an initial Small Key to unlock Room 1. Inside each room sit two purple-and-red chests: one contains the Small Key required to unlock the door to the next chamber, while the other holds a consolation Rupee that immediately ends your attempt and sends you back to the entrance.
Despite decades of playground rumors, there is no fixed pattern such as "left, right, left", as chest contents are randomized every single time you pay to enter. Without the proper item, guessing all five keys in a row carries an exact probability of 1 in 32, or just 3.125%.

2. Mandatory Prerequisite: Getting the Lens of Truth in the Bottom of the Well
To turn that 3.125% gamble into a guaranteed 100% victory, hold onto your Rupees during the early hours of the story and wait until you obtain the Lens of Truth alongside the Magic Meter (granted by the Great Fairy of Magic atop Death Mountain Trail).
Unlocking the Lens of Truth requires a time-travel loop in Kakariko Village: once you become Adult Link and clear the Forest Temple, step inside the Kakariko Windmill and pull out the Ocarina in front of the angry music box player to learn the Song of Storms. Next, return to the Temple of Time and place the Master Sword back into its pedestal, using the same time-travel mechanic covered in our guide to the Business Scrub secret password and Piece of Heart near the Castle Town moat. Back in the past as Young Link, play the Song of Storms inside the windmill to drain the Bottom of the Well mini-dungeon, lower the interior water level with Zelda's Lullaby, and defeat the Dead Hand mini-boss to claim the Lens of Truth.
3. Step-by-Step Walkthrough (Switch 2, PS5, Xbox, and PC Controls)
Once Young Link has both the Lens of Truth and a green Magic Meter, follow these exact steps to clear all six rooms of the Treasure Chest Shop on your first try (with button prompts for Nintendo Switch 2 as well as PS5, Xbox Series X|S, and PC controllers):
- Advance time to night outside the shop: Travel to Hyrule Castle Town Market as Young Link. If you arrive during the day, pull out the Ocarina (D-Pad Left on Switch 2, PS5, and Xbox / dedicated key on PC) and play the Sun's Song (
Right,Down,Up,Right,Down,Up) to skip straight to 6:00 PM and unlock the lit entrance. - Pay 10 Rupees to the shopkeeper (and trigger his secret dialogue): Walk up to the counter and press A (Switch 2) / Cross (PS5) / A (Xbox) / E (PC) to pay 10 Rupees and receive your first Small Key. Because the Switch 2 remake physically renders the purple Sheikah glasses on Link's face when active, speaking to the Treasure-Chest Shopkeeper with the Lens of Truth turned on triggers a cheeky line of dialogue: "Hey... You're not cheating, are you?" Thankfully, you will not get disqualified for using it.
- Inspect both chests in Rooms 1 through 5 with the Lens of Truth: Unlock the first door and step into Room 1. Before approaching either chest, press D-Pad Up (Switch 2, PS5, and Xbox) or your assigned item key (PC) to activate the Lens of Truth. The purple Sheikah eye immediately turns both wooden chests transparent, revealing the trap Rupee on one side and the floating Small Key on the other.
- Toggle the Lens off right after checking each room: As soon as you spot the chest holding the Small Key, press D-Pad Up again to deactivate the Lens of Truth before opening the chest with A (Switch 2) / Cross (PS5) / A (Xbox) / E (PC). Repeat this quick toggle across Rooms 1, 2, 3, 4, and 5 to conserve your Magic Meter.
- Open the center chest in Room 6 to claim the Piece of Heart: Using the fifth Small Key opens the final red-carpeted chamber. Step onto the raised platform and open the single large chest in the center to collect your Piece of Heart.


4. Full Breakdown of All 6 Rooms, Odds, and Rewards
Here is the complete breakdown of chest contents across all six rooms, the cumulative odds of reaching each stage without the Lens of Truth, and the rewards in The Legend of Zelda: Ocarina of Time on Nintendo Switch 2:

| Room | Chests Available | Winning Chest (Advances) | Losing Chest (Ends Game) | Cumulative Odds (No Lens) |
|---|---|---|---|---|
| Room 1 | 2 Chests | Small Key #2 | Green Rupee (1 Rupee) | 50% (1 in 2) |
| Room 2 | 2 Chests | Small Key #3 | Green Rupee (1 Rupee) | 25% (1 in 4) |
| Room 3 | 2 Chests | Small Key #4 | Blue Rupee (5 Rupees) | 12.5% (1 in 8) |
| Room 4 | 2 Chests | Small Key #5 | Blue Rupee (5 Rupees) | 6.25% (1 in 16) |
| Room 5 | 2 Chests | Small Key #6 | Red Rupee (20 Rupees) | 3.125% (1 in 32) |
| Room 6 (Final) | 1 Center Chest | Piece of Heart (1st Win) Then 20 Rupees (Repeat Runs) | No Trap | 100% with the Lens of Truth |
5. Optimization Tips and Common Mistakes to Avoid
Keep these three practical rules in mind to avoid wasting time or running out of magic inside the Treasure Chest Shop:
- Do not leave the Lens of Truth active during chest and door animations: Leaving the Lens turned on while Link opens chests and unlocks doors will steadily drain your green Magic Meter. Flashing the Lens for a single second with D-Pad Up as you enter each room uses less than a tenth of your starting magic bar across all five rooms.
- Adult Link cannot enter the shop: Seven years in the future, Hyrule Castle Town Market lies in ruins. If you skipped this Piece of Heart before pulling the Master Sword, simply return the blade to its pedestal in the Temple of Time after clearing the Forest Temple to travel back to Young Link's era.
- Repeat wins only net 10 Rupees per night: Once you claim the Piece of Heart, the shop closes for the remainder of the night. Returning on subsequent nights replaces the final prize with a Red Rupee worth 20 Rupees, meaning you only make a 10-Rupee profit after paying the 10-Rupee entry fee. Breaking the pots inside the Guard House by the Market entrance is a much faster way to farm Rupees.
My Take
I have always loved how the Treasure Chest Shop works as a classic early-game bait for impatient players. At just 10 Rupees per entry, it is tempting to keep throwing money at the shopkeeper on your first night in Castle Town, not realizing that a 3.125% roll can wipe out a 99-Rupee wallet in ten minutes flat. Having the Lens of Truth mapped directly to D-Pad Up on Switch 2, and seeing Link actually wear the purple glasses while the shopkeeper side-eyes you at the counter, makes coming back after the Bottom of the Well one of the most satisfying payoffs in Hyrule.
Zelda Ocarina of Time
Explore official trailers, technical specs and all latest coverage for Zelda Ocarina of Time.
















