The best laptops for programming in 2023

Do you do a lot of coding? You’ll need this roundup of the best laptops for programming. Here, we’ve listed our favourite devices for coders. All the laptops on this guide combine portability, flexibility and power in a thin and light package. Since modern machines are becoming more powerful every year, they’re all capable of managing every complex task you could throw at it. 

As the cost of living gets higher, many of us have a lot less money to spend. Luckily, a tight budget needn’t mean low-quality as there are brilliant budget laptops for programming as well as expensive ones – and we’ve highlighted those choices throughout the guide.

So, what makes a laptop perfect for programming? You’ll need at least 16GB of RAM and a multi-core processor for starters, to enable you to compile code and test it at lightning speed. The quicker you can run and test code, the shorter the project time will be so you can take on more work.

And you’ll need to think about screen size. Obviously your eyes will thank you if you get a nice, big, clear screen but you won’t want to cart around an enormous machine – balance is key here. You also need the perfect screen ratio, which we think is 16:10. Taller than the standard widescreen (16:9), it will allow you to see more code without scrolling up and down

Plus, keyboard quality is also of the utmost importance. You are going to be typing away for hours on end, so you’ll want something that’s comfortable.

Where we can, we’ve reviewed all the laptops in this guide to give you our honest opinions on how they perform, based on the criteria above. In the few cases we haven’t tried them out, we’ve based our findings on consistency of customer reviews, reputation and industry insights. You can also find out more about how we test laptops.

Also, it’s a good idea to complement your laptop with some top accessories too. Check out our guides to the best monitors for programming, and the best keyboard and best mouse. And don’t miss our best Black Friday laptop deals live blog for all the best and biggest discounts. 

The best laptops for programming available now

Why you can trust Creative Bloq

Our expert reviewers spend hours testing and comparing products and services so you can choose the best for you. Find out more about how we test.

MacBook Pro 16-inch reviewcb badge

(Image credit: Future)

Apple’s large MacBook Pro 16-inch is the best laptop for programming money can buy right now. Replacing the Intel-powered model from 2019, the MacBook Pro 16-inch (2021) comes with a choice of Apple’s powerful M1 Pro or M1 Max chips, and these make short work of compiling and running even the most complex code.

Not only does the MacBook Pro 16-inch compile code quickly, it’s powerful enough to run you code in test environments, including emulated devices that allow you to see how your game or program works on a variety of products. We were incredibly impressed with how xCode performed on the MacBook Pro 16-inch, so if you’re a developer who specialises in Mac or iOS apps, then this is a brilliant choice. 

The large 16-inch screen is gorgeous, and makes looking at pages of code comfortable, and the ProMotion adaptive refresh rate means scrolling through code is smooth and responsive. The improved keyboard is another massive boost to this laptop’s coding ability, as it’s the incredible battery life that will allow you to keep coding throughout the day without needing to plug it in.

Want to know more? Read our in-depth MacBook Pro 16-inch review.

A photograph of the Razer Blade 17 (2022) on a wooden deskCB endorsed

(Image credit: Future)

The Razer Blade 17 is a fantastic laptop for coding on if you’re working on games. Razer is a big name in PC gaming, and this laptop comes with Nvidia’s latest Nvidia GeForce RTX 3080 Ti laptop GPU, which is extremely powerful. This allows you to work with complex 3D games that use cutting-edge tech, like ray tracing, and you’ll be able to play your game afterwards to test how it runs.

It’s not just a gaming laptop, however, as it’s built for creative professionals, and this means if you’re a programmer working on heavy-duty projects, this is a laptop well worth considering. It’s very expensive, but for your money you’re getting some of the best mobile tech available right now. Combined with a great build quality and stunning 17-inch screen, this is a brilliant creative workstation for people who need a lot of power. Read our Razer Blade 17 review for more information.

MacBook Pro 14-inch in the office

(Image credit: Future)

03. MacBook Pro 14-inch (2021)

The best laptop for programming with a smaller screen

Our expert review:

Specifications

CPU:

Apple M1 Pro 8-core – M1 Max 10-core

Graphics:

Integrated 14-core – 32-core GPU

RAM:

Up to 64GB

Screen:

14-inch Liquid Retina XDR display

Storage:

Up to 8TB

View at Amazon

(opens in new tab)

View at very.co.uk

(opens in new tab)

View at Amazon

(opens in new tab)

Reasons to buy

+

Brilliant performance

+

Best screen on a laptop

Reasons to avoid

Screen may be a bit small for some

While some coders may find having a larger 16-inch or 17-inch screen on their laptop makes programming more comfortable, other people may find those laptops too big and bulky to easily carry around. So, the 14-inch MacBook Pro is a great choice for anyone who wants a powerful laptop for programming on that’s also more easily portable.

It’s powered by a choice of either the M1 Pro or M1 Max Apple chips, which are the same that come with the 16-inch model, and that means it offers a similar level of performance to the bigger laptop. So, if you want an incredibly powerful laptop for programming, but want something that’s easily portable, then you can pick this laptop without sacrificing performance.

The smaller size doesn’t mean it misses out on the new design elements Apple added to the 16-inch model, as it comes with the same amount of ports, including an SD card slot, an HDMI port, and three Thunderbolt 4 ports.

To find out more about why we gave this laptop 5/5 stars, read our MacBook Pro 14-inch review

MacBook Air laptop in an office on a black deskcb badge

(Image credit: Future)

The new Apple MacBook Air (M2, 2022) is a fantastic thin and light laptop for programming on. It comes with a range of improvements over the previous model, including a new 1080p webcam and a larger, brighter screen.

It also packs the new M2 chip from Apple, which is a powerful bit of silicon that makes coding on the MacBook Air a real joy. It’s powerful enough to compile code in seconds, and you can run simultaneous emulations and tests at the same time.

Best of all, the MacBook Air (M2, 2022)’s battery life is amazing, lasting over 16 hours in our tests. So, you can work on this throughout the day without worrying about being plugged into a power source.

It’s not all good news, though, as it is quite a bit more expensive than the previous model, which means it’s not quite as good value for money. The 2020 model, with an M1 chip, is still a fine laptop to program on, and is still on sale. It’s definitely worth checking out if the M2 model is too pricey for your budget. Find out more in our full MacBook Air (M2, 2022) review.

Best laptops for programming product shot of the LG Gram 17 (2021) laptop with the screen open, showing Windows 10 interface

(Image credit: LG)

If you’re after a large-screen laptop to do your coding on, then the LG Gram 17 (2021) is the perfect choice. It has a gorgeous screen that’s high resolution and large, giving you plenty of workspace. However, this is a laptop that proves you don’t have to sacrifice portability and comfort for screen size, as it’s impressively light. This means you can comfortably carry it around with you – perfect for anyone who travels a lot.

When we tested it, we also found it to have one of the best battery lives we’ve seen in a Windows 10 laptop, mainly thanks to the new Intel 11th generation hardware. So, you can work anywhere you like, safe in the knowledge that the battery will easily last you a whole work day – and longer. 

See our full review of the 2019 LG Gram 17.

ASUS ROG Flow Z13 on a desk

(Image credit: Future)

This unique laptop brings incredible power to a supremely thin and light form factor. In fact, it might be the most powerful tablet PC we’ve ever tried. It features a powerful 12th generation 14-core Intel processor, which will handle all your coding needs with ease.

It also comes with an RTX 3050 Ti graphics card, which is handy for anyone who wants to code – and test – games. The 16GB of DDR5 memory also means this is supremely fast, and is ideal for people who want an easily portable laptop to code on.

It has a thin keyboard, but some people may not find it that comfortable to code on for long periods of time, so a larger keyboard may be necessary – which is easy enough to plug in.

This is pricey, but it’s a completely unique laptop that could transform how you code.

Also read: Asus ROG Flow Z13 review

MacBook Pro 13-inch (M2, 2022) on a wooden table with trans pride flags in the background

(Image credit: Future)

07. MacBook Pro 13-inch (M2, 2022)

A refreshed and affordable MacBook Pro

Our expert review:

Specifications

CPU:

Apple M2 with 8-core CPU

Graphics:

Integrated 10-core GPU

RAM:

8GB – 24GB

Screen:

13.3-inch 2560 x 1600 display with P3 and True Tone technology

Storage:

256GB – 2TB SSD

Dimensions (H x W x D):

30.41 x 21.24 x 1.56 cm

View at Amazon

(opens in new tab)

View at John Lewis

(opens in new tab)

View at very.co.uk

(opens in new tab)

Reasons to buy

+

M2 chip is a brilliant performer

+

Excellent battery life

+

Almost silent in use

Reasons to avoid

No new design

Still only two Thunderbolt ports

The 13-inch MacBook Pro remains a brilliant laptop for programming on. It features Apple’s brand-new M2 chip, and this allows it to run apps with ease, and compile code quickly – and it’s faster than the M1 chip in the previous model.

It’ll run your programming tools without any issues, and it still comes with the Touch Bar across the top of the keyboard, giving you quick access to tools and shortcuts, and can dramatically speed up your workflow.

The new MacBook Pro 13-inch also boasts an incredibly long battery life. We’ve tested it ourselves and it’s seriously impressive, allowing you to work all day and still have battery life left. It’s not as powerful as the MacBook Pro 14-inch and 16-inch models, but it’s more affordable, making it a great purchase for many programmers.

Also read: MacBook Pro 13-inch (M2, 2022) review

Surface Laptop 4 on a wooden table in an office

(Image credit: Future)

If you’re a programmer working on Windows 10 apps in particular, then the Surface Laptop 4 could be the best laptop for you. As it’s made by Microsoft, this is a brilliant showcase for Windows 10, so you can be sure your Windows apps run perfectly on the operating system. With Windows 11 now out, you can upgrade for free, and as you’d expect from a Microsoft device, the latest operating system works brilliantly on it.

This model comes with a choice of 11th generation Intel Core processors, or AMD’s finest mobile CPUs, as well as up to 32 GB and a speedy SSD, which makes this an excellent laptop for even most intense of programming tasks. Best of all, our testing found that it has one of the longest battery lives we’ve seen in a laptop, which allows you to work out and about without worrying about being plugged into a wall socket.

See our Surface 4 Laptop review for more details.

(Image credit: HP)

09. HP Spectre x360 (2021)

The best 2-in-1 laptop for programming

Our expert review:

Specifications

CPU:

11th-generation Intel Core i5 – i7

Graphics:

Intel Iris Xe Graphics

RAM:

8GB – 16GB

Screen:

13.3″ FHD (1920 x 1080) IPS BrightView micro-edge WLED-backlit multitouch – 13.3″ diagonal 4K (3840 x 2160) UWVA BrightView micro-edge AMOLED multitouch

Storage:

256GB – 2TB SSD

View at Currys

(opens in new tab)

View at Amazon

(opens in new tab)

Reasons to buy

+

Powerful Intel Whiskey Lake processors

+

12-hour battery life

Reasons to avoid

More powerful than some users will need

The HP Spectre x360 (2021) 2-in-1 laptop had a big refresh in 2021, and now packs some of the most impressive mobile hardware money can buy right now. This means 11th-generation Intel Core processors, along with Intel Iris Xe integrated graphics, which makes the HP Spectre x360 an absolute beast when it comes to programming.

It’s not just a powerful programming laptop, it’s gorgeous as well, with a 2-in-1 design and gem-cut body that’s thin, light and easily portable.

It’s got a great battery life, so you can comfortably work on it all day without worrying about having to plug it in. The 2-in-1 design means you can use it like a traditional laptop, but you can then fold the screen back and use it as a tablet as well. It offers a level of versatility that many of the other devices on this list lack.

Best laptops for programming product shot of Two Dell Inspiron 14 5000 laptops, one with the screen open showing a photo of the beach, the other one is closed

10. Dell Inspiron 14 5000

A great laptop for programming if you’re on a budget

Our expert review:

Average Amazon review:

(opens in new tab)

Specifications

CPU:

Intel Core i5-8265U (quad core, 3.9GHz Max Turbo Boost)

Graphics:

NVIDIA GeForceR MX150 2GB GDDR5

RAM:

8GB

Storage:

256GB SSD

View at Amazon

(opens in new tab)

Reasons to buy

+

Well specced and well priced

+

Excellent screen

Reasons to avoid

Upgrade to Core i7 and SSD shrinks to 128GB

Not particularly powerful for 3D

The Dell Inspiron 14 5000 is a great all-round laptop for programming, and it costs a lot less than many of the laptops on this list, but without skimping on features or performance.

So, it’s got a high resolution Full HD display, a quad-core processor and fast SSD storage, all of which means this is a dependable laptop that will keep up with any of your demands while you’re programming.

Sure, it doesn’t boast the premium style of its more expensive competitors, but if you’re on a tight budget, you want a laptop that will do everything that you need it to, and you don’t care about visual flair or features that you’re never going to use in your day-to-day programming, then this is definitely a laptop worth considering.

How to choose a laptop for programming

Programming can be done on many different types of machines but many programmers want something more than just a basic laptop. While you don’t necessarily need a powerhouse of a laptop to code on, if you need to compile your code, and test out the games you’re working on, for example, then you’ll want a laptop with plenty of RAM and a modern multi-core processor. 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.

Screen size is really important when selecting one of the best laptops 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. 

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. Don’t miss our round up of the best graphics cards if this is something you might need. 

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.

Plus, the faster your laptop can compile code, the less time you’ll be spending waiting around, and that can mean you’re more productive, and are able to take on more projects.

The best laptops for programming are essential tools for any developer that wants a powerful machine to work on, while also being portable enough that they can take it out and about with them, and work almost anywhere.

Meanwhile, you may also want to see our guide to the best laptops for Photoshop and best laptops for graphic design.

How much RAM do I need for coding?

If you’re looking for a laptop for coding on, then you’ll want to make sure it comes with plenty of RAM. The more RAM a laptop has, the better it is at multitasking, so you can have multiple apps running at once.

It’ll also help you compile your code quickly, while also letting you test and run your apps and games. The faster you can do this, the more productive you’ll be.

So, we recommend at least 8GB of RAM for coding on a laptop, but ideally you should go for 16GB, or if your budget can stretch to it, 32GB. That’s only necessary for seriously heavy workloads, however.

Read more: