The money is coming from Sport England.
325 swimming pools and leisure centres have received grants to help boost their energy efficiency and keep running costs down.
The money will help fund projects such as installing solar panels, pool covers, LED lighting and improving insulation.