Don't Starve Together is available on PC, including Windows, macOS, and Linux, plus Nintendo Switch, PlayStation 4 and 5, and Xbox One. The controls change by platform, and learning them before a boss fight is preferable to discovering the attack button while Deerclops is redecorating your base.

Use the lists below to find the default inputs for each version of Don't Starve Together. Some controls may vary if you use mods, remap inputs, or connect a different controller.
- Primary: Left mouse button
- Secondary: Right mouse button
- Action: Space
- Attack: F
- Force Inspect (mod): Left Alt
- Force Attack (mod): Left Ctrl
- Move Forward: W
- Move Left: A
- Move Backward: S
- Move Right: D
- Map: M
- Map Zoom In/Out: Mouse scroll wheel
- Rotate Left: Q
- Rotate Right: E
- Zoom In/Out: Mouse scroll wheel
- Global Chat: Y
- Whisper Chat: U
- Scoreboard: Tab
- Pause Menu: Esc
- Pause Server: P
- Inspect Self: I
- Open Crafting Menu: C
- Crafting Menu (mod): Left Ctrl
- Pinned Recipes Page Left: Comma (,)
- Pinned Recipes Page Right: Period (.)
- Force Container (mod): Left Shift
- Force Stack (mod): Left Ctrl
- Use Hotbar Slots: Numbers 1 to 0
- Menu Accept: Enter
- Menu Cancel: Esc
- Menu Up: Directional button up
- Menu Down: Directional button down
- Menu Left: Directional button left
- Menu Right: Directional button right
- Menu Previous Value: Left Bracket ([)
- Menu Next Value: Right Bracket (])
- Menu Scroll Up/Down: Mouse scroll wheel
- Slash Command: Slash (/)
- Start Emoticon: Right Shift + Semicolon (;)
- Debug Console: Tilde (~)
- Debug Log: Left Ctrl + L
- Debug Render: Backspace
These controller controls use the Xbox 360 layout as a Klei controller prompt reference. Other controllers may display or map buttons differently.
- Attack: X
- Action: A
- Alternate Action: B
- Move: Left analog stick
- Rotate Left: Left bumper
- Rotate Right: Right bumper
- Map Zoom In: Left trigger
- Map Zoom Out: Right trigger
- Pause: Start
- Map: Back
- Open Crafting: Left trigger
- Open Inventory: Right trigger
- Inventory Direction: Right analog stick
- Inventory Use Self: Right directional button
- Inventory Use Scene: Left directional button
- Inventory Drop: Down directional button
- Inventory Adjust Stack: X
- Inventory Use on Item: Y
- Inventory Inspect: Y
- Menu Accept: A
- Menu Cancel: B
- Menu Previous Page: Left bumper
- Menu Next Page: Right bumper
- Menu Previous Value: Right analog stick right
- Menu Next Value: Right analog stick left
- Menu Direction: Directional buttons
- Debug Menu: Right analog stick
- Walk: Left analog stick
- Rotate Camera: L/R
- Inspect Item: Up directional button
- Use on World: Left directional button
- Drop Item: Down directional button
- Use on Self: Right directional button
- Map: Minus button (-)
- Pause: Plus button (+)
- Open Crafting: ZL
- Manage Inventory: ZR
- Inspect: X
- Attack: Y
- Alternate Action/Cancel: A
- Do Action/Accept: B
- Inventory Selection Social Menu: Right analog stick
- Walk: Left analog stick
- Rotate Camera: L1/R1
- Inspect Item: Up directional button
- Use on World: Left directional button
- Drop Item: Down directional button
- Use on Self: Right directional button
- Map: Click touch pad
- Pause: Options
- Open Crafting: L2
- Manage Inventory: R2
- Inspect: Triangle
- Attack: Square
- Alternate Action/Cancel: Circle
- Do Action/Accept: X/Cross
- Inventory Selection Social Menu: Right analog stick
- Walk: Left analog stick
- Rotate Camera: Left bumper/Right bumper
- Inspect Item: Up directional button
- Use on World: Left directional button
- Drop Item: Down directional button
- Use on Self: Right directional button
- Map: Back
- Pause: Start
- Open Crafting: Left trigger
- Manage Inventory: Right trigger
- Inspect: Y
- Attack: X
- Alternate Action/Cancel: B
- Do Action/Accept: A
- Inventory Selection Social Menu: Right analog stick