No, you don't have to cook the potatoes before putting them in the casserole. The potatoes will be cooked in the casserole. If you want softer potatoes you can soak them in the custard overnight.