1. Dial the IMEI code. You can retrieve the IMEI/MEID number on virtually any phone by dialing in the universal code. Dial *#06#. You typically will not need to press the Call or Send button, as the IMEI/MEID number will appear as soon as you finish dialing the code.
2. Look at the back of your iPhone 5 or original iPhone. The iPhone 5, 5c, 5s, and the original iPhone have the IMEI number engraved on the back of the phone, near the bottom. If you need the MEID number, take the same number but ignore the last digit (IMEI is 15 digits, MEID is 14 digits).