We describe a new method for the in situ measurement of the density of a liquid at high pressure and high temperature using the falling-sphere technique. Combining synchrotron radiation X-ray radiography with a large-volume press, the newly developed falling-sphere method enables the determination of the density of a liquid at high pressure and high temperature based on Stokes' flow law. We applied this method to liquid sulfur and successfully obtained the density at pressures up to 9 GPa. Our method could be used for the determination of the densities of other liquid materials at higher static pressures than are currently possible.