layer half of the potatoes, half of the caramelized onions, half the bacon, half the cheese, and half the sauce, in that order in the prepared baking dish. repeat. cover baking dish with foil and bake for 1 hour. remove foil and bak an additional 30 minutes or until potatoes are easily pierced with a fork.