Preheat oven to 350°F. Cook spaghetti al dente according to package instructions. Drain and return to pot.
Add cubed cream cheese to hot spaghetti and toss until fully coated and melted into a creamy sauce.
In a skillet over medium-high heat, brown ground beef until cooked through, 6-8 minutes. Drain excess fat.
Add Italian seasoning and garlic to beef. Cook 1 minute until fragrant.
Pour in marinara sauce and simmer 5 minutes.
Spread a thin layer of beef marinara sauce in the bottom of a 9x13 baking dish.
Top with cream cheese coated spaghetti, then remaining beef marinara sauce.
Sprinkle evenly with mozzarella and parmesan cheeses.
Bake for 30 minutes until hot and bubbly.
Let stand 5 minutes before serving. Enjoy!