Cheats & codes
Terraria Cheat Codes
Grouped by type and platform, each one labelled reported working or tested.
There are 42 cheat codes for Terraria across PC (Microsoft Windows). Each code below lists the exact button combination or console command, what it does, and whether using it disables achievements.
Console commands
35Announce Message
Broadcasts an announcement/notice to every player on the dedicated server
In the dedicated server console
Ban Player
Banishes a player from the dedicated server
In the dedicated server console
Change Weather
Changes the weather on the dedicated server (e.g. rain, wind)
In the dedicated server console
Clear Console
Clears the dedicated server console display
In the dedicated server console
Difficulty Command
Changes the world difficulty setting on the dedicated server
In the dedicated server console
Full Screen Map Toggle
Toggles the full-screen map display on/off on the dedicated server
In the dedicated server console
Give Buff Potion by ID
Gives a player the buff potion for the listed buff ID (e.g. 26 = Well Fed)
In the dedicated server console
Give Item to Player
Gives a specific item to a player on the dedicated server (item name is case-sensitive)
In the dedicated server console
Help Command
Shows the list of available commands in the dedicated server console
In the dedicated server console
Kick Player
Kicks a player off the dedicated server
In the dedicated server console
Mobile Difficulty
Manual difficulty setting meant for mobile servers
In the dedicated server console
Print Command
Prints an informational message in the dedicated server console
In the dedicated server console
Rain Command
Starts or stops rain on the dedicated server
In the dedicated server console
Save World
Saves the world on the dedicated server without stopping it
In the dedicated server console
Save World and Stop Server
Saves the world on the dedicated server, then stops the server
In the dedicated server console
Server: ban player
Bans a named player from the server
Type in the dedicated server console window
Banned players cannot rejoin; banlist file configurable with -banlist
Server: help
Lists all available dedicated server console commands
Type into the dedicated server console window
No forward-slash prefix needed
Server: kick player
Kicks a named player from the server
Type in the dedicated server console window
Does not prevent rejoining; use ban for that
Server: password
Shows current server password, or changes it
Type in the dedicated server console window
None
Server: playing
Shows list of currently connected players
Type in server console, or type /playing in-game chat
Server console version needs no slash
Server: save / exit
save writes the world; exit saves and shuts down; exit-nosave shuts down without saving
Type in the dedicated server console window
exit-nosave discards unsaved progress
Server: say
Sends a message to all players in yellow, prefixed with <server>
Type in the dedicated server console window
No slash prefix needed
Server: time commands
Sets game time: dawn 4:30 AM, noon 12:00 PM, dusk 7:30 PM, midnight 12:00 AM
Type in the dedicated server console window
None
Server: version
Prints the server's version number
Type in the dedicated server console window
None
Set Home Point
Sets your current spot as a home point on the dedicated server
In the dedicated server console
Set Invasion Difficulty
Adjusts the difficulty of invasion events (server-side)
In the dedicated server console
Set Time
Changes the in-game time on the dedicated server
In the dedicated server console
Show Deaths From Any Cause
Shows your total death count for any cause combined; Desktop/Console/Mobile feature added in 1.4.4
Tap H (or M on some platforms) to toggle the count on-screen
Show Enemy Deaths
Shows enemy kill/death total; Desktop/Console/Mobile feature added in 1.4.4
Tap L (or M on some platforms) to toggle the count on-screen
Show NPC Deaths
Shows total NPC deaths; Desktop/Console/Mobile feature added in 1.4.4
Tap K (or M on some platforms) to toggle the count on-screen
Show Player-Caused Deaths
Shows deaths caused by other players; Desktop/Console/Mobile feature added in 1.4.4
Tap J (or M on some platforms) to toggle the count on-screen
Spawn Boss
Spawns a boss where the player is standing, on the dedicated server
In the dedicated server console
Toggle God Mode
Toggles god mode on/off on the dedicated server
In the dedicated server console
Toggle Hardcore Mode
Switches the server's hardcore difficulty setting
In the dedicated server console
Wind Command
Controls wind effects on the dedicated server
In the dedicated server console
Unlockables
6Journey Mode: Duplication Menu
Spawns a full stack of any item you have already researched
Journey Mode character only; open the Power Menu (rabbit icon) beside inventory
Duped weapons/accessories never spawn with prefixes
Journey Mode: enemy spawn rate slider
Scales enemy spawns from 0x (none spawn) to 10x normal
Journey Mode character only; Personal Power Menu
Setting 0x disables natural spawns, blocking event completion
Journey Mode: Godmode
Immunity to all damage and knockback, no breath loss underwater, no mana cost
Journey Mode character only; toggle from inventory Power Menu
Journey Mode characters cannot be used in Classic/Expert/Master worlds
Journey Mode: increased placement range
Extends block placement/destruction range from 5 tiles to 18 tiles
Journey Mode character only; Personal Power Menu
Enabled by default when starting Journey Mode
Journey Mode: time control
Freeze time, jump to dawn/noon/dusk/midnight, or speed time from 1x to 24x
Journey Mode character only; Time Menu in the Power Menu
Freezing time does not stop enemies or NPCs from moving
Journey Mode: weather and infection control
Sliders for wind and rain (clear to monsoon); toggle Corruption/Crimson/Hallow spread on or off
Journey Mode character only; Power Menu
Weather/enemy sliders in multiplayer affect enemies around you only
Tips
1Journey Mode: research quantities
Sacrificing items unlocks them for duplication: weapons/accessories need 1, treasure bags 3, acorns 50, consumables/blocks 100
Drag items into the Research menu of a Journey Mode character
Partial progress counts; research is tied to the character, not the world
Tools for Terraria cheats
-
Why is my cheat not working?
Answer a few questions and get the specific reason, from our guides.
-
Search Terraria codes by effect
Type "money" or "god mode" and find the code, typos forgiven.
-
Test your controller and button sequences
See every button respond, and check a sequence press by press.
Quick answers