Tempeh or tempe (; , ) is a traditional Indonesian food made from fermented soybeans. It is made by a natural culturing and controlled fermentation process that binds soybeans into a cake form. A fungus, Rhizopus oligosporus or Rhizopus oryzae, is used in the fermentation process and is also known as tempeh starter.
It is native of the island of Java, where it is a staple source of protein. Like tofu, tempeh is made from soybeans, but it is a whole-soybean product with different nutritional characteristics and textural qualities. Tempeh's fermentation process and its retention of the whole bean give it a higher content of protein, dietary fiber, and vitamins. It has a firm texture and an earthy flavor, which becomes more pronounced as it ages.
Etymology The term tempe is thought to be derived from the Old Javanese , a whitish food made of fried batter made from sago or rice flour which resembles rempeyek. The historian Denys Lombard also suggests that it could be linked to a later term or tapai which means 'fermentation'.
In the western world, tempeh rather than tempe is the most common spelling, to emphasise that the final "e" is pronounced. The first known usage of this spelling is in an 1896 German article. Other spellings, such as témpé, were also used, but tempeh has become the standard spelling in English since the 1960s.
History
Tempeh originated in Indonesia. According to historical evidence, tempeh was first made in Bayat, Klaten, Central Java, and was commonly consumed around 1700.
The invention of tempeh seems to have arisen through the serendipitous introduction to stored soybeans of the fungus, which is crucial in tempeh's fermentation. This fungus grows on teakwood and sea hibiscus leaves, which native Javanese people often used (and still do) as food wrappings. In fact, in traditional tempeh making, an (a mycelium-filled leaf) is used, instead of store-bought .
The type of soybean first used to make tempeh was the black soybean, which was a native plant. This later changed with the importation of white or yellow soybeans and the rise of the tofu industry on the island.
While tempeh has not been prominent far from its region of origin, it was reported to have "suddenly taken off" in the United Kingdom in 2025, with annual sales of one brand increasing by 736% (and another by 128%). In North America, a compound growth rate of 6.1% is expected in the tempeh market from 2024-2030, reaching $1519.8 million by 2030.
Debate over origins Murdijati Gardjito, a food historian at Gadjah Mada University, argued that tempeh was made by native Javanese people and that its preparation predates the introduction of Chinese-style tofu products. Some ancient texts mention , old Javanese for 'native soybean tempeh'; was used to refer to the native soybean variety. White soybeans that are used to make most today used to be called ('white soybeans'), and were only available in Java centuries later. Mary Astuti, a food historian at Gadjah Mada University specializing in tempeh, argued that the native variety of soybean had been grown before the Chinese arrived in the region.
Sri Tandjung noted that Javanese had been eating cooked (native black) soybeans since the 12th century. By the 16th or the 19th century, depending on which period of time the writer of Serat Centhini referred to, Javanese people had mastered the art of cooking with tempeh, when it was not only eaten as is, but converted into different types of dishes, showing a full understanding and mastery of the food product.
Gardjito noted that Javanese noble families rarely wrote about tempeh in ancient texts because it had never been a part of royal cuisine, but rather a staple food of the lower classes.
Indonesian historian Ong Hok Ham suggests that tempeh might have been produced as a byproduct of , the Indonesian word for tofu. He argued that the two food products are made of the same ingredient and that genetically speaking, soybeans are from China, though the specific variety was never mentioned. Food journalist Andreas Maryoto supported this idea, saying that tempeh might have been accidentally produced as the by-product of the tofu industry in Java in the 17th century, as discarded soybeans caught the spores of a whitish fungus that was found to be edible. In 2025, Zaelani formalized this as the "Okara-Tempe Hypothesis", proposing that tempeh originated from okara (tofu residue) that was naturally fermented before being adapted to whole soybeans.
However, was (and is still) made of white soybeans (Glycine max, native to Japan and China), as opposed to the earliest version of that was made of native black soybeans (Glycine soja).
(tofu) made its way to Kediri in the 13th century and was consumed by the Mongolians who arrived in Java. Later, it was popular only among the rich (the complex production process and imported white soybeans led to its high price). Around the 17th or 19th century, became available to everyone.
Tempeh later began to be made with white soybeans, leading to the decreased use of its native black variety. Black soybeans have been replaced by other commodity plants since. The original version of has been forgotten as has become the common people's food, and dependence on imported white soybeans grows.
Production
Tempeh begins with whole soybeans, which are softened by soaking, dehulled, then partly cooked. Specialty tempeh may be made from other types of beans, wheat, or may include a mixture of beans and whole grains. Adding vinegar during soybeans soaking process had also been reported in tempeh industries and it had been found to influence the sensory nature of the final product.
The principal step in making tempeh is the fermentation of soybeans which undergo inoculation with Rhizopus spp. molds, a type of filamentous fungus most widely used for the production of tempeh. A fermentation starter containing the spores of fungus Rhizopus oligosporus or Rhizopus oryzae is mixed in. The beans are spread into a thin layer and are allowed to ferment for 24 to 36 hours at a temperature around 30°C (86°F). The soybeans have to cool down to allow spore germination and abundant growth of mycelium. Later, the temperature of the beans will naturally rise and rapid mold growth happens for around 4 hours. As mold growth declines, the soybeans should be bound into a solid mass by the mycelium. In good tempeh, the beans are knitted together by a mat of white mycelium. Typically, tempeh is harvested after 48 hours of fermentation with its distinguishable whitish color, firm texture, and nutty flavor. Extended fermentation time results in an increase in pH and undesirable color darkening in the tempeh.
During the fermentation process, optimal time of fermentation, temperature, oxygen, humidity, and pH levels are required to encourage the growth of the Rhizopus mold, while discouraging the growth of undesired microorganisms. The pH level should be kept around 3 -5 by adding a mild acidulant such as vinegar, lactic acid, or acetic acid, thereby favoring mold growth and restricting the growth of spoilage microorganisms. Oxygen is required for Rhizopus spp. growth, but should be maintained at low levels to prevent the production of undesired microorganisms. Under conditions of lower temperature, or higher ventilation, gray or black patches of spores may form on the surface—this is not harmful, and should not affect the flavor or quality of the tempeh. This sporulation is normal on fully mature tempeh. A mild ammonia smell may accompany good tempeh as it ferments, but it should not be overpowering.
Traditional tempeh is often produced in Indonesia using Hibiscus tiliaceus leaves. The undersides of the leaves are covered in downy hairs (known technically as trichomes) to which the mold Rhizopus oligosporus can be found adhering in the wild. Soybeans are pressed into the leaf, and stored. Fermentation occurs resulting in tempeh. In particular, the tempeh undergoes salt-free aerobic fermentation.
Tempeh made with traditional inoculation methods are also more likely to include molds of other species including Rhizopus arrhizus and Rhizopus delemar which may outcompete Rhizopus oligosporus as the dominant mold. This results in white woolly appearance and more pleasant aroma compared with tempeh made with commercial starter containing only Rhizopus oligosporus. Famously these variant tempeh are found in Malang and Purwokerto in the 1960s, because Malang is located in a cool plateau, and tempeh made with Rhizopus oligosporus resulted in less compact and more alcoholic-smelling tempeh, while Rhizopus arrhizus required lower optimum temperature which made it more ideal. However the widespread use of commercial starter resulted in most tempeh in Java only containing Rhizopus oligosporus, with few traditionally made tempeh outside Java still containing Rhizopus arrhizus and Rhizopus delemar.
Dry matter losses and yield During the processing of soybeans to make tempeh there are inevitable losses of material due to the removal of the hulls and the leaching of soluble compounds during the soaking, washing and cooking stages. Hulls constitute about 8% of the dry beans and losses due to the leaching of soluble compounds equate to 12 - 17% of the dry beans. The oligosaccharides, stachyose, raffinose and sucrose, can constitute up to 50% of the soluble materials lost. During the fermentation there is some further loss of material due to respiration by the mold and the oxidation of compounds to carbon dioxide and water. Reported losses of dry matter during the fermentation range from 2.1 to 10%. Hence, the overall yield of tempeh is in the range of 72-78 g tempeh per 100 g soybeans on a dry matter basis. In practical terms, this means that 100 g dry soybeans (7-9% moisture content) will yield about 170 to 210 g fresh tempeh (61-64% moisture content).
Determining quality Once tempeh is produced, it is divided into three categories based on its quality: good, unfinished, and inedible. Good tempeh includes beans that are bound into a firm, compact cake by a dense, uniform, white mycelium, which should permeate the entire cake; the beans should be barely visible. The odor of good tempeh should be pleasant, clean, subtly sweet or resemble the aroma of mushrooms. The entire tempeh should lift as a single, cohesive cake without crumbling when shaken gently. Unfinished tempeh has beans that are bound together loosely by a sparse white mycelium, hence it crumbles easily. Unfinished tempeh should be incubated longer unless it has been incubated more than eight hours past the recommended time. If it has been incubated for enough time and still remains unfinished, it should be discarded. Inedible tempeh has beans with foul odor, resembling strong ammonia or alcohol, indicating the development of undesirable bacteria due to excess moisture or overheating. Inedible tempeh cake is wet, slimy, and mushy with a collapsed structure. Its color is tan to brown and mold develops in sparse patches.
Packaging