Mars also issued a statement thanking the MI fans for supporting the cause.
Mars says in a statement that "as people, especially as Americans, we need to stand together to make sure something like this never happens in any community ever again".
Saturday's Palace show was the latest stop on Mars' 24K Magic World Tour.
Hopefully, this will prove to be a reminder that the crisis in Flint is still ongoing and that many are still lacking safe, drinkable water.
Bruno Mars is spreading a little 24K Magic around by taking the profits from his current tour and using them to fund - and inspire - some necessary change. With the water not properly treated through its processing, it led to alarmingly high levels of lead with thousands exposed to contaminated water, including children.
Taylor Swift Testifies Against DJ in CourtAP
His surprise announcement came toward the end of the sold-out show, during a pause in the song "Just the Way You Are".
Foundation president Isaiah M. Oliver said he is "touched" by Mars' generosity.
Bruno Mars did a seven-figure solid for the city of Flint, Mich., during his show on Saturday night (Aug. 12) in suburban Detroit.
The Flint Water Crisis has been ongoing since 2014, and the Community Foundation has made continued efforts to battle the issues faced by the city. Beyoncé, Big Sean, Diddy, Eminem, and Wiz Khalifa are among other celebrities who have donated money and/or water to the victims of the crisis.