The second step to avoid foundation failure on expansive soils is to design suitable foundations that can accommodate the soil movements and minimize the stress on the structure. Depending on the soil characteristics, the structural load, and the site conditions, there are different types of foundations that can be used. Deep foundations, such as piles, piers, or caissons, transfer the load to a stable soil layer below the expansive soil zone. Shallow foundations, like mat or raft foundations, spread the load over a large area and reduce differential settlement. Voided foundations, like suspended slab or waffle slab foundations, create a gap between the soil and structure and allow for expansion and contraction. Isolated foundations, such as pad or strip foundations, are separated from adjacent foundations and structures by joints or flexible connections. When properly designed, these foundations can help ensure that your structure is secure.