You can purchase additional coverage to cover these risks. Your homeowner’s insurance company is even legally required in California to charge an additional fee for earthquake insurance.
Insurance for earthquakes and floods can help pay for foundation repairs that are specifically related to the disaster. However, there may still be exclusions.