Lepet is made by steaming the ketan (sticky rice) until half cooked in coconut milk then mixed with pandan leaf and salt until all of the coconut milk is absorbed into the sticky rice. Then the half-cooked coconut milk sticky rice is mixed further with grated coconut flesh and peanuts then wrapped inside janur (young yellowish coconut leaf) in a cylindrical-shape and secured with strings made from coconut leaf fibers (or any kind of strings). The rice packages inside the coconut leaf are then steamed further until completely cooked. The most common filling is peanuts, however other kinds of beans such as kidney beans, cowpeas, jack beans, or corn might also be used.
In Sumatra, Indonesia and the Malay Peninsula there is a similarly named food known as lepat, although the recipe and method are slightly different as lepat uses palm sugar and grated coconut flesh fillings which are wrapped inside a banana leaf instead of a young coconut leaf.