The best type of foundation for a house depends on the climate and soil you’re building in. For example, in a marshy area, you’ll likely want deep piles set to the bedrock with the house built on top of these, while in an arid climate with a high water table, you’ll likely go with a slab on grade. Basements work great in most areas so long as the water table is low and there’s space to excavate a hole.