Sweet potato pie has a pie crust and a casserole is made in a casserole dish without a crust. Also, in a pie, the sweet potato is pureed. In a casserole, you can just mush the sweet potato That's the main difference between the two. Otherwise, in taste they are similar.