The best laptops for programming are much more than devices that can run code editors. While you don't necessarily need a powerful machine for programming on, spending a little more on a device with plenty of RAM and a modern multi-core processor can really pay off, as they are able to compile code much more quickly. And, the less time you have to spend waiting for your laptop to complete complex tasks, the more time you have to do other things – such as take on more projects.
The best laptops for programming will help you test and run the apps, websites or games you've created with ease (jump to the in-depth what to consider section for more information). With this in mind, we've rounded up the best laptops that coders and developers can use for day-to-day work.
Bear in mind that ergonomics make a big difference if you're going to be at your machine for hours on end – as most of us are. It's a good idea to complement your laptop with some top accessories too, to get the best out of it. Check out our guides to the best keyboard, the best mouse and best monitor.
The best laptops for programming available now
If you're after the best laptop for programming, then we can't recommend the Dell XPS 15 (2020) strongly enough. Dell's latest flagship laptop is about as close to perfect as you can get, packing some of the very latest components into a thin and light design that's as gorgeous to look at as it is easy to carry around.
It comes with a stunning 15.6-inch display, which can come in a range of very high resolutions, which makes it an excellent choice for graphic designers who are looking to buy a new laptop. It's got some of the most powerful mobile components on the market right now, including a discrete graphics card in some configurations, which means this can compile code incredibly fast - making it ideal for programmers, and that GPU will help any game developers as well.
Perhaps best of all, its battery life is excellent, which means you don't have to be tethered to a desk if you want to use this powerful laptop.
After a much-needed refresh, the MacBook Air (2020) has had a few choice updates that makes it one of the best laptops for programming in 2020. Although it’s not quite the powerhouse the MacBook Pro is (or some high-end Windows laptops), it now has a bright Retina display, which is a great upgrade over the dated screen.
New 10th generation Intel processors in the 2020 model are much faster, which speeds up the time it takes to compile code - which will have a big impact on your workflow. The new MacBook Air is also as portable as ever, with a seriously lightweight design that makes it easy to carry around with you - and perfect for programmers who do a lot of travelling.
However, it's important to note that the entry level model of MacBook Air (2020) doesn't come with the new Intel 10th generation processors. Instead, it sticks with 8th generation processors and slower RAM, making it not as good a graphic design laptop as the more expensive models.
The Huawei MateBook 13 is our pick for the best laptop for programming right now. Huawei stormed into the phone market with its excellent, competitively priced range of handsets, and now it’s done it again with laptops: this portable has great specs for coding work.
For a (relatively) modest asking price, you’re getting all the power of a Core i5 or Core i7, a crisp, bright, high-resolution 13-inch display, and loads of SSD storage. It makes Apple (and other high-end manufacturers) look like thieves. What’s more, it’s super portable too, weighing just 1.3kg and less than 1.5cm thick. This is worth a look before considering anything else.
The Dell Inspiron 14 5000 is a great all-round laptop for programming. There are three key things to look for if you want a great modern laptop – a Full HD (1,920x1,080) IPS display, a quad-core processor (at least) and speedy SSD storage. Aside from that, it’s easy to get fixated on bells and whistles when talking about laptops but many coding tasks don’t require anything particularly exotic.
Dell’s Inspiron 14 5000 ticks all these boxes, and guarantees great running performance and an excellent system for all computing tasks, including more taxing processing jobs. The starting specification gets you the aforementioned high-resolution display, a quad-core Intel Core i5 processor, 8GB of memory and a 256GB SSD, with a sleek build and a starting price that really isn’t too extortionate. Go up a level and there’s 1TB of storage and a Core i7 processor.
There's also a 2-in-1 version of this machine, but that's not what we're referring to here.
With this model, Lenovo has taken the kind of computing experience most of us assume is only possible with a desktop workstation housed in a large box under a desk, and not only made it portable, but squeezed it into a thin design.
It's ideal for those that need workstation power. The Lenovo ThinkPad P1 offers professional-grade Xeon processors, with up to six cores, an Nvidia Quadro T2000 graphics card and up to 64GB of memory.
You can stuff it with up to 4TB of nVME SSD storage, and opt for a 15.6-inch 4K display that’s not only touch-sensitive but colour-accurate too. It’s a great general-purpose workstation, capable of all kinds of visual design work and heavy lifting processor-intensive tasks.
Of course, it works great for coding as well. That’s partly thanks to Lenovo’s excellent keyboard design, but in general, the ThinkPad P1 is superbly built, including a semi-rugged chassis that can survive light knocks, and a very healthy selection of ports.
As it comes from Microsoft, the Surface Laptop 3 effectively offers a pure Windows 10 experience, making it a benchmark for testing and developing Windows software. It has a great design, a solid aluminium shell and a very comfortable keyboard. The newest version comes in matte black and offers fairly meaty specifications, with a Core i7, up to 16GB of memory, 1TB SSD storage and a high-resolution 13.5-inch screen that works with Microsoft’s Surface Pen stylus.
There are a lot of other variants, too, meaning you can get the power that you want. It isn't as cheap as some options out there but you do get a superb laptop, now with USB-C.
While Apple's MacBook Air is the most portable Apple laptop, the 13-inch MacBook Pro is a great choice for working with Xcode to develop apps for iOS and macOS when on the go.
New tenth-generation Intel CPUs are now an option, delivering across-the-board performance improvements, making this MacBook both portable and powerful. While it might weigh slightly more than the aforementioned MacBook models, the performance boost will be worth it when running taxing processing tasks, such as heavy-duty coding projects.
And since Macs can run Windows just fine via Boot Camp or in a virtual machine such as Parallels, you’ll be able to use your Mac to develop apps for any platform on Earth.
Despite dated stereotypes of programmers being stuck in bedrooms and offices, many coders see the profession as highly sociable – whether it’s working together on group projects, or attending one of the numerous workshops and conferences that exist all over the country.
In that case, you might prefer an alternative to the bulkier laptops we’ve suggested and instead, put portability at the top of your wish list. The 13-inch Asus Zenbook UX-430 is an ultraportable option – weighing just 1.25kg and measuring 15.9mm – without a massive price tag. However, even though the Zenbook is slim and well priced, it has a specification that’s still great for coding work.
The latest HP Envy 13 is a great pick for programmers. HP recently made big changes to this popular 13-inch laptop by reducing the size and weight. Coupled with a high-quality touch-sensitive display, it’s both powerful and super portable. But perhaps the most noteworthy change is the stunning all-metal design, covering the keys and around the screen area that absolutely earns this laptop the ‘Envy’ moniker.
The keyboard has plenty of travel, with page up and down keys, and the trackpad is large enough to be extremely comfortable - both critical aspects of a laptop for long coding sessions.
For Android developers, a Chromebook might seem a natural choice for the best possible integration with Google’s software and services, with full support for running Android software natively. However, many Chromebooks are designed to be highly affordable, with lower-spec features and performance suffering to bring the price down.
The Pixelbook Go is an upgrade from more basic models, designed to compete with the bigger laptop manufacturers. It still runs ChromeOS, which supports Google’s Android Studio development tools, but the hardware is right up there with a standard Windows laptop. You can also run Linux apps as well.
The Pixelbook Go is certainly the best Chromebook ever made. It packs some impressive hardware, including an Intel Core i7 processor, a choice of 8GB or 16GB RAM and a large and vibrant 1,920 x 1,080 screen or 4K touch screen if you really want to show off.
Best laptops for programming: What to look for
Programming can be done on many different types of machines but many programmers want something more than just a basic laptop.
Screen size is really important when selecting a top laptop for programming. You'll get more on a 15-inch screen than a smaller one, for example, so it's easier to read through code and make GUI adjustments. Of course, with a bigger display you sacrifice portability.
Memory is also key. Heavyweight development environments such as Visual Studio will run better with a healthy dollop of RAM and we'd recommend considering a minimum of 8GB but 16GB ideally.
Also consider getting an Intel Core i5 processor as a minimum – that level of power isn't exceptional but it will guarantee you enough performance, especially if you're doing things like working with complex website layouts that have a lot of background code. Large, complex programs compile faster with a faster processor.
Graphics can also be key depending on the development work you're doing. If you're working with game development in an environment such as Unreal Engine or Unity then you need to consider the graphical requirements of those apps.
And remember it's a good idea to use an operating system that's aligned with your goals. Want to develop in Xcode for the iPhone, iPad and Mac? Then you're going to need a Mac.