Fry the bacon in a large skillet over medium heat until crispy. Remove from the pan, let cool slightly, then chop into small pieces. Drain most of the bacon grease from the skillet, leaving just enough to coat the bottom.
Add butter to the same pan and let it melt. Sprinkle in the flour and whisk continuously for 2–3 minutes until it turns a golden brown color.
Slowly pour in the milk, whisking constantly to avoid lumps, until it becomes a smooth, thick sauce.
Season the sauce with garlic powder, onion powder, paprika, cayenne, black pepper, and mustard.
Lower the heat and add the cheese a handful at a time, stirring until melted and creamy.
Add the cooked pasta and bacon pieces into the cheese sauce and stir until everything is coated.
Transfer the mac and cheese to a baking dish and bake at 375°F for 15–20 minutes until the top is golden and bubbly.