keepscreenunlocked.

Claude & cloud AI tools

Will Claude keep working if you close your laptop?

Usually, yes for the Claude chat app, because the model runs on Anthropic's servers. Claude Code in your terminal is different: it runs on your machine, and full system sleep pauses it.

Inactive

Pick a duration and hit start.

Duration

Stealth screen
— covers the page with black (or your own wallpaper) so it looks like nothing is open.
Fullscreen
— the same cover, edge to edge. Press Esc to leave.
Ambient sound

Starts only when you press Play. It fades out on its own, when you stop the tool, and when you enter stealth screen (unless you tick the box above).

Feedback

Chat app versus Claude Code

In Claude on the web or in the apps, the response is generated on Anthropic's side. Closing the lid ends your connection but not the request, so a reply may be waiting when you return, though a stream cut mid-way isn't guaranteed to be saved.

Claude Code in a terminal runs on your own computer, editing files and running commands. That process stops when the machine sleeps. Claude Code on the web runs in a cloud environment instead, so your laptop sleeping doesn't interrupt it.

SetupRuns onLaptop sleeps?
Claude chat (web or app)Anthropic's serversKeeps working, you lose the live view
Claude Code on the webCloud environmentKeeps working
Claude Code CLIYour terminalPaused while asleep

Questions

If I close my laptop will Claude finish its answer?
Usually the reply finishes on Anthropic's side. Reload and check the conversation. If it was cut off mid-stream, regenerate it.
Does Claude Code stop when my laptop sleeps?
The CLI does, because it runs locally. See the Claude Code page for the screen-lock versus system-sleep detail.
Can this site keep my laptop awake while Claude works?
It keeps the screen on, not the system. A browser tab cannot stop a closed lid or full system sleep.

Related: Claude Code · ChatGPT · Gemini · Perplexity · Cursor · GitHub Copilot · OpenAI Codex · Grok · DeepSeek · Windsurf · Cline · All AI tools compared · Any local agent · Wake lock not working?. Last checked October 2026; these products change often, so confirm against the vendor's current docs.