clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
an overhead shot of ham and cheese pasta casserole in a white baking dish with a silver spoon resting on the edge.

Ham Mac and Cheese Casserole

This ham and cheese pasta casserole is a creamy, cheesy, 40-minute recipe that is loved by kids and adults! Topped with a crunchy cornflake mixture and baked in the oven, this easy pasta recipe will be on repeat!

  • Total Time: 40 minutes
  • Yield: 6-8 servings 1x


  • 1 (16-oz.) package Farmland Fully Cooked Cubed Ham
  • 8 oz corkscrew pasta or gluten-free pasta of choice, cooked according to the package
  • 2 tablespoons butter
  • 1/4 cup all-purpose flour or gluten-free flour
  • 2 cups whole milk
  • 1/2 cup heavy whipping cream
  • 2 ½3 cups shredded cheese 
  • 1 (8-oz.) bag frozen peas
  • Salt and pepper to taste

Crunchy Topping (Optional)

  • 1/4 teaspoon onion powder
  • 1/4 teaspoon garlic powder
  • 1 tablespoon butter, melted 
  • 1 3/4 cups cornflakes cereal, crushed
  • Salt and pepper to taste



  1. Cook macaroni or desired pasta according to the package directions. 
  2. Melt the butter in a large pot over medium heat. Whisk in flour and cook for a few minutes. Slowly add in milk and whisk to prevent lumping.  
  3. Cook for 3-5 minutes, frequently whisking until the mixture is thick.
  4. Add in the cooked pasta along with the cheese and salt and black pepper. Mix until the cheese is melted and smooth.
  5. Remove the pot from heat and stir in the cubed ham and frozen peas. Let sit until peas and ham are warm. Serve the macaroni and cheese by itself, or complete the next step for additional flavor. 

Cornflake Mixture

  1. OPTIONAL: Combine crushed cornflakes, melted butter, and seasoning in a small bowl and mix until combined. Sprinkle this mixture on top of mac and cheese.
  2. Preheat oven to 350°F. Transfer the dish to a lightly greased 9×13-inch baking dish. 
  3. Bake for 30 minutes in a 350°F oven. Serve.


Nutrition Facts: The Nutrition facts for this recipe include the crunchy cornflake topping. 

Dairy-Free: Use dairy-free alternatives to butter, milk, cream, and cheese in the same quantities.

Storage: Store your leftover ham mac and cheese in the refrigerator for up to 4 days. Add a little butter and reheat individual portions in the microwave. Give it a good stir and serve!

  • Author: Ashley McCrary
  • Prep Time: 10 minutes
  • Cook Time: 30 minutes
  • Category: Main Dish
  • Method: Stovetop/Oven
  • Cuisine: American
  • Diet: Gluten Free

Keywords: ham and cheese pasta, ham mac and cheese