Protection against loss of excitation (LOE) in synchronous generators is requisite because of its harmful effects on both the generator and power system. This paper proposes a setting-free method to detect loss of excitation in synchronous generators. To this end, a flux-based method which is based on derivative of the flux is proposed in order to detect the fault. Because of negative amount of the flux derivative or rate of the flux variation at the LOE moment, it can be a good index to specify the fault. The proposed method does not require any threshold to act in different situation, for example, in different loads or existence of the FACTs devices. It should be stated that proposed relay will operate without any delay in all the mentioned situations. In order to validate the operation of the proposed method, some simulations have been done in MATLAB/Simulink software.