Gaming How-To

Valheim: How to Get a Fire for Your Bed and Fix the Sleep Error

Why campfires refuse to sit on wooden floors, and the exact placement that lets you sleep through the night.

Why campfires refuse to sit on wooden floors, and the exact placement that lets you sleep through the night.

You build a house, drop a bed inside it, wait for nightfall, and Valheim answers with “The bed needs to be placed near a fire.” Then the build menu refuses to let you put a campfire down anywhere on that nice wooden floor you just laid. The two rules look like they cancel each other out. They don’t — the fire simply has to touch bare ground or stone, and the game only cares that the heat reaches you, not that the flames sit under the mattress.

Quick answer: Equip the hammer, deconstruct one wooden floor tile beside the bed to expose the dirt, then place a Campfire (5 Stone, 2 Wood) on that exposed patch. Stand next to it until the fire icon appears, then interact with the bed.


Why the “bed needs nearby fire” message appears

The wording is a little misleading. The bed itself is not cold — your character is. Valheim checks whether you are standing in the warmth of a real heat source when you try to sleep, which is why players sometimes get the message even when a lit fire is only a few tiles away. If you approach the bed from the far side of the room and the fire buff drops off your status bar, the sleep attempt fails.

Torches are the other common trap. Standing torches can be planted on wooden floors and they light a room beautifully, but they produce no heat and never satisfy the requirement. Only proper fires count — a campfire, a hearth, or a bonfire.

Viking character walking through a torch-lit wooden shelter with beds in the Meadows
A torch-lit shelter still triggers the sleep error, because torches give off light but no heat. Image: Iron Gate AB

Why a campfire shows “Invalid placement” on wooden floors

Fires burn wood, so Valheim will not let you set one on top of it. Campfires, hearths, and bonfires all need dirt or stone underneath them. Try to place one on a wooden floor tile and the preview stays red with an “Invalid placement” warning, no matter how much Stone and Wood you are carrying.

Later in a run you get more options. Once you have a Stonecutter you can lay stone flooring and place a campfire directly on it, and iron beams also give a fire something safe to rest on. Early in the Meadows, though, the ground is the only surface you have.


Fix it by removing a floor tile and placing a campfire

This is the fastest fix inside an existing wooden house, and it costs you nothing but a moment with the hammer.

Equip your hammer and switch to the removal mode. Aim at a single wooden floor tile next to the bed — one within a couple of tiles is ideal, since the heat radius is not large.
Valheim build menu open on a wooden piece, showing its wood and workbench requirements
The hammer’s build menu, where you swap between placing pieces and tearing the floor tile back out. Image: Iron Gate AB
Deconstruct that tile. The dirt underneath your house is now exposed, which is exactly the surface a fire needs. You get the building materials back, so nothing is wasted.
Open the build menu and select the Campfire. It costs 5 Stone and 2 Wood, and its description flags it as useful for cooking, warmth, or resting.
Campfire selected in the Valheim build menu with the placement preview showing
Campfire highlighted in the build menu, ready to be positioned on the exposed patch of ground. Image: Iron Gate AB
Place the campfire on the bare dirt. The preview should turn from red to a valid placement the moment you aim at the exposed patch rather than the surrounding planks.
Player standing next to a burning campfire inside a wooden shelter in the Meadows
A lit campfire burning on exposed ground inside the shelter, close enough to the bed to allow sleep. Image: Iron Gate AB
Leave a gap in the roof above the fire so the smoke can escape. Smoke that has nowhere to go builds up and snuffs the fire out, which will break sleeping again a night or two later.
Walk up to the bed and interact with it. You should sleep through to morning and wake with the rested status showing your current comfort level.

Note: You can put the floor tile back down after the campfire is placed if you dislike the gap, though many players simply leave the dirt patch exposed as a hearth.


Other ways to get heat to the bed

Heat in Valheim ignores walls and floors. That opens up several placements that look strange but work perfectly well.

MethodWhat it needs
Campfire outside the wallPush the bed against an exterior wall and put the fire on the ground just outside. Shelter it from rain and wind or it will go out.
Fire under a raised houseWorks if the building sits on stilts or a rock. The heat radius is a sphere, so it reaches upward through the floor.
Raise the ground with a hoeLevel a patch of terrain up to floor height, place the campfire on it, then build the floor around it.
Stone floorRequires a Stonecutter. Campfires sit on stone without any terrain tricks.
Iron beamOnce you have iron, a beam gives the fire a legal surface above a wooden floor.
Hanging BrazierMounted on the ceiling and counts as a fire for sleeping. Available later in progression.

A hearth is the natural upgrade once you have a Stonecutter. It costs 15 Stone, has a wider heat and comfort radius than a campfire, and gives 2 comfort instead of 1. It still needs fuel, roofed cover to survive rain, and a smoke vent.


If the bed still refuses to work

A fire alone is not the whole checklist. Sleeping requires several conditions at once, and Valheim tells you which one failed in the on-screen message, so read it carefully rather than assuming the fire is the problem.

  • Wrong time of day. You can only sleep in the evening or at night.
  • You are Wet. Stand by the fire until the status clears, then try again.
  • Enemies nearby. Anything hostile close to the house blocks resting entirely.
  • Not enough shelter. The bed needs a roof and solid cover. Side cover is checked against wind direction, which is why a half-walled room works some nights and not others.
  • Too far from the fire. Move the bed a tile or two closer, or approach it from the fire’s side so the buff is active when you interact.
  • The fire is flickering out. Blocked smoke, rain, or strong wind can extinguish it for a fraction of a second while you lie down. Watch the fire icon in the top right corner.
  • Out of fuel. Campfires burn Wood and need topping up.

The simplest confirmation that everything is in order is the status bar. If the fire icon and the shelter icon are both showing while you stand at the bed, the interaction will go through.

Valheim shelter interior at night with a bed and the status icons visible on screen
With shelter and fire both active, the bed can be claimed and used to sleep until morning. Image: Iron Gate AB

What sleeping gets you

Sleeping skips to morning, saves your game, and hands you the full rested buff. Rested gives +50% health regeneration and +100% stamina regeneration, and its duration is 7 minutes plus your current comfort level. A basic Meadows setup with shelter, a campfire, a bed, and a rug lands around comfort 5, or roughly 12 minutes of rested.

Comfort only stretches how long the buff lasts, not how strong it is, so there is no reason to hold off on the ugly dirt-patch fireplace while you plan a prettier build. Get the fire on the ground, get the smoke out through the roof, and the bed will work every night until you have the stone or iron to do it properly.