Polymeric thin films have been awakening continuous and growing interest for application in nanotechnology. For such applications, the assessment of their (nano)mechanical properties is a key issue, since they may dramatically vary between the bulk and the thin film state, even for the same polymer. Therefore, techniques are required for the in situ characterization of mechanical properties of thin films that must be nondestructive or only minimally destructive. Also, they must also be able to probe nanometer-thick ultrathin films and layers and capable of imaging the mechanical properties of the sample with nanometer lateral resolution, since, for instance, at these scales blends or copolymers are not uniform, their phases being separated. Atomic force microscopy (AFM) has been proposed as a tool for the development of a number of techniques that match such requirements. In this review, we describe the state of the art of the main AFM-based methods for qualitative and quantitative single-point measurements and imaging of mechanical properties of polymeric thin films, illustrating their specific merits and limitations.