Stardew Valley

Cheats & codes

Stardew Valley Cheat Codes

Grouped by type and platform, each one labelled reported working or tested.

There are 91 cheat codes for Stardew Valley across Linux, Mac and PC (Microsoft Windows). Each code below lists the exact button combination or console command, what it does, and whether using it disables achievements.

Verified

Cheat codes

6

In-game chat: Million gold

Instantly adds one million gold via the in-game chat box

Same setup: enable allowChatCheats in the save file, press T in-game and type the command

PC Reported working
Did this work for you?

Back up your save first

In-game chat: Money

Adds the specified gold amount via the in-game chat box

Edit your save file (%appdata%/StardewValley/Saves, open save in Notepad), set allowChatCheats from false to true, relaunch, press T and type the command; added in update 1.6.9

PC Reported working
Did this work for you?

Back up your save first; editing the save can corrupt it

In-game chat: Teleport home

Teleports your character home via the in-game chat box

Same setup: enable allowChatCheats in the save file, press T in-game and type the command

PC Reported working
Did this work for you?

Back up your save first

Item ID name trick

Naming your character, farm, child, or animal with internal object IDs in brackets spawns those items (here: Iridium Sprinkler, Ancient Seeds, Legend) whenever an NPC says the name

Enter the bracketed IDs as part of any name field at character creation or when buying/naming an animal

PC Reported working
Did this work for you?

PC/mobile only; partially patched in recent versions - unreliable for character names in 1.6.9 but still works reliably via animal/farm names

Spawn items by naming an animal

The same trick works on an animal name, which is easier to live with than a farmer name.

Name a barn or coop animal with the id in square brackets.

PC Reported working
Did this work for you?

Spawn items by naming your character

Naming your farmer with an item id in square brackets makes the game spawn that item whenever the name is spoken.

Enter the name at character creation. It cannot be changed later.

PC Reported working
Did this work for you?

The name is permanent and appears throughout the game. Most players use a mod instead.

Console commands

82

Add Quest by Name (Linux)

Adds a quest, e.g. the 'aliansDeny' alien-denial quest line (a quest ID is required)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Add Quest by Name (Mac)

Adds a quest, e.g. the 'aliansDeny' alien-denial quest line (a quest ID is required)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Add Quest by Name (PC)

Adds a quest, e.g. the 'aliansDeny' alien-denial quest line (a quest ID is required)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Beat Junimo Kart (Linux)

Marks Junimo Kart as beaten

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Beat Junimo Kart (Mac)

Marks Junimo Kart as beaten

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Beat Junimo Kart (PC)

Marks Junimo Kart as beaten

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Change Weather to Lightning (Linux)

Changes the weather to lightning/storm

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Change Weather to Lightning (Mac)

Changes the weather to lightning/storm

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Change Weather to Lightning (PC)

Changes the weather to lightning/storm

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

JojaMart Trash Can Event (Linux)

Places the player into a trash can on the specified date

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

JojaMart Trash Can Event (Mac)

Places the player into a trash can on the specified date

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

JojaMart Trash Can Event (PC)

Places the player into a trash can on the specified date

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

List Active Quests (Linux)

Lists all active (tracked) quests

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

List Active Quests (Mac)

Lists all active (tracked) quests

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

List Active Quests (PC)

Lists all active (tracked) quests

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

List Content Packs (Linux)

Reposts the current list of installed content packs to the log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

List Content Packs (Mac)

Reposts the current list of installed content packs to the log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

List Content Packs (PC)

Reposts the current list of installed content packs to the log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Localised Time (Linux)

Shows a localised version of the current game time using the player's system clock and culture settings

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Localised Time (Mac)

Shows a localised version of the current game time using the player's system clock and culture settings

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Localised Time (PC)

Shows a localised version of the current game time using the player's system clock and culture settings

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Milky Way Galaxy Event (Linux)

Starts the Milky Way Galaxy event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Milky Way Galaxy Event (Mac)

Starts the Milky Way Galaxy event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Milky Way Galaxy Event (PC)

Starts the Milky Way Galaxy event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Money Forwards (Linux)

Forwards earned money to a co-op farmhand (or the farm account) instead of your own purse; type twice to turn off

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Money Forwards (Mac)

Forwards earned money to a co-op farmhand (or the farm account) instead of your own purse; type twice to turn off

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Money Forwards (PC)

Forwards earned money to a co-op farmhand (or the farm account) instead of your own purse; type twice to turn off

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Mute Music (Linux)

Mutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Mute Music (Mac)

Mutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Mute Music (PC)

Mutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Open Delta Menu (Linux)

Opens the delta menu

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Open Delta Menu (Mac)

Opens the delta menu

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Open Delta Menu (PC)

Opens the delta menu

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Perform Check Action (Linux)

Makes the player perform a check action

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Perform Check Action (Mac)

Makes the player perform a check action

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Perform Check Action (PC)

Makes the player perform a check action

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Play Music Track (Linux)

Plays the selected music track

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Play Music Track (Mac)

Plays the selected music track

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Play Music Track (PC)

Plays the selected music track

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Play Sound Effect (Linux)

Plays the selected sound effect

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Play Sound Effect (Mac)

Plays the selected sound effect

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Play Sound Effect (PC)

Plays the selected sound effect

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Set Max Money Cap (Linux)

Sets your maximum possible money (wallet cap)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Set Max Money Cap (Mac)

Sets your maximum possible money (wallet cap)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Set Max Money Cap (PC)

Sets your maximum possible money (wallet cap)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Set Tomorrow's Weather to Rain (Linux)

Forces tomorrow's weather to rain

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Set Tomorrow's Weather to Rain (Mac)

