The foundation repair cost varies depending on the exact issue, but the most expensive foundation repairs are projects that require extensive work and structural repair. This includes a total foundation replacement and repairs requiring advanced and specialized engineering methods that may involve costlier materials and labor.