Please follow http://www.irs.gov/uac/Newsroom/Deducting-Moving-Expenses.