Iron Fence Item ID

The item ID for Iron Fence in Stardew Valley is:

324


The above cheat code applies to all platforms including PC/Mac (Steam), XBOX One, PS4 and the Nintendo Switch.

Iron Fence Spawn Help

Spawning items in Stardew Valley is not done via commands, but rather through a cheat in which you must set your character's name, or the name of an animal, to the item code of the item you wish to spawn surrounded by [ and ].

Spawn Using Animal Name


To spawn this item using an animal's name, visit Marnie's Ranch, speak to Marnie and purchase an animal (we recommend a chicken as it is cheapest). Name the animal [324] and press OK. You will then receive the iron fence item.

Spawn Using Character Name


You can only set your character's name once, at the start of the game (when you create your world), for this reason we recommend you use the animal name method. If you do wish to use this method, first set your character's name to [324] when creating your save. Whenever you speak to a villager that says your name in dialogue (for example Gus at the Stardrop Saloon) you will be given the iron fence item.


If you need more help with spawning iron fence, we have a detailed guide on our blog - click here to visit that page.

Iron Fence Information

Lasts longer than a stone fence.

ID Information
Item ID 324
Economy Information
Item Value 6
Skills Required
Farming 4
Crafting Recipe
Ingredient Amount
Iron Bar 1