Stardew Valley cheats: Best exploits & item codes

Stardew Valley farm ideas can give players lots of fun choices when building their perfect homestead.
Cheats in Stardew Valley can be used to shake up your gameplay experience and they’re particularly handy if you need to obtain resources in the game. Here’s a full rundown of every available cheat and item code you can use in the cozy title.
Farming sims have become massively popular in recent years, largely thanks to the massive success of Stardew Valley. In this adorable life-sim you’re tasked with building a farm up from scratch which includes tending to your crops and animals and creating relationships with members of the community.
There are quite a few limitations players have to manage in the game, however, including keeping a close eye on the time, as well as your energy meter. Thankfully, there are a handful of cheats and item codes you can use in the game to make things much more relaxing.
So, here are all the cheats and item codes you can activate in Stardew Valley.
While we won’t go into mods here, be sure to check out our dedicated Stardew Valley mods page for the ultimate modding experience. Alternatively, be sure to visit our Abigail, Haley, and Alex character guides for details on gifting and more.
Contents

Stardew Valley Switch cheats
Out-of-bounds glitch
The game has clear boundaries in each area that players can’t venture past. That is, however, unless you know this handy trick. If you approach the edge of any given area and start swinging a tool or weapon, you’ll gradually move forwards and out of bounds.
Some of these new areas are relatively useless, like the boundary near your house that just leads to pure darkness. But, that’s not to say it can’t be handy in certain situations.
In particular, using this glitch near water can help you get a better spot for fishing.
Stay up after 2 AM
Stardew Valley gives players a pretty strict bedtime to stick to. If the in-game clock hits 2 AM your character will pass out and be returned home safely, albeit a few Gold lighter than you were before.
But if you’re in the middle of a vital task, this can be extremely irritating, forcing you to pick up where you left off the next day. Luckily, you can stave off the sleep temporarily by opening your Journal once your character starts yawning.
It’s far from ideal, as you will have to keep repeating each time the animation starts, but it can buy some valuable time to finish up before bed.

Gold Spring Onions cheat
Golden Spring Onions are one of Stardew Valley’s most sought-after items, thanks to the extremely useful effects they grant the player. They offer huge health and energy boosts, allowing you to make the most of your limited hours in a day.
To make sure that the only Spring Onions you pick are of the very best quality, you need to make sure that your character’s inventory is stocked to maximum capacity. One of the slots must contain Gold Spring Onions, and there can’t be any other types of Spring Onion to be seen.
Now, you will only be able to collect the best of the best, and you won’t have to worry about Spring Onions of a lower quality sneaking into your pocket.
Extended fishing time
Fishing is a vital part of Stardew Valley, but traveling there and back can take up a huge portion of your time. This means you often have to call it day pretty quickly, so leveling up your skill becomes a real hassle.
However, the Journal is here to save the day once again. So long as you have an active quest, you can pause the in-game clock while your fishing continues uninterrupted.
All you have to do is cast a line, bring up the journal and wait for a bite. This will let you get a week’s worth of fishing done in a single day, which frees up plenty of time for other activities.

Galaxy Sword Stardew Valley cheat
The Galaxy Sword is an extremely rare weapon that most players won’t earn dozens of hours. It is usually obtained by holding a Prismatic Shard between three pillars in the Calico Desert, but the shard is hard to come by.
If you’re looking to bag the sword early, you can by visiting Pierre’s General Store. First of all, buy the catalog from him for 30,000g, then purchase the green wallpaper.
Thanks to a glitch in the code, the green wallpaper is recognized as the same item as a Prismatic Shard. This means when you hold in between the three pillars, it will automatically be replaced by the Galaxy Sword.
Unlimited money glitch
They say money makes the world go round, and Pelican Town is no exception. If you’re looking to breeze through those early stages and go straight to a super-farm, there’s a really easy exploit that can grant players unlimited Gold. This is done by constantly duplicating items so they can be sold over and over again for profit.
Every item in Stardew Valley has a numerical code, and if you put up to three of these codes as your character’s name separated by square brackets you can force these items to appear in your inventory.
This happens any time your character’s name appears in a dialogue box. So, for example, if you set your name to [16][107][154], then a Wild Horseradish, Dinosaur Egg, and a Sea Cucumber would drop straight into your collection.
The fastest way to rack up the money is to choose the codes of the most valuable items and talk to a character like Gus the bartender. He regularly uses the player’s name when speaking to be able to fill your inventory quickly.
Stardew Valley item codes on PC

