Amazon holiday deals See deals →ad

Baked Spaghetti Hawaii: Ham, Pineapple and Cheese

Baked spaghetti Hawaii is a comforting pasta casserole with a tomato-based sauce, savory ham, sweet pineapple and a golden cheese topping. Baking brings the flavors together while keeping the pasta tender, and the sweet-salty contrast makes this an easy crowd-pleaser for weeknight dinners or potlucks.

Ingredients

  • 12 ounces (340 g) dried spaghetti
  • 1 tablespoon olive oil
  • 1 small yellow onion, finely chopped
  • 2 garlic cloves, minced
  • 8 ounces (225 g) cooked ham, cut into small cubes
  • 1 can (14.5 ounces/411 g) crushed tomatoes
  • 1 cup (240 ml) tomato sauce or passata
  • 1 tablespoon tomato paste
  • 1 teaspoon dried oregano
  • ½ teaspoon dried basil
  • ¼ teaspoon black pepper
  • ¼ teaspoon fine salt, plus more for the pasta water
  • 1 can (8 ounces/227 g) pineapple chunks, drained well and patted dry
  • 1½ cups (150 g) shredded mozzarella, divided
  • ½ cup (50 g) grated Parmesan, divided
  • 2 tablespoons chopped fresh parsley, optional

Instructions

  1. Heat the oven to 375°F (190°C). Lightly grease a 9-by-13-inch (23-by-33-cm) baking dish. Set a large pot of salted water over high heat.
  2. Cook the spaghetti until just shy of al dente, following the package’s timing and stopping about 2 minutes early. It will continue cooking in the oven. Drain well; do not rinse, as the starch helps the sauce cling.
  3. While the pasta cooks, warm the olive oil in a large skillet or saucepan over medium heat. Add the onion and cook for 4–5 minutes, stirring occasionally, until softened. Add the garlic and cook for 30 seconds, just until fragrant.
  4. Stir in the ham, crushed tomatoes, tomato sauce, tomato paste, oregano, basil, pepper and salt. Bring the sauce to a gentle simmer, then cook uncovered for 8–10 minutes, stirring occasionally. Taste and adjust the seasoning, keeping in mind that ham and Parmesan are already salty.
  5. Turn off the heat. Stir in the drained pineapple, cooked spaghetti, 1 cup (100 g) of the mozzarella and ¼ cup (25 g) of the Parmesan. Toss until the noodles are evenly coated. If the mixture looks dry, add a splash of water; it should be saucy but not soupy.
  6. Transfer the mixture to the prepared dish and spread it into an even layer. Scatter the remaining ½ cup (50 g) mozzarella and ¼ cup (25 g) Parmesan over the top.
  7. Bake uncovered for 20–25 minutes, until the sauce bubbles around the edges and the cheese is melted with lightly browned spots. For a deeper golden top, broil for 1–2 minutes at the end, watching closely so the cheese does not burn.
  8. Let the casserole rest for 5–10 minutes before serving. Sprinkle with parsley if you like. For food safety, if checking the center with a thermometer, it should reach 165°F (74°C), especially when reheating a previously chilled casserole.

Tips

  • Drain the pineapple thoroughly. Excess juice can make the casserole watery. Pat the chunks dry with paper towels, and cut large pieces in half for more even bites.
  • Stop short of fully cooking the pasta. Spaghetti that is already soft before baking can turn mushy. If your brand cooks quickly, begin checking it a few minutes before the package time.
  • Choose ham with a flavor you enjoy. Leftover roast ham, thick-cut deli ham or cooked ham steak all work. Avoid adding much extra salt until you taste the sauce.
  • Make ahead carefully. Assemble the casserole up to a day ahead, cover and refrigerate. Let it sit out only while the oven heats, then bake covered for about 15 minutes and uncovered for 15–20 minutes, until hot throughout. If it is cold in the center, allow extra time and check for 165°F (74°C).

Serving Suggestions

Serve the casserole hot, cut or scooped into portions after its brief rest. A crisp green salad with a tangy vinaigrette balances the rich cheese and sweet pineapple. Steamed broccoli, roasted green beans or sautéed vegetables are easy sides, while garlic bread is useful for catching any extra sauce. For a family meal, offer chili flakes or black pepper at the table so everyone can season their own serving.

Variations

Use cooked, diced chicken in place of ham, or try a mixture of ham and chicken. For a smoky flavor, add a small amount of cooked bacon, but reduce the added salt. You can replace some or all of the mozzarella with Monterey Jack or a mild cheddar; choose a cheese that melts well. If you prefer less sweetness, use half the pineapple or swap the chunks for well-drained crushed pineapple. To add vegetables, stir in up to 1 cup of sliced mushrooms, chopped bell pepper or thawed peas; cook fresh vegetables with the onion, and drain thawed vegetables before adding. For a little heat, add a pinch of red pepper flakes to the sauce.

Storage and Reheating

Refrigerate leftovers in a shallow airtight container within 2 hours of baking (within 1 hour if the room or outdoor temperature is above 90°F/32°C). They keep for 3–4 days in a refrigerator set at 40°F (4°C) or colder. Reheat individual portions in the microwave, covered loosely, stirring or turning halfway through, until steaming hot and 165°F (74°C) in the center. To reheat a larger amount, cover the dish with foil and bake at 350°F (175°C) until hot throughout, usually 20–30 minutes depending on portion size; uncover near the end if you want to refresh the cheesy top. Add a spoonful of water or tomato sauce if the pasta seems dry. For longer storage, freeze portions in airtight, freezer-safe containers for up to 2 months for best quality. Thaw overnight in the refrigerator and reheat to 165°F (74°C); avoid repeated cooling and reheating.

Related

Frequently Asked Questions

Can I use fresh pineapple?
Yes. Cut it into bite-size pieces and drain or blot away excess juice before stirring it in. Fresh pineapple is often less sweet than canned, so taste the sauce before assembling.

Can I prepare this without baking it?
Yes. Cook the spaghetti fully, simmer the sauce until the ham is hot, then toss everything together with the pineapple and cheese. The oven gives the casserole a browned, cohesive top, but the stovetop version works when you need dinner sooner.

Why did my baked spaghetti turn watery?
The most common causes are wet pineapple, excess pasta water or a sauce that was too thin. Drain the pasta well, pat the pineapple dry and simmer the sauce until it lightly coats a spoon before mixing.

Can I use a different kind of pasta?
Yes. Short shapes such as penne, rigatoni or fusilli hold the sauce well. Cook them about 2 minutes less than the package’s al dente time before baking, and use the same total quantity by weight.

Can I freeze the casserole before baking?
It is possible, though pasta may soften slightly after thawing. Assemble it in a freezer-safe dish, wrap it tightly and freeze for up to 2 months. Thaw overnight in the refrigerator before baking, and cook until the center reaches 165°F (74°C). Do not put a frozen glass dish directly into a hot oven.

How do I keep the cheese from browning too quickly?
Bake on the center rack and cover loosely with foil if the top gets dark before the middle is hot. Remove the foil for the final few minutes if you want the cheese to brown.