Our verdict: the MacBook Air 15-inch M5 with 16GB or 24GB is the best laptop for Claude Code for most developers. Step up to the MacBook Pro 14-inch with M6 for long builds and heavy Docker work, pick the ThinkPad X1 Carbon Gen 13 for Windows, and the Framework Laptop 16 for Linux, upgrades or an NVIDIA GPU.
Claude Code, Claude Cowork and Cursor run the model in the cloud, so you don't need a GPU monster. Your laptop has to survive everything around the AI: repos, terminals, Docker, a local server and a wall of browser tabs.
What Claude Code needs from a laptop
Anthropic's own bar is low, because the model runs on its servers. What we'd buy is higher, because of everything you run next to it.
| Requirement | Anthropic's minimum | What we'd buy |
|---|---|---|
| Memory | 4GB | 16GB, or 24GB with Docker |
| Processor | Any x64 or ARM64 chip | Any current Apple, Intel or AMD chip |
| macOS | 13.0 or later | Any Apple silicon Mac |
| Windows | Windows 10 version 1809 or later | Windows 11, with WSL 2 for Linux tools |
| Linux | Ubuntu 20.04, Debian 10 or later | A current Ubuntu or Fedora release |
| Internet | Required | Steady Wi-Fi; replies stream live |
| Claude plan | Pro, Max, Team, Enterprise or Console | Pro at $20 a month to start |
Minimums from Anthropic's Claude Code setup guide, checked November 14, 2026. The free Claude plan doesn't include Claude Code.
How much memory you actually need
16GB still works for lighter web work, but it's the config people regret six months later. If you keep an IDE, several terminals, Docker and dozens of tabs open, 24GB or 32GB is the smarter buy. Not sure? Try our RAM Calculator.
The 4 laptops at a glance
- Fanless, so it's silent all day
- Up to 15 hours of web use (Apple)
- 3.3 pounds with a 15-inch screen
The catch: no NVIDIA GPU, memory can't be upgraded later.
- Fans keep it fast under long builds
- Up to 24 hours of battery (Apple)
- Configure up to 32GB of memory
The catch: $500 more than the Air for work many people never push.
- Under 1kg, the lightest here
- ThinkPad keyboard and TrackPoint
- Linux option on Lenovo's store
The catch: pricey, and memory tops out at 32GB.
- Up to 96GB in two memory slots
- Optional NVIDIA RTX 5070 module
- Every part is repairable
The catch: 2.1kg and bulkier than the rest.
Prices and specs
Apple prices checked November 14, 2026; Lenovo and Framework checked October 23, on each company's own US store. Starting configs shown; Lenovo's prices change often.
| Laptop | Starting price | Chip | Memory | Battery (maker claim) | Weight |
|---|---|---|---|---|---|
| MacBook Air 15 M5 | $1,499 (16GB, 512GB) | Apple M5, 10-core CPU | 16GB, up to 32GB | Up to 15 hrs web, 18 hrs video | 3.3 lb (1.51kg) |
| MacBook Pro 14 M6 | $1,999 (16GB, 1TB) | Apple M6, 12-core CPU | 16GB, up to 32GB | Up to 24 hrs | About 3.5 lb |
| ThinkPad X1 Carbon Gen 13 | $2,573 (16GB, 512GB) | Intel Core Ultra 7 256V | 16GB or 32GB, fixed | Not stated in hours | Under 1kg |
| Framework Laptop 16 | $1,249 DIY (no memory, storage or OS) | AMD Ryzen AI 5 340 and up | Bring your own, up to 96GB | 85Wh, hours not stated | 2.1kg (2.4kg with GPU) |
What each one gets right
| Feature | Air 15 M5 | Pro 14 M6 | X1 Carbon | Framework 16 |
|---|---|---|---|---|
| All-day battery (14+ hrs claimed) | ✓ | ✓ | – | – |
| 16GB+ RAM in the base config | ✓ | ✓ | ✓ | You add it |
| Under $1,500 to start | ✓ | ✗ | ✗ | Before parts |
| Linux-friendly | ✗ | ✗ | ✓ | ✓ |
| Runs Windows | ✗ | ✗ | ✓ | ✓ |
| Upgrade memory later | ✗ | ✗ | ✗ | ✓ |
| NVIDIA GPU option (CUDA) | ✗ | ✗ | ✗ | ✓ |
| 3.5 lb or lighter | ✓ | ✓ | ✓ | ✗ |
– means the company hasn't said. Battery figures are the makers' own claims.
MacBook Air 15 M5: best for most developers
The Air has no fan, so it stays silent through a full day of Claude Code, Cursor, terminals and docs. Apple rates it at up to 15 hours of web use, and the 15-inch screen fits an editor and a browser side by side.
It starts at $1,499 with 16GB and 512GB. Buy 24GB if you run Docker or several repos at once, since you can't add memory later. Skip it if your work depends on CUDA.
MacBook Pro 14 M6: best for heavy workloads
Apple put the new M6 chip in the 14-inch Pro on October 28. It has fans to hold its speed through long builds, a brighter display, more ports and up to 24 hours of battery by Apple's count.
It starts at $1,999 with 16GB and 1TB; configure 24GB or 32GB if you live in Docker. Need 64GB? The M5 Pro model is still on Apple's store, at $2,499 when we checked on October 23. The touch OLED MacBook Pro adds nothing for coding; see M6 vs OLED MacBook Pro.
ThinkPad X1 Carbon Gen 13: best for Windows
If your company runs Windows or your stack needs it, this is the work laptop to get. It weighs under 1kg, has one of the best keyboards you can buy, and Lenovo's store offers a Linux option.
It's expensive at $2,573 for 16GB, and memory sits on the chip, so you can't add more. Buy the 32GB model. The newer X1 Carbon Gen 14 is also on Lenovo's store, from $2,815.
Framework Laptop 16: best for Linux and local AI
Framework is the pick when you want Linux, upgrades or a real GPU. It takes up to 96GB in two standard memory slots, and an NVIDIA RTX 5070 Graphics Module slides into the back for CUDA work.
The DIY Edition starts at $1,249 before memory, storage and an OS, and that base model is a November pre-order. It's also the heaviest here at 2.1kg, or 2.4kg with the GPU.
Mac or Windows for Claude Code?
Claude Code installs natively on macOS, Windows and Linux, so buy for the system your projects need. We pick the Mac for battery life and silence, not because Claude Code runs better on it. On Windows you choose between two setups:
| Windows setup | What you install | Sandboxed commands | Use it for |
|---|---|---|---|
| Native Windows | Nothing extra; Git for Windows is optional | ✗ | Windows-native projects and tools |
| WSL 2 | WSL 2 turned on | ✓ | Linux toolchains, safer command runs |
Source: Anthropic's Claude Code setup guide.
The best laptop for Claude Cowork
The same four. Cowork, like Claude Code, does its thinking on Anthropic's servers, and the Claude desktop app is light. If you only use Cowork and never run Docker, the 16GB MacBook Air is all you need. Not sure which Claude product you want? Read Claude Chat vs Code vs Cowork.
What about the MacBook Neo, the 13-inch Air and gaming laptops?
The MacBook Neo is $699, but it only comes with 8GB, which is too little for Docker and a full dev setup. The 13-inch MacBook Air M5 starts at $1,299 with 16GB and is a fine pick if you don't need the bigger screen. Gaming laptops only make sense if you also run local models, CUDA or games; otherwise they're heavier and louder than you need.
Which laptop should you buy?
The verdict
The MacBook Air 15-inch M5 is the best laptop for Claude Code for most people: silent, all-day battery and $1,499 to start. Spend more only for a reason: the Pro for heavy local work, the ThinkPad for Windows, the Framework for Linux or a GPU. Running models locally? Read our local LLM laptop guide and 16GB vs 32GB RAM first.
FAQ
Do you need a powerful computer to run Claude Code?
No. Claude Code, Claude Cowork and Cursor run the model on the company's servers, so your laptop only handles the editor, terminal, browser and whatever your project runs locally. Spend on memory, battery life and a good screen before a faster chip or a graphics card.
Can I use Claude Code on my laptop?
Almost certainly. Anthropic's requirements are macOS 13, Windows 10 version 1809, Ubuntu 20.04 or Debian 10, with 4GB of RAM and an internet connection. You also need a paid Claude plan or a Console account, because the free plan doesn't include Claude Code.
How much RAM do you need for Claude Code?
Anthropic's minimum is 4GB. In practice, buy 16GB for an editor, terminal and browser, and 24GB or 32GB if you run Docker, several repos or local databases next to it. Memory is fixed at purchase on most thin laptops, so decide before you buy.
Does Claude Code work better on Mac or Windows?
It installs natively on both, and on Linux. On Windows, running it inside WSL 2 adds sandboxed command execution, which native Windows doesn't support. We pick a Mac for battery life and silence, not because Claude Code runs better there.
What is the best MacBook for Claude Code?
The 15-inch MacBook Air M5 at $1,499 for most people, or the 13-inch at $1,299 if you want it smaller. Choose the 14-inch MacBook Pro with M6 at $1,999 if you run long builds or heavy Docker work. Skip the MacBook Neo, which only comes with 8GB.
Should you buy a gaming laptop for Claude Code?
Only if the same machine also has to run local models, CUDA work or games. For cloud AI coding, most gaming laptops are heavier, louder and shorter on battery than you need.