The surface of Saturn's largest satellite--Titan--is largely obscured by an optically thick atmospheric haze, and so its nature has been the subject of considerable speculation and discussion. The Huygens probe entered Titan's atmosphere on 14 January 2005 and descended to the surface using a parachute system. Here we report measurements made just above and on the surface of Titan by the Huygens Surface Science Package. Acoustic sounding over the last 90 m above the surface reveals a relatively smooth, but not completely flat, surface surrounding the landing site. Penetrometry and accelerometry measurements during the probe impact event reveal that the surface was neither hard (like solid ice) nor very compressible (like a blanket of fluffy aerosol); rather, the Huygens probe landed on a relatively soft solid surface whose properties are analogous to wet clay, lightly packed snow and wet or dry sand. The probe settled gradually by a few millimetres after landing.