Depending on the issue, the cost of repairing a foundation can vary significantly. Something as small as a minor foundation or wall crack can cost a few hundred dollars to repair. Something as large as major water damage or a foundation replacement can cost thousands or tens of thousands of dollars.