Spelunky is © 2008, 2009 Derek Yu and Mossmouth, LLC, and is used under the [Spelunky User License v1.1b](https://spelunky.ai/LICENSE.txt). spelunky.ai is an unofficial fan project, not affiliated with or endorsed by Mossmouth. The game and its assets may not be sold.

Music by George Buzinkai and Jonathan Perry; sound effects made in SFXR. From Spelunky Classic 1.1, © 2008, 2009 Derek Yu and Mossmouth, LLC.

# Gold Bar

From the spelunky.ai wiki: <https://spelunky.ai/wiki/gold-bar>. Verified against the spelunky.ai port [v0.1.10](https://github.com/851-labs/spelunky/releases/tag/v0.1.10) on 27 October 2026.

*For the stack of three, see [Gold Bars](https://spelunky.ai/wiki/gold-bars).*

The Gold Bar is a treasure in Spelunky Classic worth $500 in the Mines, lying in the open on floors and in nooks in every area.

![A single small gold ingot](https://spelunky.ai/wiki/media/60545f62383bb75b/sprites/sGoldBar/frames/0%404x.png)

| Gold Bar |                                                                                                                                                                                                          |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Value    | $500[^1]                                                                                                                                                                                                 |
| Object   | `oGoldBar`                                                                                                                                                                                               |
| Found in | [The Mines](https://spelunky.ai/wiki/mines), [The Jungle](https://spelunky.ai/wiki/jungle), [The Ice Caves](https://spelunky.ai/wiki/ice-caves), [The Temple](https://spelunky.ai/wiki/temple), Tutorial |

Unlike gold in the rock, a Gold Bar lies in the open, where level generation puts it, so the player collects
it by walking over it. It's worth as much as a [Gold Nugget](https://spelunky.ai/wiki/gold-nugget), and half a stack of
[Gold Bars](https://spelunky.ai/wiki/gold-bars).

## Value

A bar's base value is $500, and it's worth a quarter of that more for each area past
the Mines[^2]:

| Area                                                | Value |
| --------------------------------------------------- | ----- |
| [The Mines](https://spelunky.ai/wiki/mines)         | $500  |
| [The Jungle](https://spelunky.ai/wiki/jungle)       | $625  |
| [The Ice Caves](https://spelunky.ai/wiki/ice-caves) | $750  |
| [The Temple](https://spelunky.ai/wiki/temple)       | $875  |

## Locations

Level generation, in every area, gives each block outside a shop with open space above it, away from the
entrance, the exit and a [Golden Idol](https://spelunky.ai/wiki/golden-idol), a roll for what lies on it, once its rolls for a
[Rock](https://spelunky.ai/wiki/rock) (1 in 100) and a [Jar](https://spelunky.ai/wiki/jar) (1 in 40) fail[^3]. A
Gold Bar's chance depends on the spot:

| Spot                                        | Chance                                                                                                                                                                                                        |      |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- |
| A nook one block high with a wall beside it | 1 in 3, once the rolls before it, for a web, the Udjat Eye's locked chest, a [Crate](https://spelunky.ai/wiki/crate)'s 1 in 10, a [Chest](https://spelunky.ai/wiki/chest)'s 1 in 15, a Damsel and bones, fail | [^4] |
| A gap one block wide between two walls      | 1 in 4, once the roll for a web fails                                                                                                                                                                         | [^5] |
| Open floor                                  | 1 in 40, the first roll                                                                                                                                                                                       | [^6] |

On a level with the Udjat Eye's locked chest, level generation then turns one treasure lying in the open,
picked at random, into the chest's key[^7]. The
Tutorial has six[^8], and the level editor's `$` tile is
one[^9].

## Collecting

**Clip: Gold bars collected.** In the Tutorial, the game tells the player to collect the treasure, and he runs along a ledge picking up six gold bars, then a stack of gold bars. ([video](https://spelunky.ai/wiki/media/60545f62383bb75b/clips/gold-bar/tutorial/clip.mp4))

The player collects a bar by touching it while he isn't stunned or dead: it's collectable from the start, and
he takes the treasure nearest him, one a step[^10][^11]. Its value shows under his money and is counted into it
after a short pause[^12]; gold plays the coin sound[^13], and the screen between levels shows each bar collected on
the level[^14].

In the clip, the Tutorial tells the player to collect the treasure, and he runs along a ledge picking up its
six Gold Bars, then a stack of [Gold Bars](https://spelunky.ai/wiki/gold-bars)[^15].

A bar falls and comes to rest like other treasure, moving only while it's on the screen; one that sinks into
lava is destroyed[^16].

## Trivia

- The screen between levels draws a bar with a sprite of its own, a little smaller than the one in the level[^14].

## FAQ

### How much is a Gold Bar worth in Spelunky Classic?

$500 in the Mines, $625 in the Jungle, $750 in the Ice Caves and $875 in the Temple, the same as a [Gold Nugget](https://spelunky.ai/wiki/gold-nugget).

### Where do you find Gold Bars in Spelunky Classic?

Lying on the ground in every area: level generation puts them in nooks one block high, in gaps between two walls and, more rarely, on open floor. The Tutorial has six.

### What's the difference between a Gold Bar and Gold Bars in Spelunky Classic?

A Gold Bar is one ingot, worth $500 in the Mines; [Gold Bars](https://spelunky.ai/wiki/gold-bars) is a stack of them, worth twice as much, $1,000.

## See also

- **Related:** [Gold Bars](https://spelunky.ai/wiki/gold-bars), [Gold Nugget](https://spelunky.ai/wiki/gold-nugget), [Gold Chunk](https://spelunky.ai/wiki/gold-chunk)

## References

[^1]: `objects/oGoldBar/create.gml:6`

[^2]: `objects/oPlayer1/step.gml:1996`

[^3]: `scripts/scrTreasureGen.gml:27-46`

[^4]: `scripts/scrTreasureGen.gml:48-89`

[^5]: `scripts/scrTreasureGen.gml:95-101`

[^6]: `scripts/scrTreasureGen.gml:116-122`

[^7]: `scripts/scrEntityGen.gml:108-141`

[^8]: `rTutorial`, as the room editor placed it

[^9]: `scripts/scrCreateTileObj.gml:253-256`

[^10]: `objects/oGoldBar/create.gml:6-7`

[^11]: `objects/oPlayer1/step.gml:1990-2016`

[^12]: `objects/oPlayer1/step.gml:1953-1971`

[^13]: `objects/oPlayer1/step.gml:2000-2014`

[^14]: `objects/oTransition/alarm_0.gml:53-58`

[^15]: Clip gold-bar/tutorial

[^16]: `objects/oTreasure/step.gml:1-79`

### Source code

- `objects/oGoldBar/create.gml`
- `objects/oTreasure/create.gml`
- `objects/oTreasure/step.gml`
- `objects/oPlayer1/step.gml`
- `scripts/scrTreasureGen.gml`
