Maximum memory for 2011 iMac
If you have the 27" iMac MacTracker says it supports up to 32GB, even though Apple only says it supports 16GB. The 21.5" iMac can only support 8GB either way. OWC, a reputable memory retailer, started selling 32GB upgrade kits for the 2011 iMac last year.