Thoroughly inspected by Toby.
Select your 2012 iMac to ensure that you're purchasing the correct RAM for your model. Whether or not the internal memory is compatible depends on your iMac model. Is your Mac not listed? In that case, the memory of your model can't be expanded.