Disclosed are an electric cooker with a post-fermentation function and a making method of fermented foods. The electric cooker includes an electric rice cooker, an electric soup pot, an electric hot pot, an electric stewpot, an electric steamer, a normal-pressure electric wok including an electric frying wok, a high-pressure electric pot, an electric kettle, a bread maker and a steamed bun maker. A control device of the electric cooker is provided with a fermented food making control program. The making method of the fermented foods includes a pre-treatment phase A, a cooking phase B, a cooling phase B1 and a fermenting phase C. The electric cooker and the making method of the fermented foods have the advantages that the soaking, steaming, bacteria mixing and fermenting steps required by the making of homemade natto are combined in a whole, and the whole course of soaking, cooking, cooling and fermenting can be automatically completed just after a user put food materials, water and edible fermentation bacteria into an inner pot or inner bucket of the electric cooker at one time and presses a button to start the electric cooker, the process is very simple and easy, complexity in making of the homemade natto is greatly reduced, and accordingly, full-automatic making of the natto is achieved and the development trend of the modern society is met.