Preheat the oven to 350 degrees F. Butter a 9-by-13-inch ovenproof casserole dish.
Bring a large pot of salted water to a boil. Add the macaroni and cook until tender (a little more than al dente), about 12 minutes. Drain well in a colander.
In a large bowl, combine the macaroni, cheese, milk and eggs. Add some salt and pepper. Transfer to the prepared dish.
Bake until golden brown and bubbly, about 30 minutes. Transfer to a rack to cool slightly before serving.