Maryland (15-4, 3-3 Atlantic Coast Conference) improved to 13-1 at home despite committing 14 turnovers and shooting only 42 percent. It was the Terrapins' second win in five games after a 13-1 start.
Ryan Anderson scored 19 and Oliver Hanlan had 18 for the Eagles (9-9, 1-4). Boston College has lost four of five, with those defeats coming by a total of 14 points.
During a tight second half, neither team led by more than three points until Layman made a 3-pointer to put Maryland up 48-43 with 9:12 to go, part of a 12-1 run that turned a 43-40 deficit into a 52-44 advantage. Five different players scored in the spree, which began with a 3 by Logan Aronhalt and ended with a dunk by the 7-foot-1 Len.