Preheat oven to 350˚F. Melt the butter in a pan over medium heat. Add the onions and saute for 2 minutes.
Stir in the flour, salt, and pepper. Cook for 2 minutes, stirring constantly.
Slowly whisk in the milk until the clumps of flour have dissolved.
Bring to a boil while stirring. Cook and stir for 2-3 minutes or until thickened.
Arrange half of the potatoes in a greased 11x7-inch (2.5-quart) casserole dish.
Top with half of the sauce. Repeat with a second layer. Dot with butter.
Cover with foil and bake for 30 minutes. Uncover and continue baking for 50-60 minutes until tender. For added color, brown under broiler for 1-2 minutes, if desired. Garnish with a bit of parsley.
Video
Notes
Cheesy Scalloped Potatoes
After you remove the sauce from the heat, stir in one cup of shredded cheddar cheese until melted. Then, follow the recipe as directed, making the two layers and baking the casserole.
Scalloped Potatoes and Ham
Divide 1 1/2 cups of diced ham between the layers (3/4 cup on the bottom layer and 3/4 cup on the top layer). Then, bake as directed.
Better with Bacon
Add between 1/2 to 1 cup of cooked bacon crumbles to the casserole.
Add More Onion
Divide one cup of thinly sliced onions between the bottom and top layer. Bake as directed.
Storage
Allow the dish to cool and cover it with plastic or transfer it to an airtight container and store it in the fridge for up to 3 days or transfer it to a freezer-safe container and store it in the freezer for up to 2 months.