The Terps also secured wide receiver Marcus Fleming as a transfer from Nebraska.
He entered the transfer portal Aug. 21.
Tagovailoa transferred from Alabama in May.
The quarterback had announced his intent to leave the program in early February.
Bernhardt compiled over 4,000 all-purpose yards and more than 30 touchdowns for Lake Brantley High School in Florida.