We’ve listed the codes for every item in the game below, so you can get hold of any item you want with ease. It’s worth noting that this exploit was patched on the console versions, but can still be performed on PC.
Seeds / Starters
- 472 – Parsnip Seeds
- 474 – Cauliflower Seeds
- 475 – Potato Seeds
- 476 – Garlic Seeds
- 477 – Kale Seeds
- 478 – Rhubarb Seeds
- 479 – Melon Seeds
- 480 – Tomato Seeds
- 481 – Blueberry Seeds
- 482 – Pepper Seeds
- 483 – Wheat Seeds
- 484 – Radish Seeds
- 485 – Red Cabbage Seeds
- 486 – Starfruit Seeds
- 487 – Corn Seeds
- 488 – Eggplant Seeds
- 489 – Artichoke Seeds
- 490 – Pumpkin Seeds
- 491 – Bok Choy Seeds
- 492 – Yam Seeds
- 493 – Cranberry Seeds
- 494 – Beet Seeds
- 495 – Spring Seeds
- 496 – Summer Seeds
- 497 – Fall Seeds
- 498 – Winter Seeds
- 499 – Ancient Seeds
- 429 – Jazz Seeds
- 745 – Strawberry Seeds
- 299 – Amaranth Seeds
- 425 – Fairy Seeds
- 431 – Sunflower Seeds
- 453 – Poppy Seeds
- 455 – Spangle Seeds
- 770 – Mixed Seeds
- 802 – Cactus Seeds
- 347 – Rare Seeds
- 427 – Tulip Bulb
- 473 – Bean Starter
- 301 – Grape Starter
- 302 – Hops Starter
- 297 – Grass Starter
Saplings
- 629 – Apricot Sapling
- 628 – Cherry Sapling
- 630 – Orange Sapling
- 631 – Peach Sapling
- 632 – Pomegranate Sapling
- 633 – Apple Sapling
- 309 – Acorn
- 310 – Maple Seed
- 311 – Pine Cone
Foraging
- 16 – Wild Horseradish
- 18 – Daffodil
- 20 – Leek
- 22 – Dandelion
- 399 – Spring Onion
- 257 – Morel
- 404 – Common Mushroom
- 296 – Salmonberry
- 398 – Grape
- 396 – Spice Berry
- 402 – Sweet Pea
- 420 – Red Mushroom
- 259 – Fiddlehead Fern
- 406 – Wild Plum
- 408 – Hazelnut
- 410 – Blackberry
- 281 – Chanterelle
- 422 – Purple Mushroom
- 412 – Winter Root
- 414 – Crystal Fruit
- 416 – Snow Yam
- 418 – Crocus
- 283 – Holly
- 392 – Nautilus Shell
- 393 – Coral
- 397 – Sea Urchin
- 394 – Rainbow Shell
- 372 – Clam
- 718 – Cockle
- 719 – Mussel
- 723 – Oyster
- 152 – Seaweed
- 78 – Cave Carrot
- 90 – Cactus Fruit
- 88 – Coconut
Crops
- 597 – Blue Jazz
- 190 – Cauliflower
- 433 – Coffee Bean
- 248 – Garlic
- 188 – Green Bean
- 250 – Kale
- 24 – Parsnip
- 192 – Potato
- 252 – Rhubarb
- 400 – Strawberry
- 591 – Tulip
- 258 – Blueberry
- 270 – Corn
- 304 – Hops
- 260 – Hot Pepper
- 254 – Melon
- 376 – Poppy
- 264 – Radish
- 266 – Red Cabbage
- 268 – Starfruit
- 593 – Summer Spangle
- 421 – Sunflower
- 256 – Tomato
- 262 – Wheat
- 300 – Amaranth
- 274 – Artichoke
- 284 – Beet
- 278 – Bok Choy
- 282 – Cranberries
- 272 – Eggplant
- 595 – Fairy Rose
- 276 – Pumpkin
- 280 – Yam
- 454 – Ancient Fruit
- 417 – Sweet Gem Berry
- 614 – Tea Leaves
- 434 – Stardrop
- 634 – Apricot
- 635 – Orange
- 636 – Peach
- 637 – Pomegranate
- 638 – Cherry
- 423 – Rice
- 613 – Apple
- 189 – Fiddlehead Risotto
- 194 – Fried Egg
- 195 – Omelet
- 196 – Salad
- 197 – Cheese Cauliflower
- 198 – Baked Fish
- 199 – Parsnip Soup
- 200 – Vegetable Medley
- 201 – Complete Breakfast
- 202 – Fried Calamari
- 203 – Strange Bun
- 204 – Lucky Lunch
- 205 – Fried Mushroom
- 206 – Pizza
- 207 – Bean Hotpot
- 208 – Glazed Yams
- 209 – Carp Surprise
- 210 – Hashbrowns
- 211 – Pancakes
- 212 – Salmon Dinner
- 213 – Fish Taco
- 214 – Crispy Bass
- 215 – Pepper Poppers
- 216 – Bread
- 217 – Bread
- 218 – Tom Kha Soup
- 219 – Trout Soup
- 220 – Chocolate Cake
- 221 – Pink Cake
- 222 – Rhubarb Pie
- 223 – Cookie
- 224 – Spaghetti
- 225 – Fried Eel
- 226 – Spicy Eel
- 227 – Sashimi
- 228 – Maki Roll
- 229 – Tortilla
- 230 – Red Plate
- 231 – Eggplant Parmesan
- 232 – Rice Pudding
- 233 – Ice Cream
- 234 – Blueberry Tart
- 235 – Autumn’s Bounty
- 236 – Pumpkin Soup
- 237 – Super Meal
- 238 – Cranberry Sauce
- 239 – Stuffing
- 240 – Farmer’s Lunch
- 241 – Survival Burger
- 242 – Dish O’ The Sea
- 243 – Miner’s Treat
- 244 – Roots Platter
- 456 – Algae Soup
- 457 – Pale Broth
- 604 – Plum Pudding
- 605 – Artichoke Dip
- 606 – Stir Fry
- 607 – Roasted Hazelnuts
- 608 – Pumpkin Pie
- 609 – Radish Salad
- 610 – Fruit Salad
- 611 – Blackberry Cobbler
- 612 – Cranberry Candy
- 618 – Bruschetta
- 648 – Coleslaw
- 649 – Fiddlehead Risotto
- 650 – Horseradish Beets
- 651 – Poppyseed Muffin
- 652 – Meatloaf
- 653 – Orange Chicken
- 654 – Monte Cristo
- 655 – Bacon Cheeseburger
- 656 – Roast Duck
- 657 – Rabbit au Vin
- 658 – Steak Fajitas
- 659 – Glazed Ham
- 660 – Summer Sausage
- 661 – Sweet and Sour Pork
- 662 – Rabbit Stew
- 663 – Winter Duck
- 664 – Steak with Mushrooms
- 665 – Cowboy Dinner
- 395 – Coffee
- 245 – Sugar
- 246 – Wheat Flour
- 247 – Oil
- 727 – Chowder
- 728 – Fish Stew
- 729 – Escargot
- 730 – Lobster Bisque
- 731 – Maple Bar
- 732 – Crab Cakes
- 733 – Shrimp Cocktail
- 639 – Beef
- 640 – Pork
- 641 – Chicken
- 642 – Duck
- 643 – Rabbit
- 644 – Cheap Meat
- 666 – Bacon
- 617 – Tuna Fish Sandwich
- 619 – Strawberry Milkshake
- 615 – Spice Berry Tea
- 616 – Tea Egg
- 683 – Bread Ball
- 128 – Pufferfish
- 129 – Anchovy
- 130 – Tuna
- 131 – Sardine
- 132 – Bream
- 136 – Largemouth Bass
- 137 – Smallmouth Bass
- 138 – Rainbow Trout
- 139 – Salmon
- 140 – Walleye
- 141 – Perch
- 142 – Carp
- 143 – Catfish
- 144 – Pike
- 145 – Sunfish
- 146 – Red Mullet
- 147 – Herring
- 148 – Eel
- 149 – Octopus
- 150 – Red Snapper
- 151 – Squid
- 153 – Green Algae
- 154 – Sea Cucumber
- 155 – Super Cucumber
- 156 – Ghostfish
- 157 – White Algae
- 158 – Stonefish
- 159 – Crimsonfish
- 160 – Angler
- 161 – Ice Pip
- 162 – Lava Eel
- 163 – Legend
- 164 – Sandfish
- 165 – Scorpion Carp
- 166 – Treasure Chest
- 167 – Joja Cola
- 168 – Trash
- 169 – Driftwood
- 170 – Broken Glasses
- 171 – Broken CD
- 172 – Soggy Newspaper
- 289 – Speed Bobber
- 291 – Specific Bobber
- 798 – Midnight Squid
- 799 – Spook Fish
- 800 – Blobfish
- 691 – Barbed Hook
- 692 – Lead Bobber
- 693 – Treasure Hunter
- 694 – Trap Bobber
- 695 – Cork Bobber
- 698 – Sturgeon
- 699 – Tiger Trout
- 700 – Bullhead
- 701 – Tilapia
- 702 – Chub
- 703 – Magnet
- 704 – Dorado
- 705 – Albacore
- 706 – Shad
- 707 – Lingcod
- 708 – Halibut
- 710 – Crab Pot
- 715 – Lobster
- 716 – Crayfish
- 717 – Crab
- 720 – Shrimp
- 721 – Snail
- 795 – Void Salmon
- 796 – Slimejack
- 774 – Wild Bait
- 775 – Glacierfish
- 685 – Bait
- 686 – Spinner
- 687 – Dressed Spinner
- 722 – Periwinkle
- 734 – Woodskip
- 332 – Pot
- 682 – Mutant Carp
- 176 – Egg
- 174 – Large Egg
- 178 – Hay
- 180 – Egg
- 182 – Large Egg
- 184 – Milk
- 186 – Large Milk
- 424 – Cheese
- 426 – Goat Cheese
- 428 – Cloth
- 430 – Truffle
- 432 – Truffle Oil
- 442 – Duck Egg
- 444 – Duck Feather
- 446 – Rabbit’s Foot
- 305 – Void Egg
- 306 – Mayonnaise
- 307 – Duck Mayonnaise
- 308 – Void Mayonnaise
- 803 – Iridium Milk
- 436 – Goat Milk
- 437 – Red Slime Egg
- 438 – L. Goat Milk
- 439 – Purple Slime Egg
- 440 – Wool
- 413 – Blue Slime Egg
- 680 – Green Slime Egg
- 30 – Lumber
- 709 – Hardwood
- 294 – Twig
- 295 – Twig
- 771 – Fiber
- 0 – Weeds
- 313 – Weeds
- 314 – Weeds
- 315 – Weeds
- 316 – Weeds
- 317 – Weeds
- 318 – Weeds
- 319 – Weeds
- 320 – Weeds
- 321 – Weeds
- 674 – Weeds
- 675 – Weeds
- 676 – Weeds
- 677 – Weeds
- 678 – Weeds
- 679 – Weeds
- 792 – Weeds
- 793 – Weeds
- 794 – Weeds
- 784 – Weeds
- 785 – Weeds
- 786 – Weeds
- 750 – Weeds
- 452 – Weeds
- 388 – Wood
- 390 – Stone
- 751 – Stone
- 760 – Stone
- 450 – Stone
- 762 – Stone
- 764 – Stone
- 765 – Stone
- 668 – Stone
- 670 – Stone
- 290 – Stone
- 75 – Stone
- 76 – Stone
- 77 – Stone
- 2 – Stone
- 4 – Stone
- 343 – Stone
- 92 – Sap
- 330 – Clay
- 60 – Emerald
- 62 – Aquamarine
- 64 – Ruby
- 66 – Amethyst
- 68 – Topaz
- 70 – Jade
- 72 – Diamond
- 74 – Prismatic Shard
- 80 – Quartz
- 86 – Earth Crystal
- 84 – Frozen Tear
- 82 – Fire Quartz
- 562 – Tigerseye
- 564 – Opal
- 565 – Fire Opal
- 538 – Alamite
- 539 – Bixite
- 540 – Baryte
- 541 – Aerinite
- 542 – Calcite
- 543 – Dolomite
- 544 – Esperite
- 545 – Fluorapatite
- 546 – Geminite
- 547 – Helvite
- 548 – Jamborite
- 549 – Jagoite
- 550 – Kyanite
- 551 – Lunarite
- 552 – Malachite
- 553 – Neptunite
- 554 – Lemon Stone
- 555 – Nekoite
- 556 – Orpiment
- 557 – Petrified Slime
- 558 – Thunder Egg
- 559 – Pyrite
- 560 – Ocean Stone
- 561 – Ghost Crystal
- 563 – Jasper
- 566 – Celestine
- 567 – Marble
- 568 – Sandstone
- 569 – Granite
- 570 – Basalt
- 571 – Limestone
- 572 – Soapstone
- 573 – Hematite
- 574 – Mudstone
- 575 – Obsidian
- 576 – Slate
- 577 – Fairy Stone
- 578 – Star Shards
- 535 – Geode
- 536 – Frozen Geode
- 537 – Magma Geode
- 749 – Omni Geode
- 378 – Copper Ore
- 380 – Iron Ore
- 382 – Coal
- 384 – Gold Ore
- 386 – Iridium Ore
- 335 – Iron Bar
- 334 – Copper Bar
- 336 – Gold Bar
- 337 – Iridium Bar
- 338 – Refined Quartz
- 96 – Dwarf Scroll I
- 97 – Dwarf Scroll II
- 98 – Dwarf Scroll III
- 99 – Dwarf Scroll IV
- 326 – Dwarvish Translation Guide
- 94 – Spirit Torch
- 100 – Chipped Amphora
- 103 – Ancient Doll
- 104 – Elvish Jewelry
- 105 – Chewing Stick
- 106 – Ornamental Fan
- 107 – Dinosaur Egg
- 108 – Rare Disc
- 109 – Ancient Sword
- 110 – Rusty Spoon
- 111 – Rusty Spur
- 112 – Rusty Cog
- 113 – Chicken Statue
- 114 – Ancient Seed
- 115 – Prehistoric Tool
- 116 – Dried Starfish
- 117 – Anchor
- 118 – Glass Shards
- 119 – Bone Flute
- 120 – Prehistoric Handaxe
- 121 – Dwarvish Helm
- 122 – Dwarf Gadget
- 123 – Ancient Drum
- 124 – Golden Mask
- 125 – Golden Relic
- 126 – Strange Doll
- 127 – Strange Doll
- 579 – Prehistoric Scapula
- 580 – Prehistoric Tibia
- 581 – Prehistoric Skull
- 582 – Skeletal Hand
- 583 – Prehistoric Rib
- 584 – Prehistoric Vertebra
- 585 – Skeletal Tail
- 586 – Nautilus Fossil
- 587 – Amphibian Fossil
- 588 – Palm Fossil
- 589 – Trilobite
- 102 – Lost Book
- 79 – Secret Note
- 292 – Cheap Detector
- 293 – Standard Detector
- 797 – Pearl
- 286 – Cherry Bomb
- 287 – Bomb
- 288 – Mega Bomb
- 322 – Wood Fence
- 323 – Stone Fence
- 324 – Iron Fence
- 325 – Gate
- 298 – Hardwood Fence
- 599 – Sprinkler
- 621 – Quality Sprinkler
- 645 – Iridium Sprinkler
- 93 – Torch
- 801 – Wedding Ring
- 312 – Spring Bench
- 787 – Battery Pack
- 405 – Wood Path
- 407 – Gravel Path
- 409 – Crystal Path
- 411 – Cobblestone Path
- 368 – Basic Fertilizer
- 369 – Quality Fertilizer
- 370 – Basic Retaining Soil
- 371 – Quality Retaining Soil
- 327 – Purple Dye
- 328 – Wood Floor
- 329 – Stone Floor
- 773 – Life Elixir
- 331 – Weathered Floor
- 449 – Stone Base
- 461 – Decorative Pot
- 462 – Glass Pane
- 463 – Drum Block
- 464 – Flute Block
- 465 – Speed-Gro
- 466 – Deluxe Speed-Gro
- 333 – Crystal Floor
- 339 – Quartz Globe
- 401 – Straw Floor
- 403 – Field Snack
- 415 – Stepping Stone Path
- 441 – Explosive Ammo
- 469 – Ground Light
- 470 – Table Lamp
- 746 – Jack-O-Lantern
- 772 – Oil of Garlic
- 516 – Small Glow Ring
- 517 – Glow Ring
- 518 – Small Magnet Ring
- 519 – Magnet Ring
- 520 – Slime Charmer Ring
- 521 – Warrior Ring
- 522 – Vampire Ring
- 523 – Savage Ring
- 524 – Ring of Yoba
- 525 – Sturdy Ring
- 526 – Burglar’s Ring
- 527 – Iridium Band
- 528 – Jukebox Ring
- 529 – Amethyst Ring
- 530 – Topaz Ring
- 531 – Aquamarine Ring
- 532 – Jade Ring
- 533 – Emerald Ring
- 534 – Ruby Ring
- 303 – Pale Ale
- 340 – Honey
- 346 – Beer
- 459 – Mead
- 348 – Wine
- 350 – Juice
- 724 – Maple Syrup
- 725 – Oak Resin
- 726 – Pine Tar
- 342 – Pickles
- 344 – Jelly
- 419 – Vinegar
- 766 – Slime
- 684 – Bug Meat
- 767 – Bat Wing
- 768 – Solar Essence
- 769 – Void Essence
- 688 – Warp Totem: Farm
- 689 – Warp Totem: Mountains
- 690 – Warp Totem: Beach
- 681 – Rain Totem
- 788 – Lost Axe
- 458 – Bouquet
- 460 – Mermaid’s Pendant
- 789 – Lucky Purple Shorts
- 790 – Berry Basket
- 667 – Clams Casino
- 341 – Tea Set
- 349 – Energy Tonic
- 351 – Muscle Remedy
- 373 – Golden Pumpkin
- 374 – Gizmo
- 375 – Gizmo
- 468 – Stardew Hero Trophy
- 471 – Key
- 590 – Artifact Spot
- 747 – Rotten Plant
- 748 – Rotten Plant
Recipes
Fishing
Animals
Resources
Minerals
Geodes / Ores
Artifacts
Crafting
Wearable Items
Artisan Goods
Monster Loot
Warp Totems
Quest Items
Brought or won items
Miscellaneous
There you have it, those were all of the cheat codes and item codes you need to know about in Stardew Valley. We’ll keep this page updated with all of the latest tricks that players discover, so be sure to check back here regularly.
For more Stardew Valley content, be sure to check out some of our other guides:
Stardew Valley Barns | Is Stardew Valley cross-platform? | How to catch Catfish in Stardew Valley | How to get garlic in Stardew Valley | How to get Iridium Ore in Stardew Valley | How to get clay in Stardew Valley | What’s the Stardew Valley Fair? | Stardew Valley Scarecrow range