Forces tomorrow's weather to rain

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Set Tomorrow's Weather to Rain (PC)

Forces tomorrow's weather to rain

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Show Dance Partner Stats (Linux)

Prints all dance partner information to the console log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Show Dance Partner Stats (Mac)

Prints all dance partner information to the console log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Show Dance Partner Stats (PC)

Prints all dance partner information to the console log

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Skip Current Event (Linux)

Skips the current event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Skip Current Event (Mac)

Skips the current event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Skip Current Event (PC)

Skips the current event

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

SMAPI debug: Hard-mode Skull Cavern

Debug command (alias scd) that sets Skull Cavern difficulty; 1 = hard mode outside the Skull Cavern Invasion quest

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI debug: Set time

Debug command that sets the current time (2040 = 8:40pm)

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed; wiki warns debug commands are not meant for general use and can break saves

SMAPI: Change day of month

Sets the current day of the month (stays in current season)

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Change season

Sets the season to spring, summer, fall, or winter

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Freeze time

Freezes the in-game clock (0 resumes; omit the argument to toggle)

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Set gold

Sets your total money to the given gold amount

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Set time of day

Sets the time to the given value (0600 = 6am to 2600 = 2am); e.g. 1430 = 2:30pm

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Set year

Sets the current year number

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

SMAPI: Spawn item by name

Adds the named item to your inventory (works with any item name; optional count and quality args)

Install the SMAPI mod loader, launch the game through it, and type the command into the SMAPI console window

PC Reported working
Did this work for you?

Requires SMAPI installed; wiki warns console commands can have permanent side-effects on your save

SMAPI: Warp to mine level

Warps you to the given mine level (1-120 regular mines; 121+ Skull Cavern)

Type into the SMAPI console window while the game is running

PC Reported working
Did this work for you?

Requires SMAPI installed

Stop All Sounds (Linux)

Stops all currently playing sounds

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Stop All Sounds (Mac)

Stops all currently playing sounds

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Stop All Sounds (PC)

Stops all currently playing sounds

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Unlock Cooking Channel (Linux)

Unlocks the Queen of Sauce cooking channel on the TV

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Unlock Cooking Channel (Mac)

Unlocks the Queen of Sauce cooking channel on the TV

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Unlock Cooking Channel (PC)

Unlocks the Queen of Sauce cooking channel on the TV

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Unmute Music (Linux)

Unmutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Unmute Music (Mac)

Unmutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Unmute Music (PC)

Unmutes the background music

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Warp to Beach (Linux)

Warps the player to the beach

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Warp to Beach (Mac)

Warps the player to the beach

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Warp to Beach (PC)

Warps the player to the beach

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Warp to Beach Night Market (Linux)

Warps to the beach Night Market area

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Warp to Beach Night Market (Mac)

Warps to the beach Night Market area

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Warp to Beach Night Market (PC)

Warps to the beach Night Market area

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Warp to Boat (Ginger Island) (Linux)

Warps the player to the boat on Ginger Island (used during the island unlock process)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Linux Reported working
Did this work for you?

Warp to Boat (Ginger Island) (Mac)

Warps the player to the boat on Ginger Island (used during the island unlock process)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

Mac Reported working
Did this work for you?

Warp to Boat (Ginger Island) (PC)

Warps the player to the boat on Ginger Island (used during the island unlock process)

Requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter

PC Reported working
Did this work for you?

Unlockables

1

Galaxy Sword from desert pillars

Stand between the three pillars in the Calico Desert while holding a single Prismatic Shard to transform it into the Galaxy Sword (the dwarvish tombstone in the graveyard hints at this)

Reach the Desert via the bus (Vault bundles repaired), hold exactly one Prismatic Shard, step into the center of the pillars

PC Reported working
Did this work for you?

Make sure only ONE shard is held - a whole stack will be consumed

Glitches & exploits

1

Prismatic Shard From Animal Name Code

Naming a purchased animal '[74]' makes a Prismatic Shard appear in your inventory when Marnie finishes the animal purchase; the trick was disabled for some item IDs in later updates

Buy an animal from Marnie and name it [74]

PC Reported working
Did this work for you?

Secrets

1

Favorite thing: ConcernedApe

Entering ConcernedApe as your "favorite thing" at character creation adds bonus dialogue when you consume a Stardrop; entering anything containing "Stardew" gives the extra line "You feel an unwavering connection to the valley itself."

Type it in the "Favorite Thing" field on the character creation screen

PC Reported working
Did this work for you?

Harmless cosmetic secret, no gameplay effect

A code stopped working after a patch? Tell us and we will retest it. Know one we are missing? Submit it here. What the tested badge means, and which codes carry it.

Tools for Stardew Valley cheats

Quick answers

About Stardew Valley cheats

How many cheats does Stardew Valley have?
This page lists 91 for Stardew Valley: 6 cheat codes, 82 console commands, 1 unlockable, 1 glitch and 1 secret.
How do you enter cheats in Stardew Valley?
On PC: requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter. On Linux: requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter. On Mac: requires the Stardew Modding API (SMAPI) debug console; press T (single-player) or / (multiplayer), type the command and press Enter. A few codes use a different method, shown beside each one.
Do cheats disable achievements in Stardew Valley?
None of the 91 codes here carries an achievement or trophy warning in our notes. That is not a guarantee, so keep a separate save if achievements matter to you.
Which platforms are these Stardew Valley cheats for?
The codes on this page are listed for PC (43 codes), Linux (24 codes) and Mac (24 codes). Button codes differ between systems, so use the ones listed for yours.
Are these Stardew Valley cheats still working?
All 91 are marked "Reported working": each comes from a documented source, and none has been run by us yet. A code we test gets a dated "Tested" badge.