The chemical properties of an element are primarily governed by the configuration of electrons in the valence shell. Relativistic effects influence the electronic structure of heavy elements in the sixth row of the periodic table, and these effects increase dramatically in the seventh row--including the actinides--even affecting ground-state configurations. Atomic s and p1/2 orbitals are stabilized by relativistic effects, whereas p3/2, d and f orbitals are destabilized, so that ground-state configurations of heavy elements may differ from those of lighter elements in the same group. The first ionization potential (IP1) is a measure of the energy required to remove one valence electron from a neutral atom, and is an atomic property that reflects the outermost electronic configuration. Precise and accurate experimental determination of IP1 gives information on the binding energy of valence electrons, and also, therefore, on the degree of relativistic stabilization. However, such measurements are hampered by the difficulty in obtaining the heaviest elements on scales of more than one atom at a time. Here we report that the experimentally obtained IP1 of the heaviest actinide, lawrencium (Lr, atomic number 103), is 4.96(+0.08)(-0.07) electronvolts. The IP1 of Lr was measured with (256)Lr (half-life 27 seconds) using an efficient surface ion-source and a radioisotope detection system coupled to a mass separator. The measured IP1 is in excellent agreement with the value of 4.963(15) electronvolts predicted here by state-of-the-art relativistic calculations. The present work provides a reliable benchmark for theoretical calculations and also opens the way for IP1 measurements of superheavy elements (that is, transactinides) on an atom-at-a-time scale.