Write i before e (believe, yield, reprieve) except after c. After c reverse the spelling (ei): ceiling, perceive, conceit.
The after c rule works only when ei and ie sound like the ee in feet. If the vowel combination has any other sound, you should write ei even after letters other than c: foreign, vein, freight.
© Department of English, Faculty of Arts, University of Ottawa, 2013