Preheat oven to 350°F.
In a large bowl, combine the beef, bread crumbs, onion, eggs, salt and pepper, and mix well. Pat out 1/3 of the meat mixture into a 9"x13" baking dish. Sprinkle 1/2 of the cheese on top of the meat (avoid the edges). Top with 1/3 of the meat mixture. Seal the edges. Repeat with another layer of cheese and the remaining meat mixture, sealing the edges again.
Bake in the preheated oven 1 hour, or until internal temperature reaches 160° F.