The layer with the greatest temperature and pressure is the Lower Mantle.
The lower mantle is a region within the Earth's mantle, which is the layer between the crust and the outer core. It extends from a depth of about 660 kilometers (410 miles) to approximately 2,891 kilometers (1,796 miles) below the Earth's surface. This is because the pressure in the Lower Mantle is much greater than the pressure in the Outer Core, even though the temperature in the Outer Core is slightly higher.
The pressure in the Lower Mantle is so great that it forces the atoms in the mantle to pack together very tightly, which makes it very dense. This density is what traps the heat in the Lower Mantle and prevents it from escaping to the surface.