The course introduces students to the fundamentals of the mechanics of soils and fluid-infiltrated porous media. The first part is devoted to the constitutive behavior of soils in dry conditions, while the second part accounts for the presence of pore water.