Preheat the oven to 350°F. In a large bowl, combine the ground beef, breadcrumbs, egg, milk, onion, garlic, salt, and pepper. Mix gently with your hands until just combined.
Shape the mixture into a loaf and place it in a baking dish.
In a small bowl, stir together the apricot preserves, Dijon mustard, and brown sugar until smooth.
Spread the glaze evenly over the top and sides of the meatloaf.
Bake for 50 to 55 minutes, or until the internal temperature reaches 160°F. Let the meatloaf rest for 5 minutes before slicing.