In a large mixing bowl, combine the diced potatoes, shredded cheddar cheese, sour cream, cream of mushroom soup, chopped onion, crumbled bacon, salt, and black pepper. Mix well.
Transfer the mixture to a greased baking dish and spread it out evenly.
Bake in the preheated oven for 45 minutes, or until the top is golden brown and the potatoes are tender.
Let it cool for a few minutes before serving. Enjoy!
Notes:
This casserole is perfect for a cozy family dinner. Feel free to add more cheese or bacon to suit your taste.