Gas and electricity supplier npower has written to its 3.4 million domestic customers and donated £1 million to vulnerable consumers after billing errors led to it being the most complained-about energy company.
Regulator Ofgem said there had been a "serious deterioration" in customer service levels after the German firm admitted a glitch had led to a number of errors.
The errors included; a number of bills and statements failing to go out on time, direct debit payments not being set up properly and some customer accounts having problems being started
npower chief executive Paul Massara said that anyone affected would not lose out financially as a result in his letter to customers.
Ofgem said it had been increasingly concerned about npower's customer complaint levels, which have risen sharply in the last year, but welcomed the apology and payment.
More top news
The Foreign Office should relax travel advice on Tunisia, the country's ambassador has said, after UK tourism to the country plummeted 90%.
Family holidays to Europe could rise by an average of £230 if Britain leaves the EU, the prime minister is warning.
The social network faced fury after it barred a feminist group's image for an event promoting body diversity and acceptance.