The Financial Services Authority said HBOS's corporate division took too many risks from the start of 2006, leaving it vulnerable to the financial downturn.
Tracey McDermott, FSA acting director of enforcement, said:
"The conduct of the Bank of Scotland illustrates how a failure to meet regulatory requirements can end not just in massive costs to a firm, but losses to shareholders, taxpayers and the economy.
"Banks and other firms have to manage their business by ensuring that their systems and controls are appropriate for the risks that they are running."
More top news
Find out what to expect from the weather if you are running in the big race in London or watching from the sidelines.
It will be a soggy start to the weekend and temperatures will drop making it feel colder than in recent days.
A British couple with a combined age of 194 are to become the world's oldest newlyweds when they marry in the summer.