Piper cubeba, cubeb or tailed pepper is a plant in genus Piper, cultivated for its fruit and essential oil. It is mostly grown in Java and Sumatra, hence sometimes called Java pepper. The fruits are gathered before they are ripe, and carefully dried. Commercial cubebs consist of the dried berries, similar in appearance to black pepper, but with stalks attached – the "tails" in "tailed pepper". The dried pericrap is wrinkled, and its color ranges from grayish brown to black. The seeds is hard, white and oily. The odor of cubebs is described as agreeable and aromatics and the taste as pungent, acrid, slightly bitter and persistent. It has been described as tasting like allspice, or like a cross between allspice and black pepper.
In India, the ancient texts of Ayurveda include cubeb in various remedies. Charaka and Sushruta prescribe a cubeb paste as a mouthwash, and the use of dried cubebs internally for oral and dental diseases, loss of voice, halitosis, fevers, and cough. Unani physicians use a paste of the cubeb berries externally on male and female genitals to intensify sexual pleasure during coitus. Due to this attributed property, cubeb was called "Habb-ul-Uruus"