We measure the electrical resistivity of hcp iron up to ∼170 GPa and ∼3000 K using a four-probe van der Pauw method coupled with homogeneous flattop laser heating in a DAC, and compute its electrical and thermal conductivity by first-principles molecular dynamics including electron-phonon and electronelectron scattering. We find that the measured resistivity of hcp iron increases almost linearly with temperature, and is consistent with our computations. The results constrain the resistivity and thermal conductivity of hcp iron to ∼80 AE 5 μΩ cm and ∼100 AE 10 Wm −1 K −1 , respectively, at conditions near the core-mantle boundary. Our results indicate an adiabatic heat flow of ∼10 AE 1 TW out of the core, supporting a present-day geodynamo driven by thermal and compositional convection.