Of the total, $25 million (roughly Rs. 165 crores) will go to state agencies. Each customer affected will receive $100 (roughly Rs. 6,600).
About $432,000 (roughly Rs. 2.8 crores) more will go to about 200 law enforcement officers, judges and domestic abuse victims who said they faced safety concerns because of the leak, which occurred from 2010 to 2012.
California's Attorney General Kamala Harris called the leak a "troubling breach of privacy."
"Violations of consumers' privacy will result in significant penalties," she said Thursday in a statement announcing the settlement.
Philadelphia-based Comcast apologised and applauded the settlement.
The breach occurred when a system upgrade failed to mark listings data of customers who paid as much as $1.50 a month to keep their information private on top of what they paid Comcast for Internet-based phone service.
The data was published online and in phone books after it was sold through a listings data licensing company. In 2013, Comcast refunded about $2.5 million (roughly Rs. 16 crores) to customers, covering the period their information was inadvertently made public.
Comcast, which became a TV powerhouse by signing up Generation Xers, baby boomers and their parents, earlier this month showed its intentions to fight for millennial eyeballs. The TV giant is investing in online media outlets like BuzzFeed and Vox that attract young viewers. It's setting up a streaming TV service for millennials who don't watch a boob tube. And it's developing a YouTube-like video app and website.
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.