Can you add RAM to an iMac?
In short
Yes — on a 27-inch Intel iMac from 2012 to 2020, you can add RAM yourself in about five minutes: four SO-DIMM slots sit behind a small door on the back of the computer, opened by pressing a grey button above the power port. The 2020 model takes up to 128 GB, the 2019 and 2017 models up to 64 GB, and the 2012–2015 models up to 32 GB. On a 21.5-inch iMac from Late 2012 onward the memory is not removable by users; on a 24-inch iMac the memory is unified memory built into the Apple Silicon chip and cannot be upgraded at all; and on the iMac Pro only Apple or an Authorised Service Provider can swap the RAM.
The screen size decides almost everything — but not quite: the 21.5-inch iMacs from 2009 to 2011 still have a user-accessible memory door, while the 27-inch iMac Pro from 2017 does not. The table below sorts every generation by what Apple itself says, and the check section shows how to find your exact model in under a minute.

Before buying RAM or a new Mac, check what your exact model supports — memory, storage and charging, against the manufacturers' specifications.
The short answer: Yes — on the 27-inch Intel iMac
Yes — if your iMac is a 27-inch Intel model from 2012 to 2020. Apple designed those machines with a memory compartment door on the back: press the small grey button above the power port, the door opens, and four SO-DIMM slots are right there. No screwdriver, no screen removal, no warranty sticker to break. On every other iMac Apple has sold since 2012, the answer is no — or only through a service provider.
The rule comes from Apple’s own support page, “Install memory in an iMac”, which lists every iMac with user-installable memory and the exact memory each one takes. The 27-inch models from Late 2009 through 2020 are all on that list — and the page gives the full installation procedure for them, which is the strongest signal of all: Apple does not publish step-by-step instructions for a job it does not want you to do.
The contrast with the MacBook is the point of this page. Apple sealed the MacBook Pro’s memory in 2012 and never looked back — our MacBook Pro RAM guide explains why. The 27-inch iMac went the other way: it kept its memory door for eleven years, right up to the last Intel model in 2020. That is why a used 27-inch Intel iMac is still the best-value Mac for anyone who wants to add memory later — and why the 24-inch iMac that replaced it is a different machine in this respect, with the memory built into the chip and fixed at purchase.
One warning before the table: the memory type changes between generations, and the wrong type physically does not fit. A DDR3 module has 204 pins and a DDR4 module has 260 — the notch is in a different place, and forcing it will damage the slot. Identify the model first, buy second. The next two sections show how.
Which iMac models can have their RAM upgraded
The line is drawn by Apple’s own list: the 27-inch Intel iMacs have a rear memory door; the 21.5-inch models from Late 2012 onward do not; the 24-inch Apple Silicon iMacs and the iMac Pro have no user-installable memory at all.
iMac generations and whether their RAM can be upgraded, from Apple's 'Install memory in an iMac' page and the sources below it.
| iMac model | RAM upgradeable? | What it takes |
|---|---|---|
| 27-inch Retina 5K — 2020 | Yes — 4 slots, rear door, no tools | DDR4 2666 MHz, PC4-21333, 260-pin; up to 128 GB (4 x 32 GB) |
| 27-inch Retina 5K — 2019 | Yes — 4 slots, rear door, no tools | DDR4 2666 MHz, PC4-21333, 260-pin; up to 64 GB (4 x 16 GB) |
| 27-inch Retina 5K — 2017 | Yes — 4 slots, rear door, no tools | DDR4 2400 MHz, PC4-2400, 260-pin; up to 64 GB (4 x 16 GB) |
| 27-inch Retina 5K — Late 2015 | Yes — 4 slots, rear door, no tools | DDR3 1867 MHz, PC3-14900, 204-pin; 32 GB official (Apple), 64 GB tested by OWC |
| 27-inch — Mid 2015, Late 2014, Late 2013, Late 2012 | Yes — 4 slots, rear door, no tools | DDR3 1600 MHz, PC3-12800, 204-pin; up to 32 GB (4 x 8 GB) |
| 27-inch and 21.5-inch — Mid 2011, Mid 2010, Late 2009 | Yes — 4 slots, door on the bottom, Phillips screwdriver | DDR3 1333 MHz (2010/2011) or 1066 MHz (Late 2009), 204-pin; up to 16 GB (4 x 4 GB) |
| 21.5-inch — Late 2012, Late 2013, Mid 2014, 2017, Retina 4K 2017, Retina 4K 2019 | No — not removable by users | Memory sits behind the display; an Apple Authorised Service Provider can help (Apple). Exception: the 2017 model's memory is socketed, not soldered — but replacing it means removing the display, a professional job (OWC via EveryMac) |
| 21.5-inch — Late 2015 (incl. Retina 4K) | No — not upgradeable at all | Apple: 'Memory in iMac (21.5-inch, Late 2015), and iMac (Retina 4K, 21.5-inch, Late 2015) is not upgradeable' |
| 24-inch — M1 (2021), M3 (2023), M4 (2024) and later | No — unified memory on the chip | Memory is integrated into the Apple M-series chip package and can't be upgraded (Apple); choose it at purchase |
| iMac Pro — 2017 | No — service only | No user-installable slots, no rear hatch; Apple Store or Authorised Service Provider can swap the RAM. 32 GB base (2666 MHz DDR4 ECC), 64/128 GB at purchase, 256 GB option from March 2019; OWC tested 512 GB |
| 17 / 20 / 24-inch — 2006 to 2009 | Yes — 2 slots, door on the bottom, Phillips screwdriver | DDR2 (2006–2008) or DDR3 (Early 2009), 200/204-pin; 4 GB maximum (2006–2008) to 8 GB (Early 2009) |
Two rows deserve a second look. The first is the 27-inch Late 2015: Apple officially supports 32 GB, but OWC determined that 64 GB actually works in it — four 16 GB modules of the same 1867 MHz DDR3. Treat 32 GB as the supported figure and 64 GB as the tested figure, and buy from a vendor that guarantees compatibility if you go beyond Apple’s number. The second is the 21.5-inch 2017: Apple’s line is that the memory is not removable by users, and that is the practical truth — but OWC discovered the modules are socketed rather than soldered, so a service provider with the tools to remove the display can replace them. Do not read that as a DIY job: the display is glued in, and opening it without the right tools breaks it.
The 2020 model has one quirk of its own. If you mix module capacities, Apple advises minimising the capacity difference between Channel A (slots 1 and 2) and Channel B (slots 3 and 4) — for example, two 16 GB modules in one channel and two 8 GB modules in the other, rather than a lopsided split. For best performance on every model, Apple’s rule is the same: the modules should be the same capacity, speed and supplier.
How to check your iMac in 30 seconds
The model name and year decide everything — and they are one click away. Do not buy RAM, and do not pay anyone to open the iMac, before this check.
- Open Apple menu → About This Mac. Note the model name and year — for example “iMac (Retina 5K, 27-inch, 2020)” — and the memory figure shown there. That window already tells you the total memory installed, including any memory you added yourself.
- Get the details in System Information. Hold the Option key, choose Apple menu → System Information, and under Hardware on the left, click Memory. Apple’s own memory page points to this screen for the detailed picture: the type and speed of each module and which slots are filled.
- Match the model against the table above. A 27-inch Intel iMac from 2012 to 2020 has four slots behind the rear door. A 24-inch iMac, a 21.5-inch iMac from Late 2012 onward, or an iMac Pro does not — and no screwdriver changes that.
- Watch for the size trap. “27-inch” is not enough on its own: the iMac Pro is also 27 inches, and it has no memory door. The model name in About This Mac — “iMac Pro” versus “iMac (Retina 5K, 27-inch, …)” — is what separates them.
A shortcut for the common case: if your iMac is 24 inches and has an M1, M3 or M4 chip, it is sealed — you can skip the table entirely. The full check only matters for the Intel machines, where the same screen size hides very different answers.
How to add RAM to a 27-inch iMac (Apple’s own steps)
On a 27-inch Intel iMac this is a five-minute job with no tools — Apple publishes the procedure itself, and it is the only iMac upgrade Apple documents this way.
- Shut the iMac down and let it cool. Apple warns that the internal components can be warm: wait ten minutes after shutting it down, then disconnect the power cord and all other cables.
- Lay it face-down on a towel. Put a soft, clean towel or cloth on a flat surface, hold the sides of the computer, and slowly lay it face-down so the display is protected.
- Open the memory compartment door. Press the small grey button just above the AC power port — the door opens. Remove it and set it aside. A diagram on the underside of the door shows the memory cage levers and the orientation of the modules.
- Release the memory cage. Push the two levers on the left and right sides of the memory cage outwards to release it, then pull the levers towards you to reach the four slots.
- Swap the modules. Remove a module by pulling it straight up and out. Insert the new one with the notch on the bottom aligned to the slot — the notch sits in a different place on each generation, and the module only fits one way — and press firmly until you feel it click into the slot.
- Close it up and start the Mac. Push both memory cage levers back into the housing until they lock, replace the compartment door, stand the iMac upright, reconnect the cables and start it.
- Wait out the first start. The iMac runs a memory initialisation procedure the first time it starts after a memory change: the display stays dark for 30 seconds or more. Let it finish — do not force a restart. Then check Apple menu → About This Mac: the memory figure should show the new total.
If the iMac does not start, Apple’s troubleshooting is: verify the memory is compatible with your model, check each module is fully seated (a module sitting higher than its neighbours is not in), confirm the cage levers are locked, and let the initialisation finish. If it still fails, remove the new modules and reinstall the originals — if the Mac works again, the new memory is the problem, and the vendor should take it back.
The 2009–2011 models differ in one respect: their memory door is on the bottom of the computer and is held by a Phillips screw — same four slots, same idea, one screwdriver needed. Everything older than that, and every 21.5-inch model from Late 2012 onward, is a different job entirely — see the next section.
What RAM to buy for your iMac
Buy the exact type Apple lists for your generation — the pin count and the speed are not interchangeable, and a module from the wrong generation will not fit.
Memory specifications by iMac generation, from Apple's 'Install memory in an iMac' page. All are unbuffered, nonparity SO-DIMMs.
| iMac generation | Memory type | Maximum |
|---|---|---|
| 27-inch 2020 | DDR4 2666 MHz, PC4-21333, 260-pin SO-DIMM | 128 GB (4 x 32 GB) |
| 27-inch 2019 | DDR4 2666 MHz, PC4-21333, 260-pin SO-DIMM | 64 GB (4 x 16 GB) |
| 27-inch 2017 | DDR4 2400 MHz, PC4-2400, 260-pin SO-DIMM | 64 GB (4 x 16 GB) |
| 27-inch Late 2015 | DDR3 1867 MHz, PC3-14900, 204-pin SO-DIMM | 32 GB official; 64 GB tested (OWC) |
| 27-inch Mid 2015 / Late 2014 / Late 2013 / Late 2012 | DDR3 1600 MHz, PC3-12800, 204-pin SO-DIMM | 32 GB (4 x 8 GB) |
| 27-inch and 21.5-inch Mid 2011 / Mid 2010 | DDR3 1333 MHz, PC3-10600, 204-pin SO-DIMM | 16 GB (4 x 4 GB) |
| 27-inch and 21.5-inch Late 2009 | DDR3 1066 MHz, PC3-8500, 204-pin SO-DIMM | 16 GB (4 x 4 GB) |
| iMac Pro 2017 (service only) | DDR4 2666 MHz ECC | 256 GB (Apple, from March 2019); 512 GB tested (OWC) |
Three buying rules, all from Apple’s page. First, match the type exactly — same speed, same pin count, unbuffered and nonparity; modules with registers, buffers, ECC (except the iMac Pro, which uses ECC), parity or PLLs are not supported. Second, buy matched modules — same capacity, speed and supplier in all four slots, or at least in matched pairs, for best performance. Third, keep the old modules until the new ones have booted and shown the right total in About This Mac: if the iMac refuses to start, the originals are your way back.
How much should you buy? That depends on the work, not on the maximum: the table gives the ceiling, not a recommendation. If you are not sure you need more memory at all, run the check in the next section first — it takes a minute, and it can save you the cost of modules you do not need.
Do you actually need more RAM? Check Memory Pressure first
Most people who ask about a RAM upgrade have never checked whether their iMac is short of memory at all. Apple ships the test built in — it takes a minute, and it can save you a new computer.
- Open Activity Monitor (Command-Space, type “Activity Monitor”), then click the Memory tab.
- Read the Memory Pressure graph at the bottom of the window while you do your normal work — not while the iMac is idle.
- Read the colour, not the free-memory number. macOS deliberately keeps RAM full with cached files, so a small “free” figure on its own means nothing.
What the Memory Pressure colours mean, from Apple's Activity Monitor guide.
| Memory Pressure | What it means | What to do |
|---|---|---|
| Green | Your computer is using all of its RAM efficiently (Apple) | Nothing — the iMac has enough memory for how you work |
| Yellow | Your computer might eventually need more RAM (Apple) | Watch it: if it stays yellow under your normal workload, check which app is using the memory |
| Red | Your computer needs more RAM (Apple) | Quit the heaviest app now; if it stays red, the iMac is genuinely short — upgrade it, if your model allows |
Apple’s advice for yellow or red pressure is specific: check whether one app is using up the memory and driving the pressure up. Sort the Memory tab by the Memory column — the heaviest app sits at the top — and quit it, or restart it if it has been running for days. A single runaway browser tab or an app with a memory leak can turn the graph red on an iMac that is otherwise fine, and no RAM upgrade fixes a leak.
What to do when your iMac’s RAM is sealed
A sealed iMac leaves three honest moves — and only one of them puts more memory in the machine.
- Ask a service provider — for the 21.5-inch models and the iMac Pro. Apple says an Authorised Service Provider can help upgrade the memory on the 21.5-inch models from Late 2012 onward, and can open an iMac Pro to swap its RAM. Confirm before booking that the specific provider offers memory upgrade services — Apple’s own advice — and that it will use the right modules: the 2017 21.5-inch model’s memory is socketed behind a glued-in display, and the iMac Pro takes ECC memory.
- Choose the memory at purchase, next time. On the 24-inch iMac the memory is a configuration option on Apple’s tech specs page — pick it the way you pick storage. For heavy multitasking, large photo libraries or video work, the step up from the base configuration is the cheapest memory you will ever buy for that iMac, because it is the only one.
- Lighten the load, or replace the machine. Quit the apps at the top of Activity Monitor’s Memory list, close browser tabs you are not using, and keep the startup disk from filling up — when memory runs short, macOS swaps data to the disk, and a nearly full disk leaves swap with nowhere to go. Our storage guide helps size what you actually need to keep on the Mac. If Memory Pressure stays red under your normal work and the machine is sealed, the only way to more RAM is a different iMac — and if you buy used, a 27-inch Intel model is the one whose memory you can still add yourself afterwards.
The contrast with the laptop side is worth knowing before you buy anything else Apple: the MacBook Pro sealed its memory in 2012 and never came back, while the 27-inch iMac kept its door until 2020. If upgradeability matters to you, the general question of whether any laptop’s RAM can be upgraded is answered on Can I upgrade my laptop RAM? and the installation steps for a laptop are on How to install RAM in a laptop.
Good to know
Three honest limits. We have not opened an iMac for this page — every fact here comes from Apple’s documentation, EveryMac and MacRumors, cited below, and there is no HowTo markup. The 64 GB figure for the 27-inch Late 2015 and the 512 GB figure for the iMac Pro are tested, not official — Apple officially supports 32 GB and 256 GB respectively, and both are labelled as such wherever they appear. And no prices are quoted on this page: memory prices change too fast to print, and a wrong price is worse than none.
5 mistakes people make about iMac RAM
Almost every disappointment comes from checking the wrong thing — the screen size instead of the model, or the free-memory number instead of the pressure graph.
Mistake 1Buying RAM before checking the exact model.
Fix: Apple menu → About This Mac, then System Information → Memory. A 27-inch 2020 takes DDR4 2666 MHz; a 27-inch Late 2015 takes DDR3 1867 MHz — the modules have different pin counts and the wrong one does not fit.
Mistake 2Trusting the screen size alone — “27-inch, so it must have the door.”
Fix: the iMac Pro is also 27 inches, and it has no memory door and no user-installable slots. The model name in About This Mac — not the size — is what separates them.
Mistake 3Assuming a 21.5-inch iMac has the same door as the 27-inch.
Fix: on the 21.5-inch models from Late 2012 onward the memory is not removable by users — it sits behind the display. Only the 2009–2011 21.5-inch models have a user-accessible door.
Mistake 4Forcing a module in, or panicking at the dark screen on first start.
Fix: the notch only aligns one way — if the module does not seat with a click, it is the wrong type or the wrong way round, not a module that needs force. And the dark screen after the first start is normal: the iMac runs a memory initialisation that takes 30 seconds or more.
Mistake 5Judging by “free memory” instead of Memory Pressure.
Fix: macOS keeps RAM full with cached files on purpose. The Memory Pressure graph is the verdict — green is fine whatever the free figure says, red is short whatever it says.
Your exact model decides everything — memory, storage and charging. Check it before you spend anything.
Common questions
Can you add RAM to an iMac?
Yes — if it is a 27-inch Intel iMac from 2012 to 2020. On every other iMac, the memory is sealed, soldered, or only serviceable by Apple. Apple's own memory page lists the 27-inch iMacs from Late 2009 through 2020 with user-installable memory: four SO-DIMM slots behind a small door on the back of the computer, opened by pressing the grey button above the power port. The 2020 model takes up to 128 GB, the 2019 and 2017 models up to 64 GB, and the 2012–2015 models up to 32 GB. The 21.5-inch iMacs from Late 2012 onward have memory that is not removable by users, the 24-inch Apple Silicon iMacs have unified memory built into the chip, and the iMac Pro has no user-installable slots at all.
Can you add RAM to an iMac 24-inch M1, M3 or M4?
No — on every 24-inch iMac the memory is integrated into the Apple Silicon chip package and cannot be upgraded. Apple's memory page states it plainly in a footnote: 'Memory is integrated into the Apple M-series chip package in 24-inch iMac models released in 2021 or later and can't be upgraded. You can configure the memory in your iMac when you purchase it.' That covers the M1 (2021), M3 (2023) and M4 (2024) models and every later one. There are no memory slots to open and no module to swap — the amount is chosen once, when you order the iMac, exactly as on a MacBook.
How much RAM can a 27-inch iMac take?
Up to 128 GB on the 2020 model, 64 GB on the 2019 and 2017 models, and 32 GB on the 2012–2015 models — all in four slots. Apple's specifications per model: the Retina 5K 27-inch 2020 takes 4 x 32 GB DDR4 2666 MHz modules for 128 GB; the 2019 takes 4 x 16 GB DDR4 2666 MHz for 64 GB; the 2017 takes 4 x 16 GB DDR4 2400 MHz for 64 GB; the Late 2015 takes 4 x 8 GB DDR3 1867 MHz for 32 GB (OWC tested 64 GB in this model, but Apple officially supports 32 GB); and the Mid 2015, Late 2014, Late 2013 and Late 2012 models take 4 x 8 GB DDR3 1600 MHz for 32 GB. All use unbuffered, nonparity SO-DIMMs — 260-pin for the DDR4 models, 204-pin for the DDR3 ones.
Can you add RAM to a 21.5-inch iMac?
Not yourself — Apple says the memory is not removable by users on the 21.5-inch models from Late 2012 onward. An Apple Authorised Service Provider can help. Apple's memory page is explicit: the memory is 'not removable by users' on the 21.5-inch Late 2012, Late 2013, Mid 2014, 2017 and Retina 4K 2017 and 2019 models, and it adds that 'if you'd like to upgrade the memory in one of these models, an Apple Authorised Service Provider can help.' The two 21.5-inch Late 2015 models are worse still — Apple says their memory 'is not upgradeable' at all. One nuance, from OWC via EveryMac: the 2017 21.5-inch model's memory is actually socketed, not soldered, but replacing it means removing the display — a professional job, not a five-minute one. The only 21.5-inch iMacs with a user-accessible door are the 2009–2011 models.
Can you add RAM to an iMac Pro?
Not yourself — the iMac Pro has no user-installable memory slots and no rear hatch. Only Apple or an Apple Authorised Service Provider can swap its RAM. Apple officially states that the iMac Pro has no user-installable slots, and unlike the standard 27-inch iMac it has no memory compartment door on the back — the machine is sealed shut. An Apple Store or an Apple Authorised Service Provider can open it and replace the memory: the base model ships with 32 GB of 2666 MHz DDR4 ECC memory in four slots, configurable with 64 GB or 128 GB at purchase, and Apple added a 256 GB option in March 2019 (OWC tested the machine at 512 GB, but that is not an Apple-supported figure). If you buy a used iMac Pro, check its memory before you pay — you cannot fix a shortfall yourself afterwards.
What RAM does my iMac need, and how do I check what I have?
Check Apple menu → About This Mac for the model and the memory figure, then match the model against Apple's table — the type, speed and pin count differ by generation. First, identify the iMac: Apple menu → About This Mac shows the model name and year and the total memory. For the details — type, speed, and which slots are filled — hold the Option key, choose Apple menu → System Information, and click Memory under Hardware; Apple's own memory page points to this screen. Then match the model to the table on this page: DDR4 2666 MHz 260-pin for the 2019 and 2020 27-inch models, DDR4 2400 MHz 260-pin for 2017, DDR3 1867 MHz 204-pin for Late 2015, DDR3 1600 MHz 204-pin for 2012–2015, DDR3 1333 or 1066 MHz 204-pin for 2009–2011. Buy unbuffered, nonparity SO-DIMMs, in matched pairs where possible — and never order before the model check, because a DDR3 module physically cannot fit a DDR4 slot.
Sources
- Apple Support — Install memory in an iMac (HT201191) (published November 7, 2026; full memory specifications per model: 2020 — 4 slots, 128 GB max, PC4-21333 2666 MHz DDR4; 2019 — 64 GB max, same DDR4; 2017 — 64 GB max, PC4-2400 2400 MHz DDR4; Late 2015 — 32 GB max, PC3-14900 1867 MHz DDR3; Mid 2015 / Late 2014 / Late 2013 / Late 2012 — 32 GB max, PC3-12800 1600 MHz DDR3; 2009–2011 — 16 GB max, 1333/1066 MHz DDR3; installation steps and the grey button above the AC power port; 30-second memory initialisation on first start; footnote 1 — 24-inch M-series memory integrated and not upgradeable; footnote 2 — 21.5-inch Late 2015 not upgradeable; footnote 3 — 21.5-inch Late 2012–2019 memory not removable by users, Authorised Service Provider can help)
- EveryMac — How to Upgrade iMac RAM: 2012–2022 (27-inch Tapered Edge models all easy to upgrade; 21.5-inch models range from needlessly difficult to impossible; 27-inch Late 2015 officially 32 GB, “OWC has determined that 64 GB actually will work”; 21.5-inch Mid-2017 memory “actually is not onboard and can be replaced or upgraded after the initial purchase”, first discovered by OWC)
- EveryMac — How to Upgrade iMac Pro RAM (iMac Pro A1862, iMacPro1,1: “sealed shut and the RAM is not intended to be upgraded by an end user”; Apple: no “User-Installable Slot[s]”; 32 GB of 2666 MHz DDR4 ECC by default, 64/128 GB at purchase, 256 GB option from March 19, 2019; OWC: “actually can support up to 512 GB of RAM”)
- MacRumors — iMac Pro's RAM Can Only Be Upgraded by Apple or Authorized Service Provider (“There is no rear hatch because the RAM in the iMac Pro is not user upgradeable following purchase”; an Apple Store or Authorised Service Provider can swap it)
- Apple Support — Check if your Mac needs more RAM in Activity Monitor (Memory Pressure graph; green: using all RAM efficiently; yellow: might eventually need more RAM; red: needs more RAM; check whether an app is using up the memory)