The serial number on an old iMac is located on the back of the computer, near the power cord.