Perovskite oxides find applications or are studied in many fields related to energy production, accumulation and saving. The most obvious application is oxygen or proton conductors in fuel cells (SOFCs), but the (anti)ferroelectric compositions may find application in high energy capacitors for energy storage, efficient electrocaloric cooling, and electromechanical energy harvesting. In SOFCs, the diffusion of O vacancies and other mobile ionic species, such as H + , are at the base of the functioning of the device, while in the other cases they constitute unwanted defects that reduce the performance and life-time of the device. Similarly, the (anti)ferroelectric phase transitions are a requisite for the use of some types of devices, but the accompanying domain walls can generate extended defects detrimental to the life of the material, and structural phase transformations should be avoided in SOFCs. All these phenomena can be studied by mechanical spectroscopy, the measurement of the complex elastic compliance as a function of temperature and frequency, which is the mechanical analogue of the dielectric susceptibility, but probes the elastic response and elastic dipoles instead of the dielectric response and electric dipoles. The two techniques can be combined to provide a comprehensive picture of the material properties. Examples are shown of the study of structural transitions and hopping and tunneling processes of O vacancies and H in the ion conductor BaCe 1−x Y x O 3−x and in SrTiO 3−x , and of the aging and fatigue effects found in PZT at compositions where the ferro-and antiferroelectric states coexist.