A ceramic that becomes more electrically conductive under elastic strain and less conductive under plastic strain could lead to a new generation of sensors embedded into structures like buildings, bridges and aircraft able to monitor their own health.