Baked feta pasta is the rare viral recipe that became a permanent resident in my kitchen. I love that the oven does the sauce-making while I boil pasta and set the table. The tomatoes slump and sweeten, the feta turns soft and tangy, and when you stir it all together it becomes this creamy, jammy sauce that tastes like you tried much harder than you did.
After making it many times, my biggest tip is to choose feta in brine packed as a block, not crumbles. Crumbles are coated so they do not melt the same way, and the sauce can turn dry or grainy. I also add the garlic after roasting, not before, because 35 minutes in a hot oven can make garlic bitter; stirring it into the hot tomatoes at the end keeps the flavor fresh and punchy. I have learned to give the tomatoes a head start in choosing the right dish, too. A wide baking dish lets them roast and caramelize at the edges instead of steaming in a deep pile, and that roasted flavor is the backbone of the sauce. If your tomatoes are especially juicy, do not panic when the dish looks soupy at first; the feta and hot pasta pull it together into a sauce with body.