Nature Reviews Physics, Published online: 04 June 2026; doi:10.1038/s42254-026-00956-3 Forty years after its invention, atomic force microscopy has evolved from a simple surface imaging tool into one of the most versatile measurement platforms in nanoscience. This Comment traces the key innovations.