The invention relates to an electrical fire detector based on temperature detection. The electrical fire detector is provided with a constant flow source for a temperature measurement circuit, and the constant flow source comprises a digital analog converter (DAC) input module, a first summator circuit, a differential input operational amplifying circuit, a second summator circuit, a reverse amplifying circuit and a metal oxide semiconductor field effect transistor (MOSFET) switching circuit; an input end of the first summator circuit is connected with an output end of the differential input operational amplifying circuit and an output end of the second summator circuit, and an output end of the first summator circuit is connected with a grid electrode of a MOSFET; an input end of the reverse amplifying circuit is connected with the output end of the differential input operational amplifying circuit, and an output end of the reverse amplifying circuit is connected with an input end of the second summator circuit; the DAC input module is connected with the input end of the second summator circuit; and a same direction input end of the differential input operational amplifying circuit is connected with a source electrode of the MOSFET, and a reverse input end of the differential input operational amplifying circuit is grounded. According to the electrical fire detector, by means of the constant flow source for the temperature measurement circuit, four operational amplifying circuits are used for achieving double closed-loop dual feedback control, the accuracy of constant current is high, the responding speeds are high, and the generality is good.