The average annual bill for customers in London and the South East will rise to £588 by 2030, water regulator Ofwat said, £152 more than the current £436.
Most of that increase, about £108 of the £152, will be front-loaded to the next financial year – the 12 months from April 2025.
The permitted rise in bills falls well short of the 59% Thames Water had said it needed.
The company, which serves about 16 million people in London and the South East, needs a £3 billion loan from creditors to keep running past March.
Ofwat said the £18.2 million fine was for paying £158.3 million in dividends to shareholders which it said were not justified.
The regulator said it will make Thames Water hand back £131.3 million through reductions in customer bills.
Ofwat chief executive David Black said the penalty was “a clear warning to the whole sector” over “unjustified dividend payments”.
He added: “We will take action against companies who take money out of these businesses, where performance does not merit it.”
Thames Water has more than £16 billion of debt, and earlier this week held the first of several high court hearings over its proposed £3 billion bailout.
Investment firms that drew up the deal – including BlackRock, Abrdn and M&G – said they need a sizeable increase in bills to make it happen.
It is unclear whether the 35% bills hike will be deemed enough for the bailout to go through, after the investors also held talks with Ofwat in recent weeks.
Thames Water said earlier this year that failing to grant it the bills hike “would also prevent the turnaround and recovery of the company”.
Bosses now have the option to refer Ofwat’s decision to the Competition and Markets Authority.
That would kick off a fresh process that could lead to consumers waiting months longer to find out how much they will have to pay over the coming years.
If it does not get the £3 billion bailout, Thames Water is likely to fall into public hands via a Government-handled administration, which could be costly for the taxpayer.
Thames Water said it will tell customers how much more they will pay next year by early February.
Ofwat said the steep hike in bills would allow Thames Water to spend £20.5 billion on improving its network of pipes, sewers and drains over the next five years.
The regulator set targets of reducing spills from storm overflows by 29% and reducing pollution incidents by 30%.
The utility firm said that the “deliverability and investability” of Ofwat’s decision to allow bills to rise is “critical to the company’s future”.
It said: “Given its importance and complexity, Thames Water will take time to review the determination in detail before making its response.
“The company will set out by early February the charges for customers that will apply from April 2025.
“These charges will reflect Ofwat’s final determination, and Thames Water remains committed to supporting those customers who need help with their bills.”
The company said bosses “remain focused on maintaining the stability of the business” as it seeks a £3 billion loan bailout from investors.
A spokesperson added that they “disagree” with Ofwat’s dividend fine and will be providing a comprehensive response in due course.
Thames Water says it paid the dividends to its parent company at the time, a group of investment firms including Australian finance giant Macquarie, to pay off debts.
“No distributions have been made to external shareholders of the group and they have not taken an external dividend since 2017,” the spokesperson said.
They added that this was “to prioritise investment in improving service for customers and to protect the environment”.
“Our plans assume no external dividends to shareholders until at least 2030, to support our turnaround,” they said.
Reporting by